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

JSON properties use singular names even when type is array #24

Open
JDziurlaj opened this issue May 15, 2024 · 0 comments
Open

JSON properties use singular names even when type is array #24

JDziurlaj opened this issue May 15, 2024 · 0 comments

Comments

@JDziurlaj
Copy link
Collaborator

Organization Name: The Turnout

Organization Type: 1 (CTR)

Document: All JSON Schemas

Comment (Include rationale for comment): The JSON schema uses the property names from the UML model as-is. This leads to creating arrays with singular names. E.g. Contest is an array containing zero or more objects.

Suggested Change: Consider whether these properties should be pluralized. We do pluralize names in other places, such as when a directed reference can point to multiple objects (Ids vs Id suffix).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant