lib/mida_vocabulary/vocabularies/schemaorg/replaceaction.rb in mida_vocabulary-0.2 vs lib/mida_vocabulary/vocabularies/schemaorg/replaceaction.rb in mida_vocabulary-0.2.2

- old
+ new

@@ -11,9 +11,21 @@ class ReplaceAction < Mida::Vocabulary itemtype %r{http://schema.org/ReplaceAction}i include_vocabulary Mida::SchemaOrg::UpdateAction include_vocabulary Mida::SchemaOrg::Action include_vocabulary Mida::SchemaOrg::Thing + + # A sub property of object. The object that is being replaced. + has_many 'replacee' do + extract Mida::SchemaOrg::Thing + extract Mida::DataType::Text + end + + # A sub property of object. The object that replaces. + has_many 'replacer' do + extract Mida::SchemaOrg::Thing + extract Mida::DataType::Text + end end end end