json-schema-spec
json-schema-spec copied to clipboard
The JSON Schema specification
While writing Section 10 on output, I was implementing the formatting in my library, Manatee.Json. In that library, I don't collect annotations in the same way as described in the...
Currently the JSON Schema specification allows to reference external files using a hyperlink. This is a very loose reference, specifically: > When an implementation encounters the reference to "other.json", it...
We often see use cases, where numeric values should have exactly `n` digits after decimal point. Example currency value should have 2 decimal places only: `{"price": 17.23}` Suggestion is to...
Is it possible to add an optional `units` to the schemas? For scientific data, that can be critical information to declare for a field and the schema seems a reasonable...
Json schema has [examples annotation](https://github.com/json-schema-org/json-schema-spec/blob/6c5b6729ce7482072404b09c02533291e9c528c7/jsonschema-validation.xml#L1223), which comes handy, when I would like to run a mock server for my api. Unfortunately the spec states, that the value of `examples` keyword...
I've noticed that people often think of `$vocabulary` as a very strange case of keyword, specifically asking why it is in the meta-schema and not the schema. The answer is...
As briefly discussed with @Relequestual, the spec. has two locations where it talks about and defines the process for bundling compound documents: [s.9.3](https://json-schema.org/draft/2020-12/json-schema-core.html#rfc.section.9.3) and [Appendix B.s.1](https://json-schema.org/draft/2020-12/json-schema-core.html#rfc.appendix.B.1) Even if these sections...
The URI used to represent the vocabulary (in the $vocabulary keyword) SHOULD resolve to a document (not a schema, but any sort of plain text document that describes the vocabulary...
We removed this cref regarding `$dynamicRef`/`$dynamicAnchor` from draft 2020-12. It appears to be wrong, but we haven't had enough eyes on it to be 100% sure and we don't want...
@Relequestual requested that some things be automated. One of those things included ensuring that an issue be associated with PRs. This is the issue associated with the PR that adds...