This repository has been archived by the owner on Jul 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 59
/
DCC.Types.schema.json
171 lines (171 loc) · 5.26 KB
/
DCC.Types.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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://id.uvci.eu/DCC.Types.schema.json",
"title": "EU DCC",
"description": "EU Digital Covid Certificate Composite Data Types",
"$defs": {
"vaccination_entry": {
"description": "Vaccination Entry",
"required": [
"tg",
"vp",
"mp",
"ma",
"dn",
"sd",
"dt",
"co",
"is",
"ci"
],
"type": "object",
"properties": {
"tg": {
"description": "disease or agent targeted",
"$ref": "https://id.uvci.eu/DCC.ValueSets.schema.json#/$defs/disease-agent-targeted"
},
"vp": {
"description": "vaccine or prophylaxis",
"$ref": "https://id.uvci.eu/DCC.ValueSets.schema.json#/$defs/vaccine-prophylaxis"
},
"mp": {
"description": "vaccine medicinal product",
"$ref": "https://id.uvci.eu/DCC.ValueSets.schema.json#/$defs/vaccine-medicinal-product"
},
"ma": {
"description": "Marketing Authorization Holder - if no MAH present, then manufacturer",
"$ref": "https://id.uvci.eu/DCC.ValueSets.schema.json#/$defs/vaccine-mah-manf"
},
"dn": {
"description": "Dose Number",
"$ref": "https://id.uvci.eu/DCC.Core.Types.schema.json#/$defs/dose_posint"
},
"sd": {
"description": "Total Series of Doses",
"$ref": "https://id.uvci.eu/DCC.Core.Types.schema.json#/$defs/dose_posint"
},
"dt": {
"description": "ISO8601 complete date: Date of Vaccination",
"type": "string",
"format": "date"
},
"co": {
"description": "Country of Vaccination",
"$ref": "https://id.uvci.eu/DCC.ValueSets.schema.json#/$defs/country_vt"
},
"is": {
"description": "Certificate Issuer",
"$ref": "https://id.uvci.eu/DCC.Core.Types.schema.json#/$defs/issuer"
},
"ci": {
"description": "Unique Certificate Identifier: UVCI",
"$ref": "https://id.uvci.eu/DCC.Core.Types.schema.json#/$defs/certificate_id"
}
}
},
"test_entry": {
"description": "Test Entry",
"required": [
"tg",
"tt",
"sc",
"tr",
"co",
"is",
"ci"
],
"type": "object",
"properties": {
"tg": {
"description": "disease or agent targeted",
"$ref": "https://id.uvci.eu/DCC.ValueSets.schema.json#/$defs/disease-agent-targeted"
},
"tt": {
"description": "Type of Test",
"$ref": "https://id.uvci.eu/DCC.ValueSets.schema.json#/$defs/test-type"
},
"nm": {
"description": "NAA Test Name",
"type": "string",
"maxLength": 80
},
"ma": {
"description": "RAT Test name and manufacturer",
"$ref": "https://id.uvci.eu/DCC.ValueSets.schema.json#/$defs/test-manf"
},
"sc": {
"description": "Date/Time of Sample Collection",
"type": "string",
"format": "date-time"
},
"tr": {
"description": "Test Result",
"$ref": "https://id.uvci.eu/DCC.ValueSets.schema.json#/$defs/test-result"
},
"tc": {
"description": "Testing Centre",
"type": "string",
"maxLength": 80
},
"co": {
"description": "Country of Test",
"$ref": "https://id.uvci.eu/DCC.ValueSets.schema.json#/$defs/country_vt"
},
"is": {
"description": "Certificate Issuer",
"$ref": "https://id.uvci.eu/DCC.Core.Types.schema.json#/$defs/issuer"
},
"ci": {
"description": "Unique Certificate Identifier, UVCI",
"$ref": "https://id.uvci.eu/DCC.Core.Types.schema.json#/$defs/certificate_id"
}
}
},
"recovery_entry": {
"description": "Recovery Entry",
"required": [
"tg",
"fr",
"co",
"is",
"df",
"du",
"ci"
],
"type": "object",
"properties": {
"tg": {
"description": "disease or agent targeted",
"$ref": "https://id.uvci.eu/DCC.ValueSets.schema.json#/$defs/disease-agent-targeted"
},
"fr": {
"description": "ISO 8601 complete date of first positive NAA test result",
"type": "string",
"format": "date"
},
"co": {
"description": "Country of Test",
"$ref": "https://id.uvci.eu/DCC.ValueSets.schema.json#/$defs/country_vt"
},
"is": {
"description": "Certificate Issuer",
"$ref": "https://id.uvci.eu/DCC.Core.Types.schema.json#/$defs/issuer"
},
"df": {
"description": "ISO 8601 complete date: Certificate Valid From",
"type": "string",
"format": "date"
},
"du": {
"description": "ISO 8601 complete date: Certificate Valid Until",
"type": "string",
"format": "date"
},
"ci": {
"description": "Unique Certificate Identifier, UVCI",
"$ref": "https://id.uvci.eu/DCC.Core.Types.schema.json#/$defs/certificate_id"
}
}
}
}
}