Sha256: 41b2365b53da30db890efd438b2856186569f1a4a408a1273a41bda8f4271a2d

Contents?: true

Size: 544 Bytes

Versions: 1

Compression:

Stored size: 544 Bytes

Contents

# frozen_string_literal: true

require 'schema_dot_org'

#
# Model the Schema.org `ItemList`.  See https://schema.org/ItemList
#
module SchemaDotOrg
  class ItemList < SchemaType
    validated_attr :itemListElement,   type: Array,    presence: true
    validated_attr :itemListOrder,     type: String,   allow_nil: true
    validated_attr :numberOfItems,     type: Integer,  allow_nil: true

    validated_attr :url,               type: String,   allow_nil: true
    validated_attr :image,             type: String,   allow_nil: true
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
schema_dot_org-2.2.1 lib/schema_dot_org/item_list.rb