{
  "id": "co_vehicle_plate",
  "kind": "datatype",
  "status": "draft",
  "name": "Colombian vehicle registration plate",
  "doc": "Registration number on Colombian vehicle plates. Cars have three letters and three digits (ABC 123, since 1988; two letters and four digits before), motorcycles three letters, two digits and a letter (ABC 12D; older ones three letters and two digits), motor tricycles used as taxis (motocarros) three digits and three letters (123 ABC), trailers R and five digits. Diplomatic, police and air force plates have their own forms and are not covered. Registers write the plate with a hyphen, a space or nothing between letters and digits, sometimes in lower case.",
  "is_pii": false,
  "categories": [
    "transport"
  ],
  "country": [
    "CO"
  ],
  "langs": [
    "es"
  ],
  "classification": "identifier",
  "regexp": "^(?:[A-Z]{3}[ -]?\\d{3}|[A-Z]{3}[ -]?\\d{2}[A-Z]?|\\d{3}[ -]?[A-Z]{3}|[A-Z]{2}[ -]?\\d{4}|R[ -]?\\d{5})$",
  "examples": [
    {
      "value": "CAN732",
      "description": "car plate shown in Wikipedia",
      "valid": true
    },
    {
      "value": "DCZ84B",
      "description": "motorcycle plate shown in Wikipedia",
      "valid": true
    },
    {
      "value": "EYY-710",
      "description": "written with a hyphen",
      "valid": true
    },
    {
      "value": "AB12CD",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://es.wikipedia.org/wiki/Matrículas_automovilísticas_de_Colombia"
    }
  ],
  "translations": {
    "es": {
      "name": "Placa de vehículo (Colombia)"
    },
    "ru": {
      "name": "Регистрационный номер автомобиля (Колумбия)"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "covehicleplatebyname",
        "type": "field",
        "match": "regex",
        "file": "co/co_codes.yaml"
      },
      {
        "rule": "covehicleplatevalue",
        "type": "data",
        "match": "func",
        "file": "co/co_codes.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/CO/transport/co_vehicle_plate.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/CO/transport/co_vehicle_plate.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/CO/transport/co_vehicle_plate.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/co_vehicle_plate",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/co_vehicle_plate.json"
  }
}