Sha256: b6ed243564ebf91607712e82c660cdcf258e3786fd11a4f639d1497c28a22394

Contents?: true

Size: 1.47 KB

Versions: 19

Compression:

Stored size: 1.47 KB

Contents

require "rdf/vocab"

module Ddr
  module Datastreams
    class AdministrativeMetadataDatastream < MetadataDatastream

      property :permanent_id,
               predicate: Ddr::Vocab::Asset.permanentId

      property :permanent_url,
               predicate: Ddr::Vocab::Asset.permanentUrl

      property :original_filename,
               predicate: Ddr::Vocab::PREMIS.hasOriginalName do |index|
        index.as :stored_sortable
      end

      property :workflow_state,
               predicate: Ddr::Vocab::Asset.workflowState

      property :access_role,
               predicate: Ddr::Vocab::Roles.hasRole,
               class_name: Ddr::Auth::Roles::Role

      property :local_id,
               predicate: RDF::Vocab::Identifiers.local

      property :admin_set,
               predicate: Ddr::Vocab::Asset.adminSet

      property :display_format,
               predicate: Ddr::Vocab::Display.format

      property :research_help_contact,
               predicate: Ddr::Vocab::Contact.assistance

      property :depositor,
               predicate: RDF::Vocab::MARCRelators.dpt

      property :doi,
               predicate: RDF::Vocab::Identifiers.doi

      property :license,
               predicate: RDF::DC.license

      property :ead_id,
               predicate: Ddr::Vocab::Asset.eadId

      property :aspace_id,
               predicate: Ddr::Vocab::Asset.archivesSpaceId

      property :is_locked,
               predicate: Ddr::Vocab::Asset.isLocked

    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
ddr-models-2.6.2 lib/ddr/datastreams/administrative_metadata_datastream.rb
ddr-models-2.6.1 lib/ddr/datastreams/administrative_metadata_datastream.rb
ddr-models-2.6.0 lib/ddr/datastreams/administrative_metadata_datastream.rb
ddr-models-2.6.0.rc4 lib/ddr/datastreams/administrative_metadata_datastream.rb
ddr-models-2.6.0.rc3 lib/ddr/datastreams/administrative_metadata_datastream.rb
ddr-models-2.6.0.rc2 lib/ddr/datastreams/administrative_metadata_datastream.rb
ddr-models-2.6.0.rc1 lib/ddr/datastreams/administrative_metadata_datastream.rb
ddr-models-2.5.3 lib/ddr/datastreams/administrative_metadata_datastream.rb
ddr-models-2.5.2 lib/ddr/datastreams/administrative_metadata_datastream.rb
ddr-models-2.5.1 lib/ddr/datastreams/administrative_metadata_datastream.rb
ddr-models-2.5.0 lib/ddr/datastreams/administrative_metadata_datastream.rb
ddr-models-2.5.0.rc1 lib/ddr/datastreams/administrative_metadata_datastream.rb
ddr-models-2.4.16 lib/ddr/datastreams/administrative_metadata_datastream.rb
ddr-models-2.4.15 lib/ddr/datastreams/administrative_metadata_datastream.rb
ddr-models-2.4.14 lib/ddr/datastreams/administrative_metadata_datastream.rb
ddr-models-2.4.13 lib/ddr/datastreams/administrative_metadata_datastream.rb
ddr-models-2.4.12 lib/ddr/datastreams/administrative_metadata_datastream.rb
ddr-models-2.4.11 lib/ddr/datastreams/administrative_metadata_datastream.rb
ddr-models-2.4.10 lib/ddr/datastreams/administrative_metadata_datastream.rb