-
Notifications
You must be signed in to change notification settings - Fork 0
/
release-schema.json
95 lines (95 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
90
91
92
93
94
95
{
"definitions": {
"Tender": {
"properties": {
"identifiers": {
"title": "Additional tender identifiers",
"description": "Additional identifiers for this tender. This field can be used to provide local identifiers for the tender.",
"type": "array",
"items": {
"$ref": "#/definitions/SimpleIdentifier"
},
"wholeListMerge": true,
"uniqueItems": true,
"minItems": 1
}
}
},
"Award": {
"properties": {
"maximumValue": {
"title": "Maximum value",
"description": "The estimated maximum value of the framework agreement, as a whole, as estimated when making the award.",
"$ref": "#/definitions/Value"
},
"estimatedValue": {
"title": "Estimated value",
"description": "The estimated value of the framework agreement, as a whole, as estimated when making the award.",
"$ref": "#/definitions/Value"
}
}
},
"Contract": {
"properties": {
"identifiers": {
"title": "Additional contract identifiers",
"description": "Additional identifiers for this contract. This field can be used to provide local identifiers for the contract.",
"type": "array",
"items": {
"$ref": "#/definitions/SimpleIdentifier"
},
"wholeListMerge": true,
"uniqueItems": true,
"minItems": 1
}
}
},
"Document": {
"properties": {
"languages": {
"title": "Languages",
"description": "The languages used in the document, from the open [language](https://standard.open-contracting.org/{{version}}/{{lang}}/schema/codelists/#language) codelist. A [BCP47 language tag](https://www.w3.org/International/articles/language-tags/) is allowed, if there is a user need for the additional information.",
"type": [
"array",
"null"
],
"items": {
"type": "string",
"minLength": 1
},
"codelist": "language.csv",
"openCodelist": true,
"uniqueItems": true,
"minItems": 1
}
}
},
"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. If the scope of the list, register or system is national, it is suggested to follow the pattern {ISO 3166-1 alpha-2}-{system}. If it is subnational, it is suggested to follow the pattern {ISO 3166-2}-{system}.",
"type": [
"string",
"null"
],
"minLength": 1
},
"id": {
"title": "ID",
"description": "The identifier taken from the scheme.",
"type": [
"string",
"null"
],
"versionId": true,
"minLength": 1
}
},
"minProperties": 1
}
}
}