-
Notifications
You must be signed in to change notification settings - Fork 859
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b9fc077
commit 4daf7f4
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"title": "countryReplacements.json", | ||
"description": "JSON Schema for config/countryReplacements.json", | ||
"$comment": "The contents of this file should contain simple ISO 3166-1 alpha-2 replacements that can be done in bulk.", | ||
"type": "object", | ||
"additionalProperties": false, | ||
"required": ["replacements"], | ||
"properties": { | ||
|
||
"replacements": { | ||
"description": "(required) Legacy ISO 3166-1 alpha-2 identifiers that should be replaced with new ISO 3166-1 alpha-2 identifiers.", | ||
"type": "object", | ||
"additionalProperties": false, | ||
"patternProperties": { | ||
|
||
"^[a-z][a-z]$": { | ||
"description": "(required) The legacy ISO 3166-1 alpha-2 identifier.", | ||
"type": "object", | ||
"additionalProperties": false, | ||
"required": ["country"], | ||
"properties": { | ||
|
||
"country": { | ||
"description": "(required) The replacement ISO 3166-1 alpha-2 identifier.", | ||
"type": "string" | ||
}, | ||
|
||
"note": { | ||
"description": "(optional) An optional note - can contain anything about the item.", | ||
"type": "string" | ||
} | ||
|
||
} | ||
} | ||
|
||
} | ||
} | ||
|
||
} | ||
} |