---
id: "caextra"
kind: "datatype"
status: "stable"
is_pii: false
categories: ["companies"]
country: ["CA"]
langs: ["en"]
quality: 65
url: "http://registry.apicrafter.io/datatype/caextra"
---

# Extra-provincial registration number (`caextra`)

CA datatype for 'Extra-provincial registration number' (caextra) from rules in context 'companies'.

- Personal data (PII): no
- Categories: Companies/business/organizations (companies)
- Countries: Canada (CA)
- Languages: English (en)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^[A-Z]{2}-?[0-9]{4,6}$
```

## Examples

- `AB-1234` — Extra-provincial registration number with 2 letters, hyphen, and 4 digits
- `BC-12345` — Extra-provincial registration number with 2 letters, hyphen, and 5 digits
- `XY-123456` — Extra-provincial registration number with 2 letters, hyphen, and 6 digits
- `AB1234` — Extra-provincial registration number with 2 letters and 4 digits (no hyphen)

## Metacrafter rules

2 rules: 1 match the field name, 1 match values.

- `caextraProvfield` (field, `ca/ca_orgs.yaml`)
- `caextraProvvalue` (data, `ca/ca_orgs.yaml`)

## Supported by tools

- `metacrafter`

## Quality

Score 65/100. Missing: negative example, source link, mapping (Wikidata, Schema.org, ...), translation.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/caextra.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/CA/companies/caextra.yaml>
