Sha256: f73908c5fb7cf2e79795d8e58ced6bdb802359a48f43ab12f215ace66fc47fdc
Contents?: true
Size: 1.84 KB
Versions: 1
Compression:
Stored size: 1.84 KB
Contents
# Generated via # `rails generate curate::collection <%= class_name %>` require 'curate/metadata_datastream' class <%= class_name %>MetadataDatastream < Curate::MetadataDatastream register_vocabularies RDF::DC map_predicates do |map| map.title(in: RDF::DC) do |index| index.as :searchable, :displayable end map.contributor(in: RDF::DC) do |index| index.as :searchable, :facetable, :displayable end map.created(in: RDF::DC) map.creator(in: RDF::DC) do |index| index.as :searchable, :facetable, :displayable end map.description(in: RDF::DC) do |index| index.type :text index.as :searchable, :displayable end map.subject(in: RDF::DC) do |index| index.type :text index.as :searchable, :displayable end map.date_uploaded(to: "dateSubmitted", in: RDF::DC) do |index| index.type :date index.as :searchable, :displayable, :sortable end map.date_modified(to: "modified", in: RDF::DC) do |index| index.type :date index.as :searchable, :displayable, :sortable end map.issued({in: RDF::DC}) do |index| index.as :searchable, :displayable end map.available({in: RDF::DC}) map.publisher({in: RDF::DC}) do |index| index.as :searchable, :displayable, :facetable end map.bibliographic_citation({in: RDF::DC, to: 'bibliographicCitation'}) map.source({in: RDF::DC}) map.rights(:in => RDF::DC) do |index| index.as :searchable, :displayable, :facetable end map.access_rights({in: RDF::DC, to: 'accessRights'}) map.language({in: RDF::DC}) do |index| index.as :searchable, :facetable end map.content_format({in: RDF::DC, to: 'format'}) map.extent({in: RDF::DC}) map.requires({in: RDF::DC}) map.identifier({in: RDF::DC}) map.part(:to => "hasPart", in: RDF::DC) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
curate-0.1.1 | lib/generators/curate/curation_concern/templates/metadata_datastream.rb.erb |