Sha256: 660f1b99488d12497d29c15ee336bfda666969f3cee6f594a9f89a836a6dfe26

Contents?: true

Size: 938 Bytes

Versions: 1

Compression:

Stored size: 938 Bytes

Contents

require 'mida_vocabulary/vocabulary'

module Mida
  module SchemaOrg

    autoload :PlayAction, 'mida_vocabulary/vocabularies/schemaorg/playaction'
    autoload :Action, 'mida_vocabulary/vocabularies/schemaorg/action'
    autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
    autoload :EntertainmentBusiness, 'mida_vocabulary/vocabularies/schemaorg/entertainmentbusiness'

    # The act of participating in performance arts.
    class PerformAction < Mida::Vocabulary
      itemtype %r{http://schema.org/PerformAction}i
      include_vocabulary Mida::SchemaOrg::PlayAction
      include_vocabulary Mida::SchemaOrg::Action
      include_vocabulary Mida::SchemaOrg::Thing

      # A sub property of location. The entertainment business where the action occurred.
      has_many 'entertainmentBusiness' do
        extract Mida::SchemaOrg::EntertainmentBusiness
        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/performaction.rb