Sha256: 0ad513de80bfa851128c717c456789061b5e1441c922535454d47227d70f46db

Contents?: true

Size: 1000 Bytes

Versions: 9

Compression:

Stored size: 1000 Bytes

Contents

module Hydra::Works::Characterization
  class BaseSchema < ActiveTriples::Schema
    property :filename, predicate: RDF::Vocab::EBUCore.filename, multiple: false
    property :format_label, predicate: RDF::Vocab::PREMIS.hasFormatName
    property :file_size, predicate: RDF::Vocab::EBUCore.fileSize
    property :well_formed, predicate: RDF::URI.new("http://projecthydra.org/ns/fits/wellFormed")
    property :valid, predicate: RDF::URI.new("http://projecthydra.org/ns/fits/valid")
    property :date_created, predicate: RDF::Vocab::EBUCore.dateCreated
    property :last_modified, predicate: RDF::Vocab::EBUCore.dateModified
    property :fits_version, predicate: RDF::Vocab::PREMIS.hasCreatingApplicationVersion
    property :exif_version, predicate: RDF::Vocab::EXIF.exifVersion
    property :original_checksum, predicate: RDF::Vocab::NFO.hashValue
    property :mime_type, predicate: RDF::Vocab::EBUCore.hasMimeType, multiple: false do |index|
      index.as :stored_searchable
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
hydra-works-0.9.0 lib/hydra/works/characterization/schema/base_schema.rb
hydra-works-0.8.1 lib/hydra/works/characterization/schema/base_schema.rb
hydra-works-0.8 lib/hydra/works/characterization/schema/base_schema.rb
hydra-works-0.7.1 lib/hydra/works/characterization/schema/base_schema.rb
hydra-works-0.7.0 lib/hydra/works/characterization/schema/base_schema.rb
hydra-works-0.6.0 lib/hydra/works/characterization/schema/base_schema.rb
hydra-works-0.5.0 lib/hydra/works/characterization/schema/base_schema.rb
hydra-works-0.4.0 lib/hydra/works/characterization/schema/base_schema.rb
hydra-works-0.3.0 lib/hydra/works/characterization/schema/base_schema.rb