| 1 |
{ |
| 2 |
"$schema": "https://json-schema.org/draft/2019-09/schema", |
| 3 |
"$id": "https://json-schema.org/draft/2019-09/meta/core", |
| 4 |
"$recursiveAnchor": true, |
| 5 |
|
| 6 |
"title": "Core vocabulary meta-schema", |
| 7 |
"type": ["object", "boolean"], |
| 8 |
"properties": { |
| 9 |
"$id": { |
| 10 |
"type": "string", |
| 11 |
"format": "uri-reference", |
| 12 |
"$comment": "Non-empty fragments not allowed.", |
| 13 |
"pattern": "^[^#]*#?$" |
| 14 |
}, |
| 15 |
"$schema": { |
| 16 |
"type": "string", |
| 17 |
"format": "uri" |
| 18 |
}, |
| 19 |
"$anchor": { |
| 20 |
"type": "string", |
| 21 |
"pattern": "^[A-Za-z][-A-Za-z0-9.:_]*$" |
| 22 |
}, |
| 23 |
"$ref": { |
| 24 |
"type": "string", |
| 25 |
"format": "uri-reference" |
| 26 |
}, |
| 27 |
"$recursiveRef": { |
| 28 |
"type": "string", |
| 29 |
"format": "uri-reference" |
| 30 |
}, |
| 31 |
"$recursiveAnchor": { |
| 32 |
"type": "boolean", |
| 33 |
"default": false |
| 34 |
}, |
| 35 |
"$vocabulary": { |
| 36 |
"type": "object", |
| 37 |
"propertyNames": { |
| 38 |
"type": "string", |
| 39 |
"format": "uri" |
| 40 |
}, |
| 41 |
"additionalProperties": { |
| 42 |
"type": "boolean" |
| 43 |
} |
| 44 |
}, |
| 45 |
"$comment": { |
| 46 |
"type": "string" |
| 47 |
}, |
| 48 |
"$defs": { |
| 49 |
"type": "object", |
| 50 |
"additionalProperties": { "$recursiveRef": "#" }, |
| 51 |
"default": {} |
| 52 |
} |
| 53 |
} |
| 54 |
} |