Skip to content

Schema

Status: Draft

JSON Schema:

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"hcert": {
"type": "object",
"properties": {
"ver": {
"type": "string"
},
"nam": {
"type": "object",
"properties": {
"fn": {
"type": "string"
},
"gn": {
"type": "string"
}
},
"required": ["fn", "gn"]
},
"dob": {
"type": "string",
"format": "date"
},
"pid": {
"oid": {
"type": "string"
},
"id": {
"type": "string"
},
"required": ["oid","id"]
},
"v": {
"type": "array",
"items": {
"type": "object",
"properties": {
"reg": {
"type": "string"
},
"rep": {
"type": "integer"
},
"i": {
"type": "integer"
},
"a": {
"type": "integer"
},
"mp": {
"type": "integer"
}
},
"required": ["reg", "rep", "i", "a", "mp"]
}
}
},
"required": ["ver", "nam", "dob", "v"]
}
},
"required": ["hcert"]
}

Description:

FieldTypeExampleComment
verstring1.0.0Version of the structure
namstructBasic identity traits
fntstringDOEName
gntstringJohnFirst or usual given name
dobdate2017-07-19Date of birth
pidstructOptional person identifier
oidstring1.2.250.1.213.1.4.8OID for the identification scheme
idstring1630777186051Person identifier within the scheme
varrayVaccine administration records
regstringFRA3 letters code for a registry
repint5Index for a repository in a registry
iint1296Reference within a repository for a given date
aint1386Age in days when the vaccine was administered
mpint29NUVA code for the vaccine (here REPEVAX)

Full exemple:

{
"iss": "LU",
"exp:": "1954404675",
"iat": "1638871875",
"hcert": {
"ver": "1.0.0",
"nam": {
"fn": "DOE",
"gn": "John"
},
"dob": "2020-10-06",
"v": [
{"reg":"LUX","rep":1,"i": 9432,"a": 45,"mp": 514},
{"reg":"LUX","rep":1,"i": 6260,"a": 75,"mp": 514},
{"reg":"LUX","rep":1,"i": 9070,"a": 90,"mp": 14},
{"reg":"LUX","rep":1,"i": 1723,"a": 149,"mp": 510},
{"reg":"LUX","rep":1,"i": 88,"a": 164,"mp": 123},
{"reg":"LUX","rep":1,"i": 1115,"a": 331,"mp": 510},
{"reg":"LUX","rep":1,"i": 6428,"a": 359,"mp": 123}
]
}
}