summaryrefslogtreecommitdiff
path: root/jsonschema/schemas/draft2020-12/meta-data.json
diff options
context:
space:
mode:
Diffstat (limited to 'jsonschema/schemas/draft2020-12/meta-data.json')
-rw-r--r--jsonschema/schemas/draft2020-12/meta-data.json37
1 files changed, 37 insertions, 0 deletions
diff --git a/jsonschema/schemas/draft2020-12/meta-data.json b/jsonschema/schemas/draft2020-12/meta-data.json
new file mode 100644
index 0000000..05cbc22
--- /dev/null
+++ b/jsonschema/schemas/draft2020-12/meta-data.json
@@ -0,0 +1,37 @@
+{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "$id": "https://json-schema.org/draft/2020-12/meta/meta-data",
+ "$vocabulary": {
+ "https://json-schema.org/draft/2020-12/vocab/meta-data": true
+ },
+ "$dynamicAnchor": "meta",
+
+ "title": "Meta-data vocabulary meta-schema",
+
+ "type": ["object", "boolean"],
+ "properties": {
+ "title": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "default": true,
+ "deprecated": {
+ "type": "boolean",
+ "default": false
+ },
+ "readOnly": {
+ "type": "boolean",
+ "default": false
+ },
+ "writeOnly": {
+ "type": "boolean",
+ "default": false
+ },
+ "examples": {
+ "type": "array",
+ "items": true
+ }
+ }
+}