Sha256: bdb0c957aeb19bec28b80fd557006d20649e8a61ceb972b8294c322719366ca4

Contents?: true

Size: 755 Bytes

Versions: 2

Compression:

Stored size: 755 Bytes

Contents

require 'mida_vocabulary/vocabulary'

module Mida
  module SchemaOrg

    autoload :CreativeWork, 'mida_vocabulary/vocabularies/schemaorg/creativework'
    autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'

    # A web page. Every web page is implicitly assumed to be declared to be of type WebPage, so the various properties about that webpage, such as breadcrumb may be used. We recommend explicit declaration if these properties are specified, but if they are found outside of an itemscope, they will be assumed to be about the page
    class WebPage < Mida::Vocabulary
      itemtype %r{http://schema.org/WebPage}i
      include_vocabulary Mida::SchemaOrg::CreativeWork
      include_vocabulary Mida::SchemaOrg::Thing
    end

  end
end

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
mida_vocabulary-0.2 lib/mida_vocabulary/vocabularies/schemaorg/webpage.rb
mida_vocabulary-0.2 resources/schema.org/vocabularies/webpage.rb