Sha256: ae219c3947a8909b34286a48764f7a978f7969ff8c35eb7530ba2eb1d18f5082

Contents?: true

Size: 711 Bytes

Versions: 4

Compression:

Stored size: 711 Bytes

Contents

require 'mida_vocabulary/vocabulary'

module Mida
  module SchemaOrg

    autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
    autoload :CreativeWork, 'mida_vocabulary/vocabularies/schemaorg/creativework'
    autoload :MediaObject, 'mida_vocabulary/vocabularies/schemaorg/mediaobject'

    # An audio file.
    class AudioObject < Mida::Vocabulary
      itemtype %r{http://schema.org/AudioObject}i
      include_vocabulary Mida::SchemaOrg::Thing
      include_vocabulary Mida::SchemaOrg::CreativeWork
      include_vocabulary Mida::SchemaOrg::MediaObject

      # If this MediaObject is an AudioObject or VideoObject, the transcript of that object.
      has_many 'transcript'
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mida_vocabulary-0.1.3 lib/mida_vocabulary/vocabularies/schemaorg/audioobject.rb
mida_vocabulary-0.1.2 lib/mida_vocabulary/vocabularies/schemaorg/audioobject.rb
mida_vocabulary-0.1.1 lib/mida_vocabulary/vocabularies/schemaorg/audioobject.rb
mida_vocabulary-0.1 lib/mida_vocabulary/vocabularies/schemaorg/audioobject.rb