This repository has been archived by the owner on Nov 10, 2017. It is now read-only.
forked from duncandewhurst/ocds-milestones-update
-
Notifications
You must be signed in to change notification settings - Fork 0
/
release-schema.json
84 lines (84 loc) · 2.43 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
{
"definitions": {
"Planning": {
"properties": {
"milestones": {
"description": "A list of milestones associated with the planning stage.",
"type": "array",
"mergeStrategy": "arrayMergeById",
"mergeOptions": {
"idRef": "id"
},
"items": {
"$ref": "#/definitions/Milestone"
}
}
}
},
"Contract": {
"properties": {
"milestones": {
"description": "A list of milestones associated with the finalisation of this contract.",
"type": "array",
"mergeStrategy": "arrayMergeById",
"mergeOptions": {
"idRef": "id"
},
"items": {
"$ref": "#/definitions/Milestone"
}
}
}
},
"Milestone": {
"properties": {
"type": {
"title": "Milestone type",
"description": "The type of milestone, drawn from an extended [milestoneType codelist](http://standard.open-contracting.org/latest/en/schema/codelists/#milestone-type).",
"type": [
"string",
"null"
],
"enum": [
"preProcurement",
"engagement",
"approval",
"assessment",
"delivery",
"reporting",
"financing",
null
],
"mergeStrategy": "ocdsVersion"
},
"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' could be used to allow applications to understand this milestone represents the date an approvalLetter is due or signed. Milestone codes is an open codelist, and codes should be agreed amoungst data producers and the applications using that data.",
"type":[
"string",
"null"
]
},
"dateMet": {
"title": "Date met",
"description": "The date on which the milestone was met.",
"type": [
"string",
"null"
],
"format": "date-time",
"mergeStrategy": "ocdsVersion"
},
"status": {
"enum": [
"scheduled",
"met",
"notMet",
"partiallyMet",
null
]
}
}
}
}
}