Description
The schemas provided in this repo store reusable definitions in the definitions field:
|
"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.
Description
The schemas provided in this repo store reusable definitions in the
definitionsfield:resume-schema/schema.json
Lines 5 to 11 in 50798e3
The official standard specifies
$defsfield 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#defsSolution
Rename "definitions" to "$defs" and update references.