This repository has been archived by the owner on Nov 10, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
release-schema.json
74 lines (74 loc) · 2.75 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
{
"properties": {
"relatedProcesses": {
"title": "Related processes",
"description": "If this process follows on from one or more prior process, represented under a separate open contracting identifier (ocid) then details of the related process can be provided here. This is commonly used to relate mini-competitions to their parent frameworks, full tenders to a pre-qualification phase, or individual tenders to a broad planning process.",
"type": "array",
"items": {
"$ref": "#/definitions/RelatedProcess"
},
"uniqueItems": true
}
},
"definitions": {
"RelatedProcess": {
"type": "object",
"title": "Related Process",
"description": "A link to a related contracting process in OCDS and the type of relationship.",
"properties": {
"id": {
"description": "A local identifier for this relationship, unique within this array.",
"type": [
"string"
]
},
"title": {
"title": "Related process title",
"description": "The title of the related process, where possible this field should match the tender/title field in the related process.",
"type": [
"string",
"null"
]
},
"ocid": {
"title": "Related process OCID",
"description": "The OCID of the related process.",
"type":["string","null"]
},
"relationship": {
"title": "Relationship",
"description": "Specify the type of relationship using the [related process codelist](http://standard.open-contracting.org/latest/en/schema/codelists/#related-process).",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"uri": {
"title": "Related process URI",
"description": "A URI pointing to an OCDS release or record for the related process. This should be a machine-readable release or record package containing the relevant ocid.",
"type": [
"string",
"null"
],
"format": "uri"
}
}
},
"Contract": {
"properties": {
"relatedProcesses": {
"title": "Related processes",
"description": "If this process is followed by one or more contracting processes, represented under a separate open contracting identifier (ocid) then details of the related process can be provided here. This is commonly used to point to subcontracts, or to renewal and replacement processes for this contract.",
"type": "array",
"items": {
"$ref": "#/definitions/RelatedProcess"
},
"uniqueItems": true
}
}
}
}
}