Class: ActiveFedora::WithMetadata::DefaultSchema

Inherits:
ActiveTriples::Schema
  • Object
show all
Defined in:
lib/active_fedora/with_metadata/default_schema.rb

Class Method Summary collapse

Class Method Details

.legacy_ebucore_vocabularyObject



6
7
8
9
10
11
12
13
14
15
# 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