This repository was 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
/
Copy pathrelease-schema.json
127 lines (127 loc) · 5.14 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"properties": {
"parties": {
"title": "Parties",
"description": "Information on the parties who are involved in the contracting process and their roles, e.g. buyer, procuring party, supplier etc. Organization references elsewhere in the schema refer to this list of parties.",
"type": "array",
"mergeStrategy": "arrayMergeById",
"mergeOptions": {
"idRef": "id"
},
"items": {
"$ref": "#/definitions/Organization"
},
"uniqueItems": true
},
"buyer": {
"$ref": "#/definitions/OrganizationReference"
}
},
"definitions": {
"OrganizationReference": {
"title": "Organization reference",
"type": "object",
"description": "The id and name of the party being referenced. Used to cross-reference to the parties section",
"required": [
"id",
"name"
],
"properties": {
"id": {
"title": "Organization ID",
"description": "The id of the party being referenced. This must match the id of an entry in the parties section",
"type": [
"string",
"integer"
],
"mergeStrategy": "overwrite"
},
"name": {
"title": "Organization name",
"description": "The name of the party being referenced. This must match the name of an entry in the parties section",
"type": [
"string",
"null"
],
"mergeStrategy": "ocdsVersion"
},
"additionalIdentifiers": {
"title": "Additional identifiers",
"description": "(Deprecated outside the parties section) A list of additional / supplemental identifiers for the organization, using the [organization identifier guidance](http://standard.open-contracting.org/latest/en/schema/identifiers/). This could be used to provide an internally used identifier for this organization in addition to the primary legal entity identifier.",
"type": "array",
"deprecated": {
"deprecatedVersion": "1.1",
"description": "From version 1.1, organisations should be referenced by their identifier and name in a document, and additional identifiers for an organisation should be provided in the relevant cross-referenced entry parties section at the top level of a release."
},
"items": {
"$ref": "#/definitions/Identifier"
},
"uniqueItems": true
},
"address": {
"title":"Address",
"description":"(Deprecated outside the parties section)",
"deprecated": {
"deprecatedVersion": "1.1",
"description": "From version 1.1, organisations should be referenced by their identifier and name in a document, and address information should only be provided in the relevant cross-referenced entry parties section at the top level of a release."
},
"$ref": "#/definitions/Address"
},
"contactPoint": {
"title":"Contact point",
"description":"(Deprecated outside the parties section)",
"deprecated": {
"deprecatedVersion": "1.1",
"description": "From version 1.1, organisations should be referenced by their identifier and name in a document, and contact point information for an organisation should be provided in the relevant cross-referenced entry parties section at the top level of a release."
},
"$ref": "#/definitions/ContactPoint"
}
}
},
"Tender": {
"properties": {
"tenderers": {
"items": {
"$ref": "#/definitions/OrganizationReference"
}
},
"procuringEntity": {
"$ref": "#/definitions/OrganizationReference"
}
}
},
"Award": {
"properties": {
"suppliers": {
"items": {
"$ref": "#/definitions/OrganizationReference"
}
}
}
},
"Organization": {
"properties": {
"id": {
"title": "Entity ID",
"description": "The ID used for cross-referencing to the parties section. This field may be built with the following structure {identifier.scheme}-{identifier.id}(-{department-identifier}).",
"type": [
"string"
]
},
"roles": {
"title": "Entity roles",
"description": "The party's role(s) in the contracting process. Role(s) should be taken from the [partyRole codelist](http://standard.open-contracting.org/latest/en/schema/codelists/#party-role). Values from the provided codelist should be used wherever possible, though extended values can be provided if the codelist does not have a relevant code.",
"type": "array",
"items": {
"type": "string"
}
},
"details":{
"title":"Details",
"description":"Additional classification information about parties can be provided using partyDetail extensions that define particular properties and classification schemes. This object is a placeholder until an extension is included.",
"type":["object","null"]
}
}
}
}
}