diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-02-14 10:45:18 +0100 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-02-14 10:45:18 +0100 |
commit | 1d1c93d5a9011ecdf58a4952afcb5a1faff30e76 (patch) | |
tree | 2e03dffe1fbd35c885948a9ca6276262f6534301 /api_mapping_description-1.schema.json | |
parent | b19171081e23bcccf9b41588c0464ca9c2c657c0 (diff) | |
download | hydrilla-json-schemas-1d1c93d5a9011ecdf58a4952afcb5a1faff30e76.tar.gz hydrilla-json-schemas-1d1c93d5a9011ecdf58a4952afcb5a1faff30e76.zip |
specify full schema URL in instances
Diffstat (limited to 'api_mapping_description-1.schema.json')
-rw-r--r-- | api_mapping_description-1.schema.json | 10 |
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$" + } + } }] } |