mirror of
https://github.com/web3privacy/data
synced 2024-10-15 18:16:28 +02:00
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:
parent
9c45038899
commit
73df1f40e7
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue