json-schema-spec
json-schema-spec copied to clipboard
The JSON Schema specification
### Specification section https://json-schema.org/understanding-json-schema/structuring#dollarref ### What is unclear? In the Modular Schema Combination the `$ref` documentation section https://json-schema.org/understanding-json-schema/structuring#dollarref contains the following draft specific note: > In Draft 4-7, `$ref` behaves...
### Describe the inspiration for your proposal Currently, JSON Schema requires `additionalProperties: false` to be set explicitly on every object where I want to disallow extra properties. This gets repetitive...
I can't figure out how to set up mutual exclusion of subset schemas elegantly. I thought `unevaluatedProperties` was the solution so that I can easily reject properties of the superset...
### What kind of change does this PR introduce? ### Issue & Discussion References Replaces #1370 ### Summary > [!NOTE] > This is a resubmission of @awwright's #1370. Please refer...
### Specification section ? ### What is unclear? Please help us. Pydantic v2 started converting Python's `Optional[str]` type to `{"anyOf":[{"type":"string"}, {"type":"null"}]}` Json Schema instead of an optional string property.This breaks...
### Describe the inspiration for your proposal I have JSON schemata, which contain URIs to further data (mostly further JSON and/ or XML, sometimes ZIPed before). It would be helpful...
### Describe the inspiration for your proposal High-Level goal: I want to be able to consolidate and re-use what are practically-speaking a static set of property names or object keys...