{
  "id": "ch_canton",
  "name": "Swiss canton",
  "status": "draft",
  "doc": "Name of one of the 26 cantons of Switzerland, such as Zürich, Bern or Ticino, in German, French, Italian or English. The two-letter abbreviation is the pattern ch_canton_code.",
  "categories": [
    {
      "id": "geo",
      "name": "Geographic identifiers"
    },
    {
      "id": "government",
      "name": "Government related"
    }
  ],
  "country": [
    {
      "id": "CH",
      "name": "Switzerland"
    }
  ],
  "langs": [
    {
      "id": "de",
      "name": "German"
    },
    {
      "id": "fr",
      "name": "French"
    },
    {
      "id": "it",
      "name": "Italian"
    }
  ],
  "is_pii": false,
  "classification": "categorical",
  "examples": [
    {
      "value": "Zürich"
    },
    {
      "value": "Genève"
    },
    {
      "value": "Ticino"
    }
  ],
  "mappings": {
    "fta": "STATE_PROVINCE.CANTON_NAME_CH"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Cantons_of_Switzerland"
    },
    {
      "type": "other",
      "url": "https://github.com/tsegall/fta/blob/main/SemanticTypes.md"
    }
  ],
  "translations": {
    "ru": {
      "name": "Кантон Швейцарии"
    }
  },
  "type": "datatype",
  "patterns": [
    {
      "id": "ch_canton_code",
      "name": "Swiss canton abbreviation",
      "status": "draft",
      "doc": "Two-letter abbreviation of a Swiss canton, such as ZH (Zürich), BE (Bern) or TI (Ticino). It is used on vehicle plates and in ISO 3166-2:CH after CH-.",
      "semantic_type": "ch_canton",
      "country": [
        {
          "id": "CH",
          "name": "Switzerland"
        }
      ],
      "regexp": "^(?:AG|AI|AR|BE|BL|BS|FR|GE|GL|GR|JU|LU|NE|NW|OW|SG|SH|SO|SZ|TG|TI|UR|VD|VS|ZG|ZH)$",
      "examples": [
        {
          "value": "ZH",
          "description": "Zürich"
        },
        {
          "value": "GE",
          "description": "Geneva"
        },
        {
          "value": "TI",
          "description": "Ticino"
        },
        {
          "value": "CH",
          "valid": false,
          "description": "the country code"
        }
      ],
      "mappings": {
        "fta": "STATE_PROVINCE.CANTON_CH"
      },
      "links": [
        {
          "type": "wikipedia",
          "url": "https://en.wikipedia.org/wiki/Cantons_of_Switzerland"
        },
        {
          "type": "other",
          "url": "https://github.com/tsegall/fta/blob/main/SemanticTypes.md"
        }
      ],
      "translations": {
        "ru": {
          "name": "Сокращение кантона Швейцарии"
        }
      },
      "type": "pattern",
      "is_pii": false,
      "categories": [
        {
          "id": "geo",
          "name": "Geographic identifiers"
        },
        {
          "id": "government",
          "name": "Government related"
        }
      ],
      "classification": "categorical"
    }
  ]
}