Skip to content

make collection+item example more self-contained #478

Closed
@dlax

Description

@dlax

Follow-up on review comments in PR #464 (https://github.com/json-schema-org/json-schema-spec/pull/464/files#r148458346 and https://github.com/json-schema-org/json-schema-spec/pull/464/files#r148459558 in particular).

Currently the collection+item example section is not self-contained as it implicitly refers to a JSON Hyper Schema defined three sections above (the "thing" schema in section 9.2). I'd suggest this "thing" schema to be repeated in the collections example, or inlined in the "thing-collection" example so that one can read and understand the section as a self-contained example. Alternatively, we might add a reference to another example, but this would arguably be more disruptive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions