1
|
{
|
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
3
|
"$id": "https://hydrilla.koszko.org/schemas/api_mapping_description-1.0.1.schema.json",
|
4
|
"title": "Mapping description",
|
5
|
"description": "Definition of a Hydrilla mapping, as served through HTTP API",
|
6
|
"allOf": [{
|
7
|
"$ref": "./common_definitions-1.0.1.schema.json#/definitions/mapping_definition_base"
|
8
|
}, {
|
9
|
"$ref": "./common_definitions-1.0.1.schema.json#/definitions/item_definition"
|
10
|
}, {
|
11
|
"type": "object",
|
12
|
"required": ["$schema"],
|
13
|
"properties": {
|
14
|
"$schema": {
|
15
|
"description": "Mark this instance as conforming to mapping description schema 1.x",
|
16
|
"type": "string",
|
17
|
"pattern": "^https://hydrilla\\.koszko\\.org/schemas/api_mapping_description-1\\.(([1-9][0-9]*|0)\\.)*schema\\.json$"
|
18
|
}
|
19
|
}
|
20
|
}]
|
21
|
}
|