Skip to content

Commit

Permalink
Updated Json validation library and schema (eu-digital-green-certific…
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandrsarapulovgl authored Jun 9, 2021
1 parent b9ba5b3 commit 63a1eb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions decoder/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ dependencies {
implementation Deps.kotlin_reflect
implementation Deps.java_cose
implementation Deps.json_validation
implementation Deps.json_validation_rhino
implementation Deps.jackson_cbor
implementation Deps.bouncy_castle

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const val JSON_SCHEMA_V1 = "{\n" +
" \"title\": \"Date of birth\",\n" +
" \"description\": \"Date of Birth of the person addressed in the DGC. ISO 8601 date format restricted to range 1900-2099\",\n" +
" \"type\": \"string\",\n" +
" \"format\": \"date\",\n" +
" \"pattern\": \"^(19|20)\\\\d{2}(-\\\\d{2}(-\\\\d{2}(T\\\\d{2}:\\\\d{2}:\\\\d{2})?)?)?\$\",\n" +
" \"examples\": [\n" +
" \"1979-04-14\"\n" +
" ]\n" +
Expand Down

0 comments on commit 63a1eb3

Please sign in to comment.