Data Type

 

ATTENTION: THIS PAGE IS Valid HTML 5 AND IS BEST VIEWED WITH HTML 5 - Please upgrade your browser or download one of the HTML 5 compatible browsers such as Mozilla Firefox, Chrome, Opera or IE 9 (March 14, 2011 or later). For more information see HTML 5 browsers.


If you find this helpful, please click the Google +1 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.)


PDF mobile

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
PropertyTypeDescription
Properties from Thing
nametextrequired the name of the establishment
descriptiontexta short description of the establishment
urlURLURL of a web page (itemtype="http://schema.org/WebPage") about (itemprop="about") the establishment
imageURLURL 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>
Examples

Valid HTML 5