Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schema style guide: Add guidance on restating normative rules enforced by the schema in field descriptions #267

Open
neelima-j opened this issue Mar 18, 2022 · 1 comment

Comments

@neelima-j
Copy link

Should descriptions that restate rules enforced by the schema use normative keywords?
Example:
Period

"Key events during a project or contracting process may have a known start date, end date, duration, or maximum extent (the latest date the period can extend to). In some cases, not all of these fields will have known or relevant values."

  • This description restates the properties of the Period object defined in the schema
  • Is it advisable to use the normative keyword MAY in this description or better to use a non-normative synonym?

The normative keyword is consistent with the schema and stating the fields in the description might be useful for less technical audiences, but then we have the properties of the period object stated in two places, once in the schema and once in the description field, so there is a risk of the description and the schema going out of sync and becoming contradictory.

I think it’s probably best to avoid restating information contained in the schema if possible, but where restatements do occur, should we use normative keywords or non-normative synonyms?

@jpmckinney
Copy link
Member

jpmckinney commented Mar 28, 2022

It is inadvisable for the description of a definition (like that of Period) to list the fields (like start date).

This definition ought to be rewritten to describe the semantics of period, not to list and repeat the rules for individual fields.

Since OCDS is fairly old and there was not much of a quality review for the initial version, you'll find this and other issues.

Please open an issue on the standard, and feel free to add some guidance to the handbook as above.

@jpmckinney jpmckinney changed the title Add guidance on restating normative rules enforced by the schema in field descriptions Schema style guide: Add guidance on restating normative rules enforced by the schema in field descriptions Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants