Sha256: cbbed370cf496571c55b5b6c1181f6d37a10f80c00f75c9b7082a0e7952f5cee
Contents?: true
Size: 697 Bytes
Versions: 1
Compression:
Stored size: 697 Bytes
Contents
require 'mida_vocabulary/vocabulary' module Mida module SchemaOrg autoload :CreativeWork, 'mida_vocabulary/vocabularies/schemaorg/creativework' autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing' autoload :Dataset, 'mida_vocabulary/vocabularies/schemaorg/dataset' # A collection of datasets. class DataCatalog < Mida::Vocabulary itemtype %r{http://schema.org/DataCatalog}i include_vocabulary Mida::SchemaOrg::CreativeWork include_vocabulary Mida::SchemaOrg::Thing # A dataset contained in a catalog. has_many 'dataset' do extract Mida::SchemaOrg::Dataset 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/datacatalog.rb |