Sha256: 6d05a7e373d65e3a399465a105d22d1c8c656e40a92b6b14296bdf1d2b695842
Contents?: true
Size: 1.32 KB
Versions: 1
Compression:
Stored size: 1.32 KB
Contents
require 'mida_vocabulary/vocabulary' module Mida module SchemaOrg autoload :CreativeWork, 'mida_vocabulary/vocabularies/schemaorg/creativework' autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing' # A part of a successively published publication such as a periodical or multi-volume work, often numbered. It may represent a time span, such as a year. class PublicationVolume < Mida::Vocabulary itemtype %r{http://schema.org/PublicationVolume}i include_vocabulary Mida::SchemaOrg::CreativeWork include_vocabulary Mida::SchemaOrg::Thing # 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' # Identifies the volume of publication or multi-part work; for example, "iii" or "2". has_many 'volumeNumber' do extract Mida::DataType::Integer 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/publicationvolume.rb |