forked from contratacionesabiertas/ocds_guarantees_extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
release-schema.json
79 lines (79 loc) · 2.48 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
{
"definitions": {
"Guarantee": {
"title": "Guarantee",
"description": "Information of the guarantee used to ensure compliance with the terms of a contract.",
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"title": "Guarantee ID",
"description": "A local identifier for this guarantee, unique within this block.",
"type": [
"string",
"integer"
],
"minLength": 1
},
"type": {
"title": "Guarantee type",
"description": "Specify the guarantee type for this contract using the [guaranteeType](https://github.com/INAImexico/ocds_guarantees_extension/blob/master/codelists/guaranteeType.csv) codelist.",
"type": [
"string",
"null"
],
"codelist": "guaranteeType.csv",
"openCodelist": true
},
"date": {
"title": "Guarantee date",
"description": "The date of the guarantee. This is the date on which the guarantee is issued.",
"type": [
"string",
"null"
],
"format": "date-time"
},
"obligations": {
"title": "Guaranteed obligations",
"description": "Specify the type of obligations that are guaranteed, using the [obligationType](https://github.com/INAImexico/ocds_guarantees_extension/blob/master/codelists/guaranteedObligations.csv) codelist.",
"type": [
"string",
"null"
],
"codelist": "guaranteedObligations.csv",
"openCodelist": true
},
"value": {
"title": "Guarantee value",
"description": "Total amount of the guarantee.",
"$ref": "#/definitions/Value"
},
"guarantor": {
"title": "Guarantor",
"description": "Institution that issues the guarantee.",
"$ref": "#/definitions/OrganizationReference"
},
"period": {
"title": "Guarantee period",
"description": "The period on which this quote is valid.",
"$ref": "#/definitions/Period"
}
}
},
"Contract": {
"properties": {
"guarantees": {
"title": "Guarantees",
"description": "A list of the guarantees given for this contract.",
"type": "array",
"items": {
"$ref": "#/definitions/Guarantee"
}
}
}
}
}
}