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_resource_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_resource_description-1.schema.json')
-rw-r--r-- | api_resource_description-1.schema.json | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/api_resource_description-1.schema.json b/api_resource_description-1.schema.json index 9e47a44..b6a32cd 100644 --- a/api_resource_description-1.schema.json +++ b/api_resource_description-1.schema.json @@ -9,7 +9,13 @@ "$ref": "./common_definitions-1.schema.json#/definitions/item_definition" }, { "type": "object", + "required": ["$schema"], "properties": { + "$schema": { + "description": "Mark this instance as conforming to resource description schema 1.x", + "type": "string", + "pattern": "^https://hydrilla\\.koszko\\.org/schemas/api_resource_description-1\\.([1-9][0-9]*\\.)*schema\\.json$" + }, "scripts": { "description": "Which files are resource's scripts and need to be installed", "$ref": "./common_definitions-1.schema.json#/definitions/file_ref_list_sha256", |