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

Re: revisiting 'position', 'episodeNumber', 'seasonNumber' modeling and Periodicals

From: Dan Scott <dan@coffeecode.net>
Date: Tue, 12 Aug 2014 11:14:31 -0400
To: Dan Brickley <danbri@danbri.org>
Cc: "Evain, Jean-Pierre" <evain@ebu.ch>, Yves Raimond <yves.raimond@gmail.com>, David Marland <david.marland@bbc.co.uk>, public-vocabs <public-vocabs@w3.org>, Richard Wallis <Richard.Wallis@oclc.org>, Dan Scott <denials@gmail.com>
Message-ID: <20140812151429.GA8241@denials.laurentian.ca>
On Tue, Aug 12, 2014 at 02:01:32PM +0100, Dan Brickley wrote:

>Could we live with:
>
>1.) episodeNumber, seasonNumber, volumeNumber, issueNumber all get
>schema.org expected types of both "Text", "Integer"
>2.) we declare "position" as their common super-property, and give it
>the same expected range.
>3.) we add example(s) showing in JSON-LD and RDFa how a strict
>datatype of Integer can be written. For example,
>
>    {
>      "@type": "TVSeason",
>      "datePublished": "2006-05-14",
>      "episode": {
>        "@type": "TVEpisode",
>        "episodeNumber": "1",
>        "name": "Episode 1"
>      },
>      "name": "Season 2",
>      "numberOfEpisodes": "27"
>    }
>
>becomes
>
>    {
>      "@type": "TVSeason",
>      "datePublished": "2006-05-14",
>      "episode": {
>        "@type": "TVEpisode",
>        "episodeNumber": 1,
>        "name": "Episode 1"
>      },
>      "name": "Season 2",
>      "numberOfEpisodes": "27"
>    }
>
>Technically this would allow "episodeNumber" to take strings like
>"iii" but they could be distinguished from values like 3 if publishers
>preferred to use JSON-LD or RDFa.

I like it; I've added commits for suggestions 1 and 2 to my periodicals
branch at https://github.com/dbs/schemaorg/tree/periodical accordingly,
also making "position" have a domain of CreativeWork while I'm at it.

Thanks,
(the other) Dan
Received on Tuesday, 12 August 2014 15:15:05 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:49:34 UTC