summaryrefslogtreecommitdiff
path: root/api_mapping_description-1.schema.json
diff options
context:
space:
mode:
Diffstat (limited to 'api_mapping_description-1.schema.json')
-rw-r--r--api_mapping_description-1.schema.json10
1 files changed, 10 insertions, 0 deletions
diff --git a/api_mapping_description-1.schema.json b/api_mapping_description-1.schema.json
index 6b0e723..e37dd00 100644
--- a/api_mapping_description-1.schema.json
+++ b/api_mapping_description-1.schema.json
@@ -7,5 +7,15 @@
"$ref": "./common_definitions-1.schema.json#/definitions/mapping_definition_base"
}, {
"$ref": "./common_definitions-1.schema.json#/definitions/item_definition"
+ }, {
+ "type": "object",
+ "required": ["$schema"],
+ "properties": {
+ "$schema": {
+ "description": "Mark this instance as conforming to mapping description schema 1.x",
+ "type": "string",
+ "pattern": "^https://hydrilla\\.koszko\\.org/schemas/api_mapping_description-1\\.([1-9][0-9]*\\.)*schema\\.json$"
+ }
+ }
}]
}