Project

General

Profile

« Previous | Next » 

Revision 1d1c93d5

Added by koszko over 1 year ago

specify full schema URL in instances

View differences:

package_source-1.schema.json
5 5
    "description": "Definition of a Hydrilla source package",
6 6
    "type": "object",
7 7
    "required": [
8
	"source_schema_version",
8
	"$schema",
9 9
	"source_name",
10 10
	"copyright",
11 11
	"upstream_url",
12 12
	"definitions"
13 13
    ],
14 14
    "properties": {
15
	"source_schema_version": {
16
	    "$ref": "./common_definitions-1.schema.json#/definitions/schema_version"
15
	"$schema": {
16
	    "description": "Mark this instance as conforming to package source schema 1.x",
17
	    "type": "string",
18
	    "pattern": "^https://hydrilla\\.koszko\\.org/schemas/package_source-1\\.([1-9][0-9]*\\.)*schema\\.json$"
17 19
	},
18 20
	"source_name": {
19 21
	    "$ref": "./common_definitions-1.schema.json#/definitions/source_name"

Also available in: Unified diff