{
    "format": "csv",
    "definitions": {},
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "http://example.com/root.json",
    "type": "object",
    "title": "Gras Country Schema",
    "required": [
        "country_key",
        "country_name",
        "isrc_country_code",
        "iso_3166_A3_country_code",
        "iso_3166_N_country_code",
        "is_active_flag",
        "is_main_iso_A2_country",
        "mod_stamp",
        "mod_flag"
    ],
    "properties": {
        "country_key": {
            "$id": "#/properties/country_key",
            "type": "string",
            "title": "country_key",
            "default": "",
            "examples": [
                "ABW"
            ],
            "pattern": "^[A-Z]+$"
        },
        "country_name": {
            "$id": "#/properties/country_name",
            "type": "string",
            "title": "country_name",
            "default": "",
            "examples": [
                "Afghanistan"
            ],
            "pattern": "^(.*)$"
        },
        "isrc_country_code": {
            "$id": "#/properties/isrc_country_code",
            "type": "string",
            "title": "isrc_country_code",
            "default": "",
            "examples": [
                "AW"
            ],
            "pattern": "^[A-Z]+$"
        },
        "iso_3166_A3_country_code": {
            "$id": "#/properties/iso_3166_A3_country_code",
            "type": "string",
            "title": "iso_3166_A3_country_code",
            "default": "",
            "examples": [
                "ABW"
            ],
            "pattern": "^[A-Z]+$"
        },
        "iso_3166_N_country_code": {
            "$id": "#/properties/iso_3166_N_country_code",
            "type": "string",
            "title": "iso_3166_N_country_code",
            "default": "",
            "examples": [
                "Y",
                "N"
            ],
            "pattern": "^[YN]$"
        },
        "is_active_flag": {
            "$id": "#/properties/is_active_flag",
            "type": "string",
            "title": "is_active_flag",
            "default": "",
            "examples": [
                "Y",
                "N"
            ],
            "pattern": "^[YN]$"
        },
        "is_main_iso_A2_country": {
            "$id": "#/properties/is_main_iso_A2_country",
            "type": "string",
            "title": "is_main_iso_A2_country",
            "default": "",
            "examples": [
                "Y",
                "N"
            ],
            "pattern": "^[YN]$"
        },
        "mod_stamp": {
            "$id": "#/properties/mod_stamp",
            "type": "string",
            "title": "mod_stamp",
            "examples": [
                "1995-12-12 10:08:34.227",
                "1995-12-12 10:08:34.227"
            ],
            "pattern": "\\d{4}-\\d{2}-\\d{2}\\s\\d{2}:\\d{2}:\\d{2}\\.\\d+"
        },
        "mod_flag": {
            "$id": "#/properties/mod_flag",
            "type": "string",
            "title": "mod_flag",
            "examples": [
                "l"
            ],
            "pattern": "^[A-Za-z]{1}$"
        }
    }
}
