-
Notifications
You must be signed in to change notification settings - Fork 1
/
release-schema.json
176 lines (176 loc) · 6.74 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
{
"definitions": {
"Tender": {
"properties": {
"deliveryLocations": {
"title": "Delivery Locations",
"description": "The locations where activity related to this tender will take place.",
"type": "array",
"items": {
"$ref": "#/definitions/Location"
},
"wholeListMerge": true,
"uniqueItems": true
},
"deliveryAddresses": {
"title": "Delivery Addresses",
"description": "The addresses to which, or where, goods or services related to this tender will be delivered.",
"type": "array",
"items": {
"$ref": "#/definitions/Address"
},
"wholeListMerge": true,
"uniqueItems": true
}
}
},
"Item": {
"properties": {
"deliveryLocations": {
"title": "Delivery Locations",
"description": "The locations where activity related to this tender, contract or license will be delivered.",
"type": "array",
"items": {
"$ref": "#/definitions/Location"
},
"wholeListMerge": true,
"uniqueItems": true,
"minItems": 1
},
"deliveryLocation": {
"title": "Delivery Location",
"description": "The location where activity related to this tender, contract or license will be delivered, or will take place.",
"$ref": "#/definitions/Location",
"deprecated": {
"description": "This field is deprecated in favour of `.deliveryLocations` to support items with multiple delivery locations.",
"deprecatedVersion": "1.2.0"
}
},
"deliveryAddresses": {
"title": "Delivery Addresses",
"description": "The addresses to which, or where, goods or services related to this tender, contract or license will be delivered.",
"type": "array",
"items": {
"$ref": "#/definitions/Address"
},
"wholeListMerge": true,
"uniqueItems": true,
"minItems": 1
},
"deliveryAddress": {
"title": "Delivery Address",
"description": "The address to which, or where, goods or services related to this tender, contract or license will be delivered.",
"$ref": "#/definitions/Address",
"deprecated": {
"description": "This field is deprecated in favour of `.deliveryAddresses` to support items with multiple delivery locations.",
"deprecatedVersion": "1.2.0"
}
}
}
},
"Location": {
"title": "Location",
"description": "A physical or virtual location.",
"type": "object",
"properties": {
"description": {
"title": "Description",
"description": "A name or description of this location. This might include the name(s) of the location(s), or might provide a human-readable description of the location to be covered.",
"type": [
"string",
"null"
]
},
"geometry": {
"title": "Geometry",
"description": "We follow the [GeoJSON standard](https://www.rfc-editor.org/rfc/rfc7946) to express basic location information, using longitude, latitude, and optional elevation values in the [WGS84](https://en.wikipedia.org/wiki/World_Geodetic_System) (EPSG:4326) projection. A point location can be identified by geocoding an address. For concession licenses, or other scenarios covering a polygon location that is not contained in a known gazetteer, polygon and multi-polygon can be used.",
"type": "object",
"properties": {
"type": {
"title": "Type",
"description": "The type of [GeoJSON Geometry Objects](https://www.rfc-editor.org/rfc/rfc7946#section-3.1) being provided. To provide longitude, latitude, and optional elevation, use 'Point', and enter an array of [longitude, latitude] or [longitude, latitude, elevation] as the value of the coordinates field: e.g. [-122.085, 37.42].",
"type": [
"string",
"null"
],
"codelist": "geometryType.csv",
"openCodelist": false,
"enum": [
"Point",
"MultiPoint",
"LineString",
"MultiLineString",
"Polygon",
"MultiPolygon",
null
]
},
"coordinates": {
"title": "Coordinates",
"description": "The relevant array of points, e.g. [longitude, latitude] or [longitude, latitude, elevation], or a nested array of points, for the GeoJSON geometry being described. The longitude and latitude must be expressed in decimal degrees in the WGS84 (EPSG:4326) projection.",
"type": [
"array",
"null"
],
"items": {
"type": [
"number",
"array"
]
}
}
}
},
"gazetteer": {
"title": "Gazetteer",
"description": "Identifiers from a gazetteer (a geographical index or directory) for the location.",
"type": "object",
"properties": {
"scheme": {
"title": "Gazetteer scheme",
"description": "The identifier of the gazetteer. The `locationGazetteers.csv` codelist provides details of services, where available, that can resolve a gazetteer entry to provide location names.",
"type": [
"string",
"null"
],
"codelist": "locationGazetteers.csv",
"openCodelist": true
},
"identifiers": {
"title": "Identifiers",
"description": "An array of one or more codes drawn from the gazetteer indicated by the `scheme` field.",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
}
}
},
"uri": {
"title": "URI",
"description": "A URI to a further description of the location. This might be a human-readable document with information on the location, or a machine-readable description of the location.",
"type": [
"string",
"null"
],
"format": "uri"
}
}
},
"Address": {
"properties": {
"description": {
"title": "Description",
"description": "The description of the address.",
"type": [
"string",
"null"
]
}
}
}
}
}