| 1 | { |
| 2 | "$schema": "https://json-schema.org/draft/2019-09/schema", |
| 3 | "$id": "https://json-schema.org/draft/2019-09/meta/meta-data", |
| 4 | "$vocabulary": { |
| 5 | "https://json-schema.org/draft/2019-09/vocab/meta-data": true |
| 6 | }, |
| 7 | "$recursiveAnchor": true, |
| 8 | |
| 9 | "title": "Meta-data vocabulary meta-schema", |
| 10 | |
| 11 | "type": ["object", "boolean"], |
| 12 | "properties": { |
| 13 | "title": { |
| 14 | "type": "string" |
| 15 | }, |
| 16 | "description": { |
| 17 | "type": "string" |
| 18 | }, |
| 19 | "default": true, |
| 20 | "deprecated": { |
| 21 | "type": "boolean", |
| 22 | "default": false |
| 23 | }, |
| 24 | "readOnly": { |
| 25 | "type": "boolean", |
| 26 | "default": false |
| 27 | }, |
| 28 | "writeOnly": { |
| 29 | "type": "boolean", |
| 30 | "default": false |
| 31 | }, |
| 32 | "examples": { |
| 33 | "type": "array", |
| 34 | "items": true |
| 35 | } |
| 36 | } |
| 37 | } |