holmes-app / holmes-api

API for holmes website validation.
MIT License
17 stars 7 forks source link

Schema.org itemtype #13

Closed heynemann closed 10 years ago

heynemann commented 10 years ago

The page must have an "itemtype" attribute in the body with a value of "WebPage" or one of its children:

It should look like:

<body itemscope itemtype="http://schema.org/WebPage">

Violation: key: "absent.schema.itemscope" title: "itemscope attribute missing in body" description: "In order to conform to schema.org definition of a webpage, the body tag must feature an itemscope attribute." points: 10

key: "absent.schema.itemtype" title: "itemtype attribute missing in body" description: "In order to conform to schema.org definition of a webpage, the body tag must feature an itemtype attribute." points: 10

key: "invalid.schema.itemtype" title: "itemtype attribute is invalid" description: "In order to conform to schema.org definition of a webpage, the body tag must feature an itemtype attribute with a value of "http://schema.org/WebPage" or one of its more specific types (http://schema.org/WebPage)." points: 10