-
Notifications
You must be signed in to change notification settings - Fork 0
/
release-schema.json
89 lines (89 loc) · 3.15 KB
/
release-schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"definitions": {
"Planning": {
"properties": {
"project": {
"title": "Project information",
"description": "Information about the infrastructure or public-private partnership project to which the planning process is related.",
"$ref": "#/definitions/Project"
}
}
},
"Project": {
"title": "Project information",
"description": "Information about the infrastructure or public-private partnership project to which a planning process is related.",
"type": "object",
"properties": {
"id": {
"title": "Identifier",
"description": "An externally provided identifier for the project. This can be a URI, an identifier from a projects register, or based on the canonical version of the project's name. Project identifiers should be unique within the scope of the publication.",
"type": [
"string",
"null"
],
"minLength": 1
},
"title": {
"title": "Title",
"description": "The name of the project. If a projects register is available, this should be the same as the project's name in that register.",
"type": [
"string",
"null"
],
"minLength": 1
},
"description": {
"title": "Description",
"description": "A short description of the project.",
"type": [
"string",
"null"
],
"minLength": 1
},
"totalValue": {
"title": "Total value",
"description": "The total anticipated value of the project over its lifetime.",
"$ref": "#/definitions/Value"
},
"uri": {
"title": "URI",
"description": "The URI of a resource with additional information about the project.",
"type": [
"string",
"null"
],
"format": "uri"
},
"sector": {
"title": "Sector",
"description": "The primary sector to which the project relates. It is recommended to use the scheme 'oc4idsProjectSector' and codes from the [OC4IDS projectSector codelist](https://standard.open-contracting.org/infrastructure/latest/en/reference/codelists/#projectsector).",
"$ref": "#/definitions/Classification"
},
"additionalClassifications": {
"title": "Additional classifications",
"description": "Additional classifications for the project. For example, a sector or strategic framework classification.",
"type": "array",
"items": {
"$ref": "#/definitions/Classification"
},
"wholeListMerge": true,
"uniqueItems": true,
"minItems": 1
},
"locations": {
"title": "Locations",
"description": "Information about the locations where the project is taking place.",
"type": "array",
"items": {
"$ref": "#/definitions/Location"
},
"wholeListMerge": true,
"uniqueItems": true,
"minItems": 1
}
},
"minProperties": 1
}
}
}