W3C home > Mailing lists > Public > public-vocabs@w3.org > April 2014

Why does 'category' expect PhysicalActivityCategory?

From: Stefan Götz <res-vocabs@untief.org>
Date: Thu, 10 Apr 2014 18:49:15 +0200
Message-ID: <5346CB8B.9010403@untief.org>
To: public-vocabs@w3.org
The 'category' property [1] expects one of these types:

- PhysicalActivityCategory
- Text
- Thing

Why is it that it explicitly lists PhysicalActivityCategory in addition 
to Thing?

In the docs [2] it says:

 > In addition, whenever an expected type is specified, it is also fine
 > to embed an item that is a child type of the expected type.

As PhysicalActivityCategory is a child type of Thing, wouldn’t it be 
sufficient to list Thing?


[1] http://schema.org/category
[2] http://schema.org/docs/gs.html#schemaorg_expected
Received on Friday, 11 April 2014 12:18:51 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:29:39 UTC