{
  "id": "caextra",
  "kind": "datatype",
  "status": "stable",
  "name": "Extra-provincial registration number",
  "doc": "CA datatype for 'Extra-provincial registration number' (caextra) from rules in context 'companies'.",
  "is_pii": false,
  "categories": [
    "companies"
  ],
  "country": [
    "CA"
  ],
  "langs": [
    "en"
  ],
  "classification": "identifier",
  "regexp": "^[A-Z]{2}-?[0-9]{4,6}$",
  "examples": [
    {
      "value": "AB-1234",
      "description": "Extra-provincial registration number with 2 letters, hyphen, and 4 digits",
      "valid": true
    },
    {
      "value": "BC-12345",
      "description": "Extra-provincial registration number with 2 letters, hyphen, and 5 digits",
      "valid": true
    },
    {
      "value": "XY-123456",
      "description": "Extra-provincial registration number with 2 letters, hyphen, and 6 digits",
      "valid": true
    },
    {
      "value": "AB1234",
      "description": "Extra-provincial registration number with 2 letters and 4 digits (no hyphen)",
      "valid": true
    }
  ],
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "caextraProvfield",
        "type": "field",
        "match": "text",
        "file": "ca/ca_orgs.yaml"
      },
      {
        "rule": "caextraProvvalue",
        "type": "data",
        "match": "ppr",
        "file": "ca/ca_orgs.yaml"
      }
    ]
  },
  "quality": {
    "score": 65,
    "missing": [
      "negative example",
      "source link",
      "mapping (Wikidata, Schema.org, ...)",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/CA/companies/caextra.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/CA/companies/caextra.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/CA/companies/caextra.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/caextra",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/caextra.json"
  }
}