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

Re: Why does 'category' expect PhysicalActivityCategory?

From: <martin.hepp@ebusiness-unibw.org>
Date: Fri, 11 Apr 2014 14:28:32 +0200
Cc: W3C Web Schemas Task Force <public-vocabs@w3.org>
Message-Id: <ED708506-F822-4A73-81C0-99BB15C7D46B@ebusiness-unibw.org>
To: Stefan Götz <res-vocabs@untief.org>
I think that is a remainder from the broadening of the property from the medical domain to Thing in the context of the integration of GoodRelations.

We could remove this particular one. 

However, as for the general case, I think it can be a good practice in schema.org to include more specific types in the domain or range specification, even if they are formally redundant when the domain or range is Thing or something equally broad, because this pattern may point developers to popular, more specific types.


On 10 Apr 2014, at 18:49, Stefan Götz <res-vocabs@untief.org> wrote:

> 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?
> Stefan
> [1] http://schema.org/category
> [2] http://schema.org/docs/gs.html#schemaorg_expected
Received on Friday, 11 April 2014 12:28:57 UTC

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