-
Notifications
You must be signed in to change notification settings - Fork 291
Open
Description
Description
The schemas provided in this repo store reusable definitions in the definitions field:
Lines 5 to 11 in 50798e3
| "definitions": { | |
| "iso8601": { | |
| "type": "string", | |
| "description": "Similar to the standard date type, but each section after the year is optional. e.g. 2014-06-29 or 2023-04", | |
| "pattern": "^([1-2][0-9]{3}-[0-1][0-9]-[0-3][0-9]|[1-2][0-9]{3}-[0-1][0-9]|[1-2][0-9]{3})$" | |
| } | |
| }, |
The official standard specifies $defs field instead, so the format used isn't compatible with that, which breaks usage with json schema compatible tooling: https://json-schema.org/understanding-json-schema/structuring#defs
Solution
Rename "definitions" to "$defs" and update references.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels