-
Notifications
You must be signed in to change notification settings - Fork 0
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
Collections / List endpoints should return JSON-LD #2
Comments
Why |
@nickevansuk this looks good to me. And the |
@civsiv it being singular would be consistent with e.g. |
But we use |
Great! Yes good spot: all schema.org props are singular (see https://www.w3.org/wiki/WebSchemas/Singularity for rationale), the previous prototype was incorrect in this regard. |
Use Case
Provide a pattern for listing resources while querying a resource collection.
Proposal
Use Hydra Collections, except instead of using the "
member
" property for the list of resources, use "item
", as the term "member
" has a specific meaning within the sport and physical activity sector, anditem
is consistent with the existingtotalItems
property.Example
See also
The text was updated successfully, but these errors were encountered: