-
Notifications
You must be signed in to change notification settings - Fork 0
/
release-schema.json
2199 lines (2199 loc) · 85.9 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
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"id": "https://standard.open-contracting.org/schema/1__1__4/release-schema.json",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Schema for an Open Contracting Release",
"description": "Each release provides data about a single contracting process at a particular point in time. Releases can be used to notify users of new tenders, awards, contracts and other updates. Releases may repeat or update information provided previously in this contracting process. One contracting process may have many releases. A 'record' of a contracting process follows the same structure as a release, but combines information from multiple points in time into a single summary.",
"type": "object",
"properties": {
"ocid": {
"title": "Open Contracting ID",
"description": "A globally unique identifier for this Open Contracting Process. Composed of an ocid prefix and an identifier for the contracting process. For more information see the [Open Contracting Identifier guidance](https://standard.open-contracting.org/1.1/en/schema/identifiers/)",
"type": "string",
"minLength": 1
},
"id": {
"title": "Release ID",
"description": "An identifier for this particular release of information. A release identifier must be unique within the scope of its related contracting process (defined by a common ocid). A release identifier must not contain the # character.",
"type": "string",
"minLength": 1,
"omitWhenMerged": true
},
"date": {
"title": "Release Date",
"description": "The date this information was first released, or published.",
"type": "string",
"format": "date-time",
"omitWhenMerged": true
},
"tag": {
"title": "Release Tag",
"description": "One or more values from the closed [releaseTag](https://standard.open-contracting.org/1.1/en/schema/codelists/#release-tag) codelist. Tags can be used to filter releases and to understand the kind of information that releases might contain.",
"type": "array",
"items": {
"type": "string",
"enum": [
"planning",
"planningUpdate",
"tender",
"tenderAmendment",
"tenderUpdate",
"tenderCancellation",
"award",
"awardUpdate",
"awardCancellation",
"contract",
"contractUpdate",
"contractAmendment",
"implementation",
"implementationUpdate",
"contractTermination",
"compiled"
]
},
"codelist": "releaseTag.csv",
"openCodelist": false,
"minItems": 1,
"omitWhenMerged": true
},
"initiationType": {
"title": "Initiation type",
"description": "The type of initiation process used for this contract, from the closed [initiationType](https://standard.open-contracting.org/1.1/en/schema/codelists/#initiation-type) codelist.",
"type": "string",
"enum": [
"tender"
],
"codelist": "initiationType.csv",
"openCodelist": false
},
"parties": {
"title": "Parties",
"description": "Information on the parties (organizations, economic operators and other participants) who are involved in the contracting process and their roles, e.g. buyer, procuring entity, supplier etc. Organization references elsewhere in the schema are used to refer back to this entries in this list.",
"type": "array",
"items": {
"$ref": "#/definitions/Organization"
},
"uniqueItems": true
},
"buyer": {
"title": "Buyer",
"description": "A buyer is an entity whose budget will be used to pay for goods, works or services related to a contract. This may be different from the procuring entity who may be specified in the tender data.",
"$ref": "#/definitions/OrganizationReference"
},
"planning": {
"title": "Planning",
"description": "Information from the planning phase of the contracting process. This includes information related to the process of deciding what to contract, when and how.",
"$ref": "#/definitions/Planning"
},
"tender": {
"title": "Tender",
"description": "The activities undertaken in order to enter into a contract.",
"$ref": "#/definitions/Tender"
},
"awards": {
"title": "Awards",
"description": "Information from the award phase of the contracting process. There can be more than one award per contracting process e.g. because the contract is split among different providers, or because it is a standing offer.",
"type": "array",
"items": {
"$ref": "#/definitions/Award"
},
"uniqueItems": true
},
"contracts": {
"title": "Contracts",
"description": "Information from the contract creation phase of the procurement process.",
"type": "array",
"items": {
"$ref": "#/definitions/Contract"
},
"uniqueItems": true
},
"language": {
"title": "Release language",
"description": "The default language of the data using either two-letter [ISO639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes), or extended [BCP47 language tags](http://www.w3.org/International/articles/language-tags/). The use of lowercase two-letter codes from [ISO639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) is recommended.",
"type": [
"string",
"null"
],
"default": "en"
},
"relatedProcesses": {
"uniqueItems": true,
"items": {
"$ref": "#/definitions/RelatedProcess"
},
"description": "The details of related processes: for example, if this process follows on from one or more other processes, represented under a separate open contracting identifier (ocid). This is commonly used to relate mini-competitions to their parent frameworks or individual tenders to a broader planning process.",
"title": "Related processes",
"type": "array"
}
},
"required": [
"ocid",
"id",
"date",
"tag",
"initiationType"
],
"definitions": {
"Planning": {
"title": "Planning",
"description": "Information from the planning phase of the contracting process. Note that many other fields can be filled in a planning release, in the appropriate fields in other schema sections; these would likely be estimates at this stage, e.g. value in tender.",
"type": "object",
"properties": {
"rationale": {
"title": "Rationale",
"description": "The rationale for the procurement provided in free text. More detail can be provided in an attached document.",
"type": [
"string",
"null"
]
},
"budget": {
"title": "Budget",
"description": "Details of the budget that funds this contracting process.",
"$ref": "#/definitions/Budget"
},
"documents": {
"title": "Documents",
"description": "A list of documents related to the planning process.",
"type": "array",
"items": {
"$ref": "#/definitions/Document"
}
},
"milestones": {
"title": "Planning milestones",
"description": "A list of milestones associated with the planning stage.",
"type": "array",
"items": {
"$ref": "#/definitions/Milestone"
}
}
},
"patternProperties": {
"^(rationale_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
"type": [
"string",
"null"
]
}
}
},
"Tender": {
"title": "Tender",
"description": "Data regarding tender process - publicly inviting prospective contractors to submit bids for evaluation and selecting a winner or winners.",
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"title": "Tender ID",
"description": "An identifier for this tender process. This may be the same as the ocid, or may be an internal identifier for this tender.",
"type": [
"string",
"integer"
],
"minLength": 1,
"versionId": true
},
"title": {
"title": "Tender title",
"description": "A title for this tender. This will often be used by applications as a headline to attract interest, and to help analysts understand the nature of this procurement.",
"type": [
"string",
"null"
]
},
"description": {
"title": "Tender description",
"description": "A summary description of the tender. This complements any structured information provided using the items array. Descriptions should be short and easy to read. Avoid using ALL CAPS.",
"type": [
"string",
"null"
]
},
"status": {
"title": "Tender status",
"description": "The current status of the tender, from the closed [tenderStatus](https://standard.open-contracting.org/1.1/en/schema/codelists/#tender-status) codelist.",
"type": [
"string",
"null"
],
"codelist": "tenderStatus.csv",
"openCodelist": false,
"enum": [
"planning",
"planned",
"active",
"cancelled",
"unsuccessful",
"complete",
"withdrawn",
null
]
},
"procuringEntity": {
"title": "Procuring entity",
"description": "The entity managing the procurement. This may be different from the buyer who pays for, or uses, the items being procured.",
"$ref": "#/definitions/OrganizationReference"
},
"items": {
"title": "Items to be procured",
"description": "The goods and services to be purchased, broken into line items wherever possible. Items should not be duplicated, but the quantity specified instead.",
"type": "array",
"items": {
"$ref": "#/definitions/Item"
},
"uniqueItems": true
},
"value": {
"title": "Value",
"description": "The total upper estimated value of the procurement. 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"
},
"minValue": {
"title": "Minimum value",
"description": "The minimum estimated value of the procurement. 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"
},
"procurementMethod": {
"title": "Procurement method",
"description": "The procurement method, from the closed [method](https://standard.open-contracting.org/1.1/en/schema/codelists/#method) codelist.",
"type": [
"string",
"null"
],
"codelist": "method.csv",
"openCodelist": false,
"enum": [
"open",
"selective",
"limited",
"direct",
null
]
},
"procurementMethodDetails": {
"title": "Procurement method details",
"description": "Additional detail on the procurement method used. This field can be used to provide the local name of the particular procurement method used.",
"type": [
"string",
"null"
]
},
"procurementMethodRationale": {
"title": "Procurement method rationale",
"description": "Rationale for the chosen procurement method. This is especially important to provide a justification in the case of limited tenders or direct awards.",
"type": [
"string",
"null"
]
},
"mainProcurementCategory": {
"title": "Main procurement category",
"description": "The primary category describing the main object of this contracting process, from the closed [procurementCategory](https://standard.open-contracting.org/1.1/en/schema/codelists/#procurement-category) codelist.",
"type": [
"string",
"null"
],
"codelist": "procurementCategory.csv",
"openCodelist": false,
"enum": [
"goods",
"works",
"services",
null
]
},
"additionalProcurementCategories": {
"title": "Additional procurement categories",
"description": "Any additional categories describing the objects of this contracting process, using the open [extendedProcurementCategory](https://standard.open-contracting.org/1.1/en/schema/codelists/#extended-procurement-category) codelist.",
"type": [
"array",
"null"
],
"items": {
"type": "string"
},
"codelist": "extendedProcurementCategory.csv",
"openCodelist": true
},
"awardCriteria": {
"title": "Award criteria",
"description": "The award criteria for the procurement, using the open [awardCriteria](https://standard.open-contracting.org/1.1/en/schema/codelists/#award-criteria) codelist.",
"type": [
"string",
"null"
],
"codelist": "awardCriteria.csv",
"openCodelist": true
},
"awardCriteriaDetails": {
"title": "Award criteria details",
"description": "Any detailed or further information on the award or selection criteria.",
"type": [
"string",
"null"
]
},
"submissionMethod": {
"title": "Submission method",
"description": "The methods by which bids are submitted, using the open [submissionMethod](https://standard.open-contracting.org/1.1/en/schema/codelists/#submission-method) codelist.",
"type": [
"array",
"null"
],
"items": {
"type": "string"
},
"codelist": "submissionMethod.csv",
"openCodelist": true
},
"submissionMethodDetails": {
"title": "Submission method details",
"description": "Any detailed or further information on the submission method. 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.",
"type": [
"string",
"null"
]
},
"tenderPeriod": {
"title": "Tender period",
"description": "The period when the tender is open for submissions. The end date is the closing date for tender submissions.",
"$ref": "#/definitions/Period"
},
"enquiryPeriod": {
"title": "Enquiry period",
"description": "The period during which potential bidders may submit questions and requests for clarification to the entity managing procurement. Details of how to submit enquiries should be provided in attached notices, or in submissionMethodDetails. Structured dates for when responses to questions will be made can be provided using tender milestones.",
"$ref": "#/definitions/Period"
},
"hasEnquiries": {
"title": "Has enquiries?",
"description": "A true/false field to indicate whether any enquiries were received during the tender process. Structured information on enquiries that were received, and responses to them, can be provided using the enquiries extension.",
"type": [
"boolean",
"null"
]
},
"eligibilityCriteria": {
"title": "Eligibility criteria",
"description": "A description of any eligibility criteria for potential suppliers.",
"type": [
"string",
"null"
]
},
"awardPeriod": {
"title": "Evaluation and award period",
"description": "The period for decision making regarding the contract award. The end date should be the date on which an award decision is due to be finalized. The start date may be used to indicate the start of an evaluation period.",
"$ref": "#/definitions/Period"
},
"contractPeriod": {
"description": "The period over which the contract is estimated or required to be active. If the tender does not specify explicit dates, the duration field may be used.",
"title": "Contract period",
"$ref": "#/definitions/Period"
},
"numberOfTenderers": {
"title": "Number of tenderers",
"description": "The number of parties who submit a bid.",
"type": [
"integer",
"null"
]
},
"tenderers": {
"title": "Tenderers",
"description": "All parties who submit a bid on a tender. More detailed information on bids and the bidding organization can be provided using the bid extension.",
"type": "array",
"items": {
"$ref": "#/definitions/OrganizationReference"
},
"uniqueItems": true
},
"documents": {
"title": "Documents",
"description": "All documents and attachments related to the tender, including any notices. See the [documentType](https://standard.open-contracting.org/1.1/en/schema/codelists/#document-type) codelist for details of potential documents to include. Common documents include official legal notices of tender, technical specifications, evaluation criteria, and, as a tender process progresses, clarifications and replies to queries.",
"type": "array",
"items": {
"$ref": "#/definitions/Document"
}
},
"milestones": {
"title": "Milestones",
"description": "A list of milestones associated with the tender.",
"type": "array",
"items": {
"$ref": "#/definitions/Milestone"
}
},
"amendments": {
"description": "A tender amendment is a formal change to the tender, and generally involves the publication of a new tender notice/release. The rationale and a description of the changes made can be provided here.",
"type": "array",
"title": "Amendments",
"items": {
"$ref": "#/definitions/Amendment"
}
},
"amendment": {
"title": "Amendment",
"description": "The use of individual amendment objects has been deprecated. From OCDS 1.1 information should be provided in the amendments array.",
"$ref": "#/definitions/Amendment",
"deprecated": {
"description": "The single amendment object has been deprecated in favour of including amendments in an amendments (plural) array.",
"deprecatedVersion": "1.1"
}
}
},
"patternProperties": {
"^(title_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
"type": [
"string",
"null"
]
},
"^(description_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
"type": [
"string",
"null"
]
},
"^(procurementMethodRationale_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
"type": [
"string",
"null"
]
},
"^(awardCriteriaDetails_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
"type": [
"string",
"null"
]
},
"^(submissionMethodDetails_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
"type": [
"string",
"null"
]
},
"^(eligibilityCriteria_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
"type": [
"string",
"null"
]
}
}
},
"Award": {
"title": "Award",
"description": "An award for the given procurement. There can be more than one award per contracting process e.g. because the contract is split among different providers, or because it is a standing offer.",
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"title": "Award ID",
"description": "The identifier for this award. It must be unique and must not change within the Open Contracting Process it is part of (defined by a single ocid). See the [identifier guidance](https://standard.open-contracting.org/1.1/en/schema/identifiers/) for further details.",
"type": [
"string",
"integer"
],
"minLength": 1
},
"title": {
"title": "Title",
"description": "Award title",
"type": [
"string",
"null"
]
},
"description": {
"title": "Description",
"description": "Award description",
"type": [
"string",
"null"
]
},
"status": {
"title": "Award status",
"description": "The current status of the award, from the closed [awardStatus](https://standard.open-contracting.org/1.1/en/schema/codelists/#award-status) codelist.",
"type": [
"string",
"null"
],
"enum": [
"pending",
"active",
"cancelled",
"unsuccessful",
null
],
"codelist": "awardStatus.csv",
"openCodelist": false
},
"date": {
"title": "Award date",
"description": "The date of the contract award. This is usually the date on which a decision to award was made.",
"type": [
"string",
"null"
],
"format": "date-time"
},
"value": {
"title": "Value",
"description": "The total value of this award. In the case of a framework contract this may be the total estimated lifetime value, or maximum value, of the agreement. There may be more than one award per procurement. A negative value indicates that the award may involve payments from the supplier to the buyer (commonly used in concession contracts).",
"$ref": "#/definitions/Value"
},
"suppliers": {
"title": "Suppliers",
"description": "The suppliers awarded this award. If different suppliers have been awarded different items or values, these should be split into separate award blocks.",
"type": "array",
"items": {
"$ref": "#/definitions/OrganizationReference"
},
"uniqueItems": true
},
"items": {
"title": "Items awarded",
"description": "The goods and services awarded in this award, broken into line items wherever possible. Items should not be duplicated, but the quantity specified instead.",
"type": "array",
"minItems": 1,
"items": {
"$ref": "#/definitions/Item"
},
"uniqueItems": true
},
"contractPeriod": {
"title": "Contract period",
"description": "The period for which the contract has been awarded.",
"$ref": "#/definitions/Period"
},
"documents": {
"title": "Documents",
"description": "All documents and attachments related to the award, including any notices.",
"type": "array",
"items": {
"$ref": "#/definitions/Document"
},
"uniqueItems": true
},
"amendments": {
"description": "An award amendment is a formal change to the details of the award, and generally involves the publication of a new award notice/release. The rationale and a description of the changes made can be provided here.",
"type": "array",
"title": "Amendments",
"items": {
"$ref": "#/definitions/Amendment"
}
},
"amendment": {
"title": "Amendment",
"description": "The use of individual amendment objects has been deprecated. From OCDS 1.1 information should be provided in the amendments array.",
"$ref": "#/definitions/Amendment",
"deprecated": {
"description": "The single amendment object has been deprecated in favour of including amendments in an amendments (plural) array.",
"deprecatedVersion": "1.1"
}
}
},
"patternProperties": {
"^(title_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
"type": [
"string",
"null"
]
},
"^(description_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
"type": [
"string",
"null"
]
}
}
},
"Contract": {
"type": "object",
"title": "Contract",
"description": "Information regarding the signed contract between the buyer and supplier(s).",
"required": [
"id",
"awardID"
],
"properties": {
"id": {
"title": "Contract ID",
"description": "The identifier for this contract. It must be unique and must not change within the Open Contracting Process it is part of (defined by a single ocid). See the [identifier guidance](https://standard.open-contracting.org/1.1/en/schema/identifiers/) for further details.",
"type": [
"string",
"integer"
],
"minLength": 1
},
"awardID": {
"title": "Award ID",
"description": "The award.id against which this contract is being issued.",
"type": [
"string",
"integer"
],
"minLength": 1
},
"title": {
"title": "Contract title",
"description": "Contract title",
"type": [
"string",
"null"
]
},
"description": {
"title": "Contract description",
"description": "Contract description",
"type": [
"string",
"null"
]
},
"status": {
"title": "Contract status",
"description": "The current status of the contract, from the closed [contractStatus](https://standard.open-contracting.org/1.1/en/schema/codelists/#contract-status) codelist.",
"type": [
"string",
"null"
],
"enum": [
"pending",
"active",
"cancelled",
"terminated",
null
],
"codelist": "contractStatus.csv",
"openCodelist": false
},
"period": {
"title": "Period",
"description": "The start and end date for the contract.",
"$ref": "#/definitions/Period"
},
"value": {
"title": "Value",
"description": "The total value of this contract. A negative value indicates that the contract will involve payments from the supplier to the buyer (commonly used in concession contracts).",
"$ref": "#/definitions/Value"
},
"items": {
"title": "Items contracted",
"description": "The goods, services, and any intangible outcomes in this contract. Note: If the items are the same as the award do not repeat.",
"type": "array",
"minItems": 1,
"items": {
"$ref": "#/definitions/Item"
},
"uniqueItems": true
},
"dateSigned": {
"title": "Date signed",
"description": "The date the contract was signed. In the case of multiple signatures, the date of the last signature.",
"type": [
"string",
"null"
],
"format": "date-time"
},
"documents": {
"title": "Documents",
"description": "All documents and attachments related to the contract, including any notices.",
"type": "array",
"items": {
"$ref": "#/definitions/Document"
},
"uniqueItems": true
},
"implementation": {
"title": "Implementation",
"description": "Information related to the implementation of the contract in accordance with the obligations laid out therein.",
"$ref": "#/definitions/Implementation"
},
"relatedProcesses": {
"uniqueItems": true,
"items": {
"$ref": "#/definitions/RelatedProcess"
},
"description": "The details of related processes: for example, if this process is followed by one or more contracting processes, represented under a separate open contracting identifier (ocid). This is commonly used to refer to subcontracts and to renewal or replacement processes for this contract.",
"title": "Related processes",
"type": "array"
},
"milestones": {
"title": "Contract milestones",
"description": "A list of milestones associated with the finalization of this contract.",
"type": "array",
"items": {
"$ref": "#/definitions/Milestone"
}
},
"amendments": {
"description": "A contract amendment is a formal change to, or extension of, a contract, and generally involves the publication of a new contract notice/release, or some other documents detailing the change. The rationale and a description of the changes made can be provided here.",
"type": "array",
"title": "Amendments",
"items": {
"$ref": "#/definitions/Amendment"
}
},
"amendment": {
"title": "Amendment",
"description": "The use of individual amendment objects has been deprecated. From OCDS 1.1 information should be provided in the amendments array.",
"$ref": "#/definitions/Amendment",
"deprecated": {
"description": "The single amendment object has been deprecated in favour of including amendments in an amendments (plural) array.",
"deprecatedVersion": "1.1"
}
}
},
"patternProperties": {
"^(title_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
"type": [
"string",
"null"
]
},
"^(description_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
"type": [
"string",
"null"
]
}
}
},
"Implementation": {
"type": "object",
"title": "Implementation",
"description": "Information during the performance / implementation stage of the contract.",
"properties": {
"transactions": {
"title": "Transactions",
"description": "A list of the spending transactions made against this contract",
"type": "array",
"items": {
"$ref": "#/definitions/Transaction"
},
"uniqueItems": true
},
"milestones": {
"title": "Milestones",
"description": "As milestones are completed, the milestone's status and dates should be updated.",
"type": "array",
"items": {
"$ref": "#/definitions/Milestone"
},
"uniqueItems": true
},
"documents": {
"title": "Documents",
"description": "Documents and reports that are part of the implementation phase e.g. audit and evaluation reports.",
"type": "array",
"items": {
"$ref": "#/definitions/Document"
},
"uniqueItems": true
}
}
},
"Milestone": {
"title": "Milestone",
"description": "The milestone block can be used to represent a wide variety of events in the lifetime of a contracting process.",
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"title": "ID",
"description": "A local identifier for this milestone, unique within this block. This field is used to keep track of multiple revisions of a milestone through the compilation from release to record mechanism.",
"type": [
"string",
"integer"
],
"minLength": 1
},
"title": {
"title": "Title",
"description": "Milestone title",
"type": [
"string",
"null"
]
},
"type": {
"title": "Milestone type",
"description": "The nature of the milestone, using the open [milestoneType](https://standard.open-contracting.org/1.1/en/schema/codelists/#milestone-type) codelist.",
"type": [
"string",
"null"
],
"codelist": "milestoneType.csv",
"openCodelist": true
},
"description": {
"title": "Description",
"description": "A description of the milestone.",
"type": [
"string",
"null"
]
},
"code": {
"title": "Milestone code",
"description": "Milestone codes can be used to track specific events that take place for a particular kind of contracting process. For example, a code of 'approvalLetter' can be used to allow applications to understand this milestone represents the date an approvalLetter is due or signed.",
"type": [
"string",
"null"
]
},
"dueDate": {
"title": "Due date",
"description": "The date the milestone is due.",
"type": [
"string",
"null"
],
"format": "date-time"
},
"dateMet": {
"format": "date-time",
"title": "Date met",
"description": "The date on which the milestone was met.",
"type": [
"string",
"null"
]
},
"dateModified": {
"title": "Date modified",
"description": "The date the milestone was last reviewed or modified and the status was altered or confirmed to still be correct.",
"type": [
"string",
"null"
],
"format": "date-time"
},
"status": {
"title": "Status",
"description": "The status that was realized on the date provided in `dateModified`, from the closed [milestoneStatus](https://standard.open-contracting.org/1.1/en/schema/codelists/#milestone-status) codelist.",
"type": [
"string",
"null"
],
"enum": [
"scheduled",
"met",
"notMet",
"partiallyMet",
null
],
"codelist": "milestoneStatus.csv",
"openCodelist": false
},
"documents": {
"title": "Documents",
"description": "List of documents associated with this milestone (Deprecated in 1.1).",
"type": "array",
"deprecated": {
"deprecatedVersion": "1.1",
"description": "Inclusion of documents at the milestone level is now deprecated. Documentation should be attached in the tender, award, contract or implementation sections, and titles and descriptions used to highlight the related milestone. Publishers who wish to continue to provide documents at the milestone level should explicitly declare this by using the milestone documents extension."
},
"items": {
"$ref": "#/definitions/Document"
},
"uniqueItems": true
}
},
"patternProperties": {
"^(title_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
"type": [
"string",
"null"
]
},
"^(description_(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)))$": {
"type": [
"string",
"null"
]
}
}
},
"Document": {
"type": "object",
"title": "Document",
"description": "Links to, or descriptions of, external documents can be attached at various locations within the standard. Documents can be supporting information, formal notices, downloadable forms, or any other kind of resource that ought to be made public as part of full open contracting.",
"required": [
"id"
],
"properties": {
"id": {
"title": "ID",
"description": "A local, unique identifier for this document. This field is used to keep track of multiple revisions of a document through the compilation from release to record mechanism.",
"type": [
"string",
"integer"
],
"minLength": 1
},
"documentType": {
"title": "Document type",
"description": "A classification of the document described, using the open [documentType](https://standard.open-contracting.org/1.1/en/schema/codelists/#document-type) codelist.",
"type": [
"string",
"null"
],
"codelist": "documentType.csv",
"openCodelist": true
},
"title": {
"title": "Title",
"description": "The document title.",
"type": [
"string",
"null"
]
},
"description": {
"title": "Description",
"description": "A short description of the document. Descriptions are recommended to not exceed 250 words. In the event the document is not accessible online, the description field can be used to describe arrangements for obtaining a copy of the document.",
"type": [
"string",
"null"
]
},
"url": {
"title": "URL",
"description": "A direct link to the document or attachment. The server providing access to this document ought to be configured to correctly report the document mime type.",
"type": [
"string",
"null"
],
"format": "uri"
},
"datePublished": {
"title": "Date published",
"description": "The date on which the document was first published. This is particularly important for legally important documents such as notices of a tender.",
"type": [
"string",
"null"
],
"format": "date-time"
},
"dateModified": {
"title": "Date modified",
"description": "Date that the document was last modified",
"type": [
"string",
"null"
],
"format": "date-time"
},
"format": {
"title": "Format",
"description": "The format of the document, using the open [IANA Media Types](http://www.iana.org/assignments/media-types/) codelist (see the values in the 'Template' column), or using the 'offline/print' code if the described document is published offline. For example, web pages have a format of 'text/html'.",
"type": [