Project

General

Profile

« Previous | Next » 

Revision 1d1c93d5

Added by koszko over 1 year ago

specify full schema URL in instances

View differences:

api_resource_description-1.schema.json
9 9
	"$ref": "./common_definitions-1.schema.json#/definitions/item_definition"
10 10
    }, {
11 11
	"type": "object",
12
	"required": ["$schema"],
12 13
	"properties": {
14
	    "$schema": {
15
		"description": "Mark this instance as conforming to resource description schema 1.x",
16
		"type": "string",
17
		"pattern": "^https://hydrilla\\.koszko\\.org/schemas/api_resource_description-1\\.([1-9][0-9]*\\.)*schema\\.json$"
18
	    },
13 19
	    "scripts": {
14 20
		"description": "Which files are resource's scripts and need to be installed",
15 21
		"$ref": "./common_definitions-1.schema.json#/definitions/file_ref_list_sha256",

Also available in: Unified diff