If you find this helpful, please click the Google Button to the left, if it is white, to make it turn blue or red. Thank you! (It also helps find this page again more easily.) |
Data Type
The Data Type schema is used for the item types shown in bold below in the microdata type hierarchy:
Primitive Data Types
- DataType
-
- Boolean
- Value: either True or False
- Date
- Value: a date in ISO 8601 date format
- Number
-
- Integer
- Value: a decimal integer
- Float
- Value: a floating point decimal number
- Text
- Value: text
-
- URL
- Value: a URL
Other Data Types
- Thing
-
- Intangible
-
- Enumeration
-
- BookFormatType
- Value: one of EBook, Hardcover or Paperback
- ItemAvailability
- Value: one of PreOrder, InStock, OutOfStock, Discontinued, InStoreOnly, OutlineOnly
- OfferItemCondition
- Value: one of NewCondition, UsedCondition, RefurbishedCondition, DamagedCondition
- Language
- Value: a natural language such as English, French or Spanish or a programming language such as Java or COBOL
- Quantity
-
- Distance
- Value: a number followed by a unit of length measurement
- Duration
- Value: a duration in ISO 8601 format
- Energy
- Value: a number followed by a unit of energy measurement
- Mass
- Value: a number followed by a unit of weight measurement
- StructuredValue
-
- ContactPoint
-
- Postal Address
- Value:
- GeoCoordinates
- Value:
- GeoShape
- Value:
- NutritionInformation
- Value:
Properties
Property | Type | Description |
---|---|---|
Properties from Thing | ||
name | text | required the name of the establishment |
description | text | a short description of the establishment |
url | URL | URL of a web page (itemtype="http://schema.org/WebPage") about (itemprop="about") the establishment |
image | URL | URL of a picture of the establihsment |
Template
<div itemscope="itemscope" itemtype="http://schema.org/<#SchemaName#>"> <span itemprop="name"><#Establishment Name#></span> <span itemprop="description"><#Description of the establishment#></span> <a href="<#http://www.ExampleOnly.com/path/file-name.html#>"><#http://www.ExampleOnly.com/path/file-name.html#></a> <img src="<#http://www.ExampleOnly.com/images/image-name.png#>" alt=""/> </div>