Sha256: 7fd6a31098dfbf54a669bda26c09800ddd47ba65a3028b1c06a9e3d66ce9b6b7
Contents?: true
Size: 757 Bytes
Versions: 1
Compression:
Stored size: 757 Bytes
Contents
require 'mida_vocabulary/vocabulary' module Mida module SchemaOrg autoload :Article, 'mida_vocabulary/vocabularies/schemaorg/article' autoload :CreativeWork, 'mida_vocabulary/vocabularies/schemaorg/creativework' autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing' # A scholarly article in the medical domain. class MedicalScholarlyArticle < Mida::Vocabulary itemtype %r{http://schema.org/MedicalScholarlyArticle}i include_vocabulary Mida::SchemaOrg::Article include_vocabulary Mida::SchemaOrg::CreativeWork include_vocabulary Mida::SchemaOrg::Thing # The type of the medical article, taken from the US NLM MeSH publication type catalog. has_many 'publicationType' 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/medicalscholarlyarticle.rb |