Sha256: 59a1acc8151b2cc21322ea171d45b5af024d38f4f954ed974dd0c1f5b7bccd0e

Contents?: true

Size: 734 Bytes

Versions: 1

Compression:

Stored size: 734 Bytes

Contents

require 'mida_vocabulary/vocabulary'

module Mida
  module SchemaOrg

    autoload :Action, 'mida_vocabulary/vocabularies/schemaorg/action'
    autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
    autoload :Language, 'mida_vocabulary/vocabularies/schemaorg/language'

    # The act of authoring written creative content.
    class WriteAction < Mida::Vocabulary
      itemtype %r{http://schema.org/WriteAction}i
      include_vocabulary Mida::SchemaOrg::Action
      include_vocabulary Mida::SchemaOrg::Thing

      # A sub property of instrument. The language used on this action.
      has_many 'language' do
        extract Mida::SchemaOrg::Language
        extract Mida::DataType::Text
      end
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mida_vocabulary-0.2.2 lib/mida_vocabulary/vocabularies/schemaorg/writeaction.rb