Project

General

Profile

Download (1.8 KB) Statistics
| Branch: | Tag: | Revision:

hydrilla-json-schemas / package_source-1.schema.json @ c72c8438

1
{
2
    "$schema": "http://json-schema.org/draft-07/schema#",
3
    "$id": "https://hydrilla.koszko.org/package_source-1.schema.json",
4
    "title": "Package source",
5
    "description": "Definition of a Hydrilla source package",
6
    "type": "object",
7
    "required": [
8
	"source_schema_version",
9
	"source_name",
10
	"copyright",
11
	"upstream_url",
12
	"definitions"
13
    ],
14
    "properties": {
15
	"source_schema_version": {
16
	    "$ref": "./common_definitions-1.schema.json#/definitions/schema_version"
17
	},
18
	"source_name": {
19
	    "$ref": "./common_definitions-1.schema.json#/definitions/source_name"
20
	},
21
	"copyright":  {
22
	    "description": "Which files from the source package indicate its license terms and should be included in the distribution packages",
23
	    "$ref": "./common_definitions-1.schema.json#/definitions/file_ref_list"
24
	},
25
	"upstream_url": {
26
	    "description": "Where this software/work initially comes from",
27
	    "type": "string"
28
	},
29
	"comment": {
30
	    "$ref": "./common_definitions-1.schema.json#/definitions/comment"
31
	},
32
	"definitions": {
33
	    "description": "Definitions of site resources and pattern->payload mappings",
34
	    "type": "array",
35
	    "items": {
36
		"anyOf": [{
37
		    "$ref": "./common_definitions-1.schema.json#/definitions/resource_definition_base"
38
		}, {
39
		    "$ref": "./common_definitions-1.schema.json#/definitions/mapping_definition_base"
40
		}]
41
	    }
42
	},
43
	"additional_files": {
44
	    "description": "Files which should be included in the source archive produced by Hydrilla builder in addition to script and copyright files",
45
	    "$ref": "./common_definitions-1.schema.json#/definitions/file_ref_list",
46
	    "default": []
47
	},
48
	"reuse_generate_spdx_report": {
49
	    "description": "Should report.spdx be automatically generated for the package using REUSE tool",
50
	    "type": "boolean",
51
	    "default": false
52
	}
53
    }
54
}
(11-11/12)