{
  "id": "maidenhead_locator",
  "kind": "datatype",
  "status": "draft",
  "name": "Maidenhead locator (QTH locator)",
  "doc": "Grid square of the Maidenhead Locator System, used by radio amateurs to give a station position; the IARU adopted it in 1980. Pairs of characters give longitude then latitude: a field of two letters A to R (20 by 10 degrees), a square of two digits, a subsquare of two letters A to X and an extended square of two digits, giving two, four, six or eight characters. Field letters are upper case; subsquare letters are often written in lower case. A two-character locator looks like many other two-letter codes.",
  "is_pii": false,
  "categories": [
    "geo"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^[A-R]{2}(?:\\d{2}(?:[A-Xa-x]{2}(?:\\d{2})?)?)?$",
  "examples": [
    {
      "value": "FN31pr",
      "description": "Station W1AW of the ARRL in Newington, Connecticut (Wikipedia)",
      "valid": true
    },
    {
      "value": "KN28LH",
      "description": "Six-character locator from Wikipedia",
      "valid": true
    },
    {
      "value": "BL11BH16",
      "description": "Eight-character locator from Wikipedia",
      "valid": true
    },
    {
      "value": "FN31",
      "description": "Four-character square",
      "valid": true
    },
    {
      "value": "SN31",
      "description": "Field letters end at R",
      "valid": false
    },
    {
      "value": "FN31PZ",
      "description": "Subsquare letters end at X",
      "valid": false
    },
    {
      "value": "FN3",
      "description": "Odd number of characters",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Maidenhead_Locator_System"
    }
  ],
  "quality": {
    "score": 75,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/geo/maidenhead_locator.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/geo/maidenhead_locator.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/geo/maidenhead_locator.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/maidenhead_locator",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/maidenhead_locator.json"
  }
}