Sha256: 154923cdf73c5bc6789ec1c309c9b398a73fdebf4832ba6962fefaa248e8218f
Contents?: true
Size: 1.68 KB
Versions: 1
Compression:
Stored size: 1.68 KB
Contents
require 'mida_vocabulary/vocabulary' module Mida module SchemaOrg autoload :TransferAction, 'mida_vocabulary/vocabularies/schemaorg/transferaction' autoload :Action, 'mida_vocabulary/vocabularies/schemaorg/action' autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing' autoload :DeliveryMethod, 'mida_vocabulary/vocabularies/schemaorg/deliverymethod' autoload :Audience, 'mida_vocabulary/vocabularies/schemaorg/audience' autoload :Organization, 'mida_vocabulary/vocabularies/schemaorg/organization' autoload :Person, 'mida_vocabulary/vocabularies/schemaorg/person' # The act of physically/electronically taking delivery of an object thathas been transferred from an origin to a destination. Reciprocal of SendAction.Related actions:SendAction: The reciprocal of ReceiveAction.TakeAction: Unlike TakeAction, ReceiveAction does not imply that the ownership has been transfered (e.g. I can receive a package, but it does not mean the package is now mine). class ReceiveAction < Mida::Vocabulary itemtype %r{http://schema.org/ReceiveAction}i include_vocabulary Mida::SchemaOrg::TransferAction include_vocabulary Mida::SchemaOrg::Action include_vocabulary Mida::SchemaOrg::Thing # A sub property of instrument. The method of delivery has_many 'deliveryMethod' do extract Mida::SchemaOrg::DeliveryMethod end # A sub property of participant. The participant who is at the sending end of the action. has_many 'sender' do extract Mida::SchemaOrg::Audience extract Mida::SchemaOrg::Organization extract Mida::SchemaOrg::Person 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/receiveaction.rb |