-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrelease-schema.json
83 lines (83 loc) · 2.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
{
"definitions": {
"Implementation": {
"properties": {
"charges": {
"title": "Charges",
"description": "Information on the revenue to be raised through charges, as set out in the contract or as subsequently revised during the life of the project.",
"type": "array",
"items": {
"$ref": "#/definitions/Charge"
},
"uniqueItems": true,
"minItems": 1
}
}
},
"Charge": {
"title": "Charge",
"description": "A charge to be incurred by users or government over the course of the contract. Charge information can be broken down by period. Information on the unit prices upon which total values are based can be provided in the tariffs section. ",
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"title": "Charge identifier",
"description": "A local identifier for this specific charge. This field is used to keep track of revisions of a charge across multiple OCDS releases.",
"type": "string",
"minLength": 1
},
"title": {
"title": "Charge title",
"description": "A descriptive title for this charge.",
"type": [
"string",
"null"
],
"minLength": 1
},
"paidBy": {
"title": "Paid by",
"description": "Is this a user charge (paid by businesses or citizens using the facilities provided by the contract), or a charge paid by the government?",
"type": [
"string",
"null"
],
"codelist": "chargePaidBy.csv",
"openCodelist": false,
"enum": [
"government",
"user",
null
]
},
"period": {
"title": "Period",
"description": "The period to which this charge applies.",
"$ref": "#/definitions/Period"
},
"estimatedValue": {
"title": "Estimated value",
"description": "What is the estimated total value to be raised from this charge during this period.",
"$ref": "#/definitions/Value"
},
"actualValue": {
"title": "Actual value",
"description": "In the implementation section, this field may be updated with the total revenue raised from this charge during this period.",
"$ref": "#/definitions/Value"
},
"notes": {
"title": "Notes",
"description": "Any notes on this charge. This may include clarifying information.",
"type": [
"string",
"null"
],
"minLength": 1
}
},
"minProperties": 1
}
}
}