-
Notifications
You must be signed in to change notification settings - Fork 2
/
release-schema.json
402 lines (402 loc) · 13.2 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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
{
"definitions": {
"Tender": {
"properties": {
"lots": {
"title": "Lots",
"description": "A tender process can be divided into lots, where bidders can bid on one or more lots. Details of each lot can be provided here. Items, documents and other features may then reference the lot they are related to using relatedLot. Where no relatedLots identifier is given, the values ought to be interpreted as applicable to the whole tender. Details about the whole tender can be overridden for a given lot through their inclusion in the lot object.",
"type": "array",
"items": {
"$ref": "#/definitions/Lot"
}
},
"lotDetails": {
"title": "Lot Details",
"description": "Details of any criteria that apply to bidding on the lots in this tender.",
"type": "object",
"properties": {
"maximumLotsBidPerSupplier": {
"title": "Maximum lots per supplier",
"description": "The maximum number of lots that one supplier can bid on as part of this contracting process.",
"type": [
"integer",
"null"
]
},
"maximumLotsAwardedPerSupplier": {
"title": "Maximum lots per supplier",
"description": "The maximum number of lots that can be awarded to one supplier as part of this contracting process.",
"type": [
"integer",
"null"
]
},
"awardCriteriaDetails": {
"title": "Award criteria details",
"description": "Any detailed or further information on the award or selection criteria.",
"type": [
"string",
"null"
]
}
}
},
"lotGroups": {
"title": "Lot groups",
"description": "Where the buyer reserves the right to combine lots, or wishes to specify the total value for a group of lots, a lot group is used to capture this information.",
"type": "array",
"items": {
"$ref": "#/definitions/LotGroup"
}
}
}
},
"Document": {
"properties": {
"relatedLots": {
"title": "Related lot(s)",
"description": "The identifiers of the lots to which this document relates.",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
}
}
},
"Item": {
"properties": {
"relatedLot": {
"title": "Related lot",
"description": "The identifier of the lot to which this item relates.",
"type": [
"string",
"null"
]
}
}
},
"Milestone": {
"properties": {
"relatedLots": {
"title": "Related lot(s)",
"description": "The identifiers of the lots to which this milestone relates.",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
}
}
},
"Award": {
"properties": {
"relatedLots": {
"title": "Related lot(s)",
"description": "The identifiers of the lots to which this award relates.",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
}
}
},
"Amendment": {
"properties": {
"relatedLots": {
"title": "Related lot(s)",
"description": "The identifiers of the lots to which this amendment relates.",
"type": [
"array",
"null"
],
"items": {
"type": "string",
"minLength": 1
},
"uniqueItems": true,
"minItems": 1
}
}
},
"RelatedProcess": {
"properties": {
"relatedLots": {
"title": "Related lot(s)",
"description": "The identifiers of the lots in the related process to which this process relates.",
"type": [
"array",
"null"
],
"items": {
"type": "string",
"minLength": 1
},
"uniqueItems": true,
"minItems": 1
}
}
},
"Lot": {
"title": "Lots",
"description": "A lot is a grouping of items within a tender that can be bid on or awarded together.",
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"title": "Lot ID",
"description": "A local identifier for this lot, such as a lot number. This is used in relatedLots references at the item, document and award level.",
"type": "string"
},
"identifiers": {
"title": "Identifiers",
"description": "Identifiers for this lot. This field can be used to provide internal identifiers for the lot, such as identifiers from a buyer's document management system or procurement system.",
"type": "array",
"items": {
"$ref": "#/definitions/SimpleIdentifier"
},
"wholeListMerge": true,
"uniqueItems": true,
"minItems": 1
},
"title": {
"title": "Title",
"description": "A title for this lot.",
"type": [
"string",
"null"
]
},
"description": {
"title": "Description",
"description": "A description of this lot.",
"type": [
"string",
"null"
]
},
"status": {
"title": "Lot Status",
"description": "The current status of the process related to this lot.",
"type": [
"string",
"null"
],
"codelist": "tenderStatus.csv",
"openCodelist": false,
"enum": [
"planning",
"planned",
"active",
"cancelled",
"unsuccessful",
"complete",
"withdrawn",
null
]
},
"value": {
"title": "Lot value",
"description": "The maximum estimated value of this lot.",
"$ref": "#/definitions/Value"
},
"minValue": {
"title": "Minimum value",
"description": "The estimated minimum value of the lot. A negative value indicates that the contracting process may involve payments from the supplier to the buyer (commonly used in concession contracts).",
"$ref": "#/definitions/Value"
},
"tenderPeriod": {
"title": "Tender period",
"description": "The period when this lot is open for submissions. The end date is the closing date for bid submissions.",
"$ref": "#/definitions/Period"
},
"contractPeriod": {
"title": "Contract period",
"description": "The period over which the contract is estimated or specified to be active. If the lot does not specify explicit dates, the duration field can be used.",
"$ref": "#/definitions/Period"
},
"buyer": {
"title": "Buyer",
"description": "The organization aiming to conclude a contract with a supplier or to use the goods, works or services in this lot. This may be different from the procuring entity who may be specified in the tender data.",
"$ref": "#/definitions/OrganizationReference"
},
"additionalClassifications": {
"title": "Additional classifications",
"description": "Additional classifications for this lot.",
"type": "array",
"items": {
"$ref": "#/definitions/Classification"
},
"wholeListMerge": true,
"uniqueItems": true,
"minItems": 1
},
"mainProcurementCategory": {
"title": "Main procurement category",
"description": "The primary category describing the main object of this lot, using the closed procurementCategory codelist.",
"type": [
"string",
"null"
],
"codelist": "procurementCategory.csv",
"openCodelist": false,
"enum": [
"goods",
"services",
"works",
null
]
},
"additionalProcurementCategories": {
"title": "Additional procurement categories",
"description": "Any additional categories describing the objects of this lot, using the open extendedProcurementCategory codelist.",
"type": [
"array",
"null"
],
"items": {
"type": "string",
"minLength": 1
},
"codelist": "extendedProcurementCategory.csv",
"openCodelist": true,
"uniqueItems": true,
"minItems": 1
},
"enquiryPeriod": {
"title": "Enquiry period",
"description": "The period during which potential bidders may submit questions and requests for clarification about this lot to the buyer or the procuring entity.",
"$ref": "#/definitions/Period"
},
"milestones": {
"title": "Milestones",
"description": "Milestones associated with this lot.",
"type": "array",
"items": {
"$ref": "#/definitions/Milestone"
},
"uniqueItems": true,
"minItems": 1
},
"submissionMethodDetails": {
"title": "Submission method details",
"description": "Information about the methods by which bids are submitted for this lot. This can include the address, e-mail address or online service to which bids are submitted, and any special requirements to be followed for submissions. More structured information can be provided using the submission terms extension.",
"type": [
"string",
"null"
],
"minLength": 1
},
"submissionTerms": {
"title": "Submission terms",
"description": "Information about how, when and where tenderers need to submit their bids.",
"$ref": "#/definitions/SubmissionTerms"
}
}
},
"LotGroup": {
"title": "Lot group",
"description": "Where the buyer reserves the right to combine lots, or wishes to specify the total value for a group of lots, a lot group is used to capture this information.",
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"title": "Lot group identifier",
"description": "A local identifier for this group of lots.",
"type": "string"
},
"identifiers": {
"title": "Identifiers",
"description": "Identifiers for this lot group. This field can be used to provide internal identifiers for the lot group, such as identifiers from a buyer's document management system or procurement system.",
"type": "array",
"items": {
"$ref": "#/definitions/SimpleIdentifier"
},
"wholeListMerge": true,
"uniqueItems": true,
"minItems": 1
},
"title": {
"title": "Title",
"description": "A title for this lot group.",
"type": [
"string",
"null"
],
"minLength": 1
},
"description": {
"title": "Description",
"description": "A description of this lot group.",
"type": [
"string",
"null"
],
"minLength": 1
},
"relatedLots": {
"title": "Related lot(s)",
"description": "A list of the identifiers of the lots that form this group. Lots can appear in more than one group.",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"optionToCombine": {
"title": "Option to combine",
"description": "The buyer reserves the right to combine the lots in this group when awarding a contract.",
"type": [
"boolean",
"null"
]
},
"maximumValue": {
"title": "Maximum value",
"description": "The maximum estimated value of the lots in this group. This can be lower than the sum total of lot values",
"$ref": "#/definitions/Value"
}
}
},
"SimpleIdentifier": {
"title": "Simple identifier",
"description": "An unambiguous reference to a resource within a given context.",
"type": "object",
"properties": {
"scheme": {
"title": "Scheme",
"description": "The list, register or system from which the identifier is taken.",
"type": [
"string",
"null"
],
"minLength": 1
},
"id": {
"title": "ID",
"description": "The identifier taken from the scheme.",
"type": [
"string",
"null"
],
"versionId": true,
"minLength": 1
}
},
"minProperties": 1
}
}
}