1
|
{
|
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
3
|
"$id": "https://hydrilla.koszko.org/schemas/api_resource_description-1.schema.json",
|
4
|
"title": "Resource description",
|
5
|
"description": "Definition of a Hydrilla resource, as served through HTTP API",
|
6
|
"allOf": [{
|
7
|
"$ref": "./common_definitions-1.schema.json#/definitions/resource_definition_base"
|
8
|
}, {
|
9
|
"$ref": "./common_definitions-1.schema.json#/definitions/item_definition"
|
10
|
}, {
|
11
|
"type": "object",
|
12
|
"properties": {
|
13
|
"scripts": {
|
14
|
"description": "Which files are resource's scripts and need to be installed",
|
15
|
"$ref": "./common_definitions-1.schema.json#/definitions/file_ref_list_sha256",
|
16
|
"default": []
|
17
|
}
|
18
|
}
|
19
|
}]
|
20
|
}
|