-
Notifications
You must be signed in to change notification settings - Fork 2
/
release-schema.json
71 lines (71 loc) · 2.31 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
{
"definitions": {
"BudgetBreakdown": {
"title": "Detailed budget breakdown",
"description": "This section allows a detailed budget breakdown to be expressed, covering multiple budget sources and multiple periods",
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"title": "Identifier",
"description": "An identifier for this particular budget entry.",
"type": [
"string",
"integer"
],
"minLength": 1
},
"description": {
"title": "Description",
"description": "A short free text description of this budget entry.",
"type": [
"string",
"null"
],
"minLength": 1
},
"amount": {
"title": "Amount",
"description": "The value of the budget line item. A positive amount means the source organization funds a future contracting process. A negative amount means a future contracting process pays the source organization.",
"$ref": "#/definitions/Value"
},
"uri": {
"title": "Linked budget information",
"description": "A URI pointing directly to a machine-readable information about this budget entry.",
"type": [
"string",
"null"
],
"format": "uri"
},
"period": {
"title": "Budget period",
"description": "The period covered by this budget entry.",
"$ref": "#/definitions/Period"
},
"sourceParty": {
"title": "Source organization",
"description": "The organization providing the funds for this budget entry. The corresponding entry in the `parties` array must have 'sourceParty' in its `roles` array.",
"$ref": "#/definitions/OrganizationReference"
}
},
"minProperties": 1
},
"Budget": {
"properties": {
"budgetBreakdown": {
"title": "Budget breakdown",
"description": "A detailed breakdown of the budget by period and/or participating funders.",
"type": "array",
"items": {
"$ref": "#/definitions/BudgetBreakdown"
},
"uniqueItems": true,
"minItems": 1
}
}
}
}
}