Linux puskom-ProLiant-DL385-Gen10 5.4.0-150-generic #167~18.04.1-Ubuntu SMP Wed May 24 00:51:42 UTC 2023 x86_64
/
usr
/
share
/
iso-codes
/
json
/
//usr/share/iso-codes/json/schema-3166-2.json
{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "ISO 3166-2", "description": "ISO 3166-2 country and subdivision codes", "type": "object", "properties": { "3166-2": { "type": "array", "items": { "type": "object", "properties": { "code": { "description": "Code of the country subset item", "type": "string", "pattern": "^[A-Z]{2}-[A-Z0-9]+$" }, "name": { "description": "Name of the country subset item", "type": "string", "minLength": 1 }, "parent": { "description": "Parent of the country subset item (optional)", "type": "string", "minLength": 1 }, "type": { "description": "Type of subset of the country", "type": "string" } } }, "required": ["code", "name", "type"], "additionalProperties": false } }, "additionalProperties": false }