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

- old
+ new

@@ -9,9 +9,30 @@ # A part of a successively published publication such as a periodical or publication volume, often numbered, usually containing a grouping of works such as articles. class PublicationIssue < Mida::Vocabulary itemtype %r{http://schema.org/PublicationIssue}i include_vocabulary Mida::SchemaOrg::CreativeWork include_vocabulary Mida::SchemaOrg::Thing + + # Identifies the issue of publication; for example, "iii" or "2". + has_many 'issueNumber' do + extract Mida::DataType::Integer + extract Mida::DataType::Text + end + + # The page on which the work ends; for example "138" or "xvi". + has_many 'pageEnd' do + extract Mida::DataType::Integer + extract Mida::DataType::Text + end + + # The page on which the work starts; for example "135" or "xiii". + has_many 'pageStart' do + extract Mida::DataType::Integer + extract Mida::DataType::Text + end + + # Any description of pages that is not separated into pageStart and pageEnd; for example, "1-6, 9, 55" or "10-12, 46-49". + has_many 'pagination' end end end