Articulating cross-references in the schema #414
Labels
Schema: Validation
Relating to constraints in the JSON Schema
Schema
Relating to other changes in the JSON Schema (renamed fields, schema properties, etc.)
We have a number of points now where our schema requires cross-references.
E.g.
Looking at the discussions around JSON Schema v0.5 there are proposals for a $data validation keyword at json-schema-org/json-schema-spec#51
We should check on the status of this issue, and whether there is emerging consensus that it might be supported in JSON Schema in future before looking at whether we should include our own keywords for articulating cross-references in the schema.
(Note: we might only ever be able to warn on some references when validating releases, such as contract.awardID -> award.id - as I think it is valid for a release to just include the contract without the award, whilst the record would include both together)
The text was updated successfully, but these errors were encountered: