Sha256: f00609f7862d4402443286438e2f7d30453e7d9e0edd45804f5e7b2ca7e8f7ff
Contents?: true
Size: 1.14 KB
Versions: 1
Compression:
Stored size: 1.14 KB
Contents
require 'mida_vocabulary/vocabulary' module Mida module SchemaOrg autoload :Audience, 'mida_vocabulary/vocabularies/schemaorg/audience' autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing' autoload :QuantitativeValue, 'mida_vocabulary/vocabularies/schemaorg/quantitativevalue' # A set of characteristics belonging to businesses, e.g. who compose an item's target audience. class BusinessAudience < Mida::Vocabulary itemtype %r{http://schema.org/BusinessAudience}i include_vocabulary Mida::SchemaOrg::Audience include_vocabulary Mida::SchemaOrg::Thing # The size of business by number of employees. has_many 'numberofEmployees' do extract Mida::SchemaOrg::QuantitativeValue extract Mida::DataType::Text end # The size of the business in annual revenue. has_many 'yearlyRevenue' do extract Mida::SchemaOrg::QuantitativeValue extract Mida::DataType::Text end # The age of the business. has_many 'yearsInOperation' do extract Mida::SchemaOrg::QuantitativeValue 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/businessaudience.rb |