Sha256: cd866f5ba26221813973fc7f29e5dc1d85c5c18f33555c2989cd375b5e9c2ecb

Contents?: true

Size: 726 Bytes

Versions: 6

Compression:

Stored size: 726 Bytes

Contents

module Hydra::Works::Characterization
  class AudioSchema < ActiveTriples::Schema
    property :bit_depth, predicate: RDF::Vocab::NFO.bitDepth
    property :channels, predicate: RDF::Vocab::NFO.channels
    property :data_format, predicate: RDF::Vocab::EBUCore.hasDataFormat
    property :frame_rate, predicate: RDF::Vocab::NFO.frameRate
    # bit_rate might be an array containing multiple values
    property :bit_rate, predicate: RDF::Vocab::EBUCore.bitRate
    property :duration, predicate: RDF::Vocab::NFO.duration
    property :sample_rate, predicate: RDF::Vocab::EBUCore.sampleRate
    # properties without cannonical URIs
    property :offset, predicate: RDF::URI('http://projecthydra.org/ns/audio/offset')
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hydra-works-2.2.0 lib/hydra/works/characterization/schema/audio_schema.rb
hydra-works-2.1.0 lib/hydra/works/characterization/schema/audio_schema.rb
hydra-works-2.0.0 lib/hydra/works/characterization/schema/audio_schema.rb
hydra-works-1.2.0 lib/hydra/works/characterization/schema/audio_schema.rb
hydra-works-1.1.0 lib/hydra/works/characterization/schema/audio_schema.rb
hydra-works-1.0.0 lib/hydra/works/characterization/schema/audio_schema.rb