generated from open-contracting/standard_extension_template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrelease-schema.json
94 lines (94 loc) · 2.84 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
90
91
92
93
94
{
"definitions": {
"Sustainability": {
"title": "Sustainability",
"description": "Information about how the contracting process or lot incorporates Sustainable Public Procurement.",
"type": "object",
"properties": {
"description": {
"title": "Description",
"description": "A description of how the contracting process or lot incorporates Sustainable Public Procurement.",
"type": [
"string",
"null"
],
"minLength": 1
},
"goal": {
"title": "Goal",
"description": "The sustainability goal pursued, from the sustainabilityGoal codelist. New sub-codes may be used outside those in the codelist, following the format [existing-code].[sub-code].",
"type": [
"string",
"null"
],
"codelist": "sustainabilityGoal.csv",
"openCodelist": true,
"minLength": 1
},
"strategies": {
"title": "Strategies",
"description": "The strategies used to pursue the sustainability goal(s), from the sustainabilityStrategy codelist.",
"type": [
"array",
"null"
],
"items": {
"type": "string",
"minLength": 1
},
"codelist": "sustainabilityStrategy.csv",
"openCodelist": true,
"uniqueItems": true,
"minItems": 1
}
},
"minProperties": 1
},
"Tender": {
"properties": {
"hasSustainability": {
"title": "Has sustainability",
"description": "Whether the contracting process incorporates Sustainable Public Procurement.",
"type": [
"boolean",
"null"
]
},
"sustainability": {
"title": "Sustainability",
"description": "Information about how the contracting process incorporates Sustainable Public Procurement.",
"type": "array",
"items": {
"$ref": "#/definitions/Sustainability"
},
"wholeListMerge": true,
"uniqueItems": true,
"minItems": 1
}
}
},
"Lot": {
"properties": {
"hasSustainability": {
"title": "Has sustainability",
"description": "Whether the lot incorporates Sustainable Public Procurement.",
"type": [
"boolean",
"null"
]
},
"sustainability": {
"title": "Sustainability",
"description": "Information about how the lot incorporates Sustainable Public Procurement.",
"type": "array",
"items": {
"$ref": "#/definitions/Sustainability"
},
"wholeListMerge": true,
"uniqueItems": true,
"minItems": 1
}
}
}
}
}