The Wild Ideas Wishlist - sgpinkus/json-schema GitHub Wiki
JSON-SCHEMA-ORG/JSON-SCHEMA-SPEC REPOSITORY.
THIS WIKI IS OBSOLETE. PLEASE SEE THE NEWVersion 4 isn't taking any more features in, so this page exists to hold any and all suggestions for the next version.
This is not a list of features that are expected to be in a future version. It's a place to put these ideas until version 4 is out the door, to come back to and think about later.
General
- Schema templating (discussion)
- Internationalisation (specifying language of current resource, linked resources)
- Accessibility (what issues might there be?)
- "Informative" keywords (a bit like
format
- non-validation, but informative for processing) (issue) patternGroups
- replacespatternProperties
, enabling min/max, etc.
Validation features
- Schema merging (e.g. extending
"enum"
options, overriding"additionalProperties"
, etc) - Storage-specific number types (e.g.
uint32
,long
,byte
) - define as"type"
or"format"
?
Hyper-schema/-media features
- Separate map for template variables (more flexibility, including JSON Pointer support)
- Templating of
"rel"
,"mediaType"
or others (possible syntax:{"rel": {"template": "{relVar}"}}
) - would allow fully-functional meta-schema for link format, as well as allowing us to fully describe other linking formats such as HAL. "invalidates"
keyword in LDOs