{
  "id": "ca_fsa",
  "kind": "datatype",
  "status": "draft",
  "name": "Canadian forward sortation area (FSA)",
  "doc": "First three characters of a Canadian postal code (ca_postcode): letter, digit, letter, for example K1A. A forward sortation area is the area covered by all postal codes that start with these characters. The letter is a postal district within one province or territory, and a 0 as the digit marks a rural area. Statistics Canada and other publishers release data and boundary files by FSA when full postal codes would be too detailed.",
  "is_pii": false,
  "categories": [
    "geo"
  ],
  "country": [
    "CA"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^[ABCEGHJ-NPRSTVXY]\\d[ABCEGHJ-NPRSTV-Z]$",
  "examples": [
    {
      "value": "K1A",
      "description": "Ottawa",
      "valid": true
    },
    {
      "value": "T2P",
      "description": "Alberta (postal district T)",
      "valid": true
    },
    {
      "value": "X0A",
      "description": "Rural area (0 as the digit)",
      "valid": true
    },
    {
      "value": "D1A",
      "description": "D is never used",
      "valid": false
    },
    {
      "value": "K1A 0B1",
      "description": "Full postal code",
      "valid": false
    }
  ],
  "mappings": {
    "autotype": "canpost"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Postal_codes_in_Canada"
    },
    {
      "type": "other",
      "url": "https://github.com/congy/AutoType/blob/master/data_release/canpost.txt"
    }
  ],
  "translations": {
    "ru": {
      "name": "Зона сортировки почты Канады (FSA)",
      "doc": "Первые три символа канадского почтового индекса, обозначающие район сортировки почты."
    }
  },
  "detected_by": {
    "tools": [
      "autotype"
    ]
  },
  "quality": {
    "score": 100,
    "missing": []
  },
  "source": {
    "path": "data/datatypes/CA/geo/ca_fsa.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/CA/geo/ca_fsa.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/CA/geo/ca_fsa.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/ca_fsa",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/ca_fsa.json"
  }
}