Updated schema - replaced regex pattern for country in index.yaml

The previous regex pattern under country was `^\\w{2}$` and this seemed to not work with the submission of two letter country codes

replaced it with the regex `^[a-z]{2}$` which is used for the same two letter code within the schema already
This commit is contained in:
niclaz 2024-09-05 16:16:05 +02:00 committed by GitHub
parent 9c45038899
commit 73df1f40e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ $defs:
type: string
country:
type: string
pattern: "^\\w{2}$"
pattern: "^[a-z]{2}$"
place:
type: string
place-address:
@ -118,7 +118,7 @@ $defs:
type: string
country:
type: string
pattern: '^[a-z]{2}$'
pattern: "^[a-z]{2}$"
refs:
type: object
additionalProperties: false