class ActiveFedora::WithMetadata::DefaultSchema

Public Class Methods

legacy_ebucore_vocabulary() click to toggle source
# File lib/active_fedora/with_metadata/default_schema.rb, line 6
def self.legacy_ebucore_vocabulary
  @legacy_ebucore_vocabulary ||= Class.new(RDF::StrictVocabulary("http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#")) do
    property :filename,
      comment: %(The name of the file containing the Resource.).freeze,
      domain: "ebucore:Resource".freeze,
      label: "File name".freeze,
      range: "xsd:string".freeze,
      type: "rdf:Property".freeze
  end
end