W3C home > Mailing lists > Public > public-vocabs@w3.org > December 2011

[Feedback on schema.org] singular/plural for property names and multiple values

From: François Daoust <francois@joshfire.com>
Date: Wed, 14 Dec 2011 09:14:06 +0100
Message-ID: <CAFZhi7w3V4rtFxgqLr1dhYnAuaTHZzn-dBCBz5uxhnPQMBtRtA@mail.gmail.com>
To: public-vocabs@w3.org
[Note I send separate emails to keep separate discussions separate, my
intention is not to flood the list ;)]

The "Note on naming conventions" in the extension mechanism says:
[[ Properties that can take multiple values (such as parents) are
plural and those that can take only a single value (such as
dateOfBirth) are singular ]]

That triggers a question for e.g. Author, Contributor, Editor for a
CreativeWork. There may be more than a single value for these
property, yet they are in the singular form. Am I right to assume
that, even if the property is singular, it is good practice to specify
multiple values where it makes sense? (I get it does not make sense
for dateOfBirth for instance).

If so, could the documentation be perhaps clearer as to which
properties are expected to take multiple values and which are not?

Taking the latest technical report published by W3C as an example:

If that spec was to be marked up, there would be four "Editor".

Received on Wednesday, 14 December 2011 08:14:35 UTC

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