Skip to content

Commit

Permalink
Update JsonSchema.kt (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
SchulzeStTSI authored Jun 16, 2021
1 parent eec1fc9 commit 68d247f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions decoder/src/main/java/dgca/verifier/app/decoder/JsonSchema.kt
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const val JSON_SCHEMA_V1 = "{\n" +
" \"issuer\": {\n" +
" \"description\": \"Certificate Issuer\",\n" +
" \"type\": [\"null\", \"string\"],\n" +
" \"maxLength\": 50\n" +
" \"maxLength\": 80\n" +
" },\n" +
" \"person_name\": {\n" +
" \"description\": \"Person name: Surname(s), given name(s) - in that order\",\n" +
Expand All @@ -108,7 +108,7 @@ const val JSON_SCHEMA_V1 = "{\n" +
" \"title\": \"Family name\",\n" +
" \"description\": \"The family or primary name(s) of the person addressed in the certificate\",\n" +
" \"type\": [\"null\", \"string\"],\n" +
" \"maxLength\": 50,\n" +
" \"maxLength\": 80,\n" +
" \"examples\": [\n" +
" \"d'Červenková Panklová\"\n" +
" ]\n" +
Expand All @@ -117,7 +117,7 @@ const val JSON_SCHEMA_V1 = "{\n" +
" \"title\": \"Standardised family name\",\n" +
" \"description\": \"The family name(s) of the person transliterated\",\n" +
" \"type\": \"string\",\n" +
" \"maxLength\": 50,\n" +
" \"maxLength\": 80,\n" +
" \"examples\": [\n" +
" \"DCERVENKOVA<PANKLOVA\"\n" +
" ]\n" +
Expand All @@ -126,7 +126,7 @@ const val JSON_SCHEMA_V1 = "{\n" +
" \"title\": \"Given name\",\n" +
" \"description\": \"The given name(s) of the person addressed in the certificate\",\n" +
" \"type\": [\"null\", \"string\"],\n" +
" \"maxLength\": 50,\n" +
" \"maxLength\": 80,\n" +
" \"examples\": [\n" +
" \"Jiřina-Maria Alena\"\n" +
" ]\n" +
Expand All @@ -135,7 +135,7 @@ const val JSON_SCHEMA_V1 = "{\n" +
" \"title\": \"Standardised given name\",\n" +
" \"description\": \"The given name(s) of the person transliterated\",\n" +
" \"type\": [\"null\", \"string\"],\n" +
" \"maxLength\": 50,\n" +
" \"maxLength\": 80,\n" +
" \"examples\": [\n" +
" \"JIRINA<MARIA<ALENA\"\n" +
" ]\n" +
Expand All @@ -145,7 +145,7 @@ const val JSON_SCHEMA_V1 = "{\n" +
" \"certificate_id\": {\n" +
" \"description\": \"Certificate Identifier, format as per UVCI: Annex 2 in https://ec.europa.eu/health/sites/health/files/ehealth/docs/vaccination-proof_interoperability-guidelines_en.pdf\",\n" +
" \"type\": [\"null\", \"string\"],\n" +
" \"maxLength\": 50\n" +
" \"maxLength\": 80\n" +
" },\n" +
" \"vaccination_entry\": {\n" +
" \"description\": \"Vaccination Entry\",\n" +
Expand Down Expand Up @@ -252,7 +252,7 @@ const val JSON_SCHEMA_V1 = "{\n" +
" \"tc\": {\n" +
" \"description\": \"Testing Centre\",\n" +
" \"type\": [\"null\", \"string\"],\n" +
" \"maxLength\": 50\n" +
" \"maxLength\": 80\n" +
" },\n" +
" \"co\": {\n" +
" \"description\": \"Country of Test\",\n" +
Expand Down

0 comments on commit 68d247f

Please sign in to comment.