Skip to content

Commit

Permalink
missal_id should now use ISO 3166 for nation
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRDOrazio committed Oct 15, 2024
1 parent 47503c5 commit c7e29e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions schemas/CommonDef.json
Original file line number Diff line number Diff line change
Expand Up @@ -256,10 +256,10 @@
"EDITIO_TYPICA_1975",
"EDITIO_TYPICA_2002",
"EDITIO_TYPICA_2008",
"USA_2011",
"ITALY_1983",
"ITALY_2020",
"NETHERLANDS_1978"
"US_2011",
"IT_1983",
"IT_2020",
"NL_1978"
]
},
"MissalName": {
Expand Down
4 changes: 2 additions & 2 deletions schemas/LitCalMissalsPath.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"properties": {
"missal_id": {
"type": "string",
"pattern": "^(EDITIO_TYPICA|ITALY|USA|NETHERLANDS)_(19[7-9]|[2-9][0-9][0-9])[0-9]$"
"pattern": "^(EDITIO_TYPICA|IT|US|NL)_(19[7-9]|[2-9][0-9][0-9])[0-9]$"
},
"name": {
"type": "string"
Expand Down Expand Up @@ -73,7 +73,7 @@
"api_path": {
"type": "string",
"format": "uri",
"pattern": "https?:\\\/\\\/litcal\\.johnromanodorazio\\.com\\\/api\\\/(dev|v[3-9])\\\/missals\\\/(EDITIO_TYPICA|ITALY|USA|NETHERLANDS)_(19[7-9]|[2-9][0-9][0-9])[0-9]$"
"pattern": "https?:\\\/\\\/litcal\\.johnromanodorazio\\.com\\\/api\\\/(dev|v[3-9])\\\/missals\\\/(EDITIO_TYPICA|IT|US|NL)_(19[7-9]|[2-9][0-9][0-9])[0-9]$"
}
},
"required": [
Expand Down

0 comments on commit c7e29e3

Please sign in to comment.