Sha256: 5372e48424cfc8d62a22c877e4e0e89790762c70fc7745f4c7d2dc14c83f458c

Contents?: true

Size: 426 Bytes

Versions: 5

Compression:

Stored size: 426 Bytes

Contents

module CurationConcerns
  module RequiredMetadata
    extend ActiveSupport::Concern

    included do
      property :depositor, predicate: ::RDF::URI.new('http://id.loc.gov/vocabulary/relators/dpt'), multiple: false do |index|
        index.as :symbol, :stored_searchable
      end
      property :title, predicate: ::RDF::Vocab::DC.title do |index|
        index.as :stored_searchable, :facetable
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
curation_concerns-models-0.8.0 app/models/concerns/curation_concerns/required_metadata.rb
curation_concerns-models-0.7.0 app/models/concerns/curation_concerns/required_metadata.rb
curation_concerns-models-0.6.0 app/models/concerns/curation_concerns/required_metadata.rb
curation_concerns-models-0.5.0 app/models/concerns/curation_concerns/required_metadata.rb
curation_concerns-models-0.4.0 app/models/concerns/curation_concerns/required_metadata.rb