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

View file

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