Port
Type: object
Required means required within its containing object, when that object is present. Union/conditional constraints remain defined by the JSON Schema below.
| Field | Type | Presence | Description / constraints |
|---|---|---|---|
attention_reasons | Array of string | Optional | — |
carrier_refs | Array of string | Optional | — |
confirmed_at | anyOf: string (date-time); null | Optional | — |
documents | object | Optional | Additional properties allowed |
documents.invoice | boolean | Optional | — |
documents.loa | boolean | Optional | — |
end_user_provided | boolean | Optional | — |
id | string | Required | Public port_… reference (not a UUID). pattern: ^port_[0-7][0-9A-HJKMNP-TV-Z]{25}$ |
number | anyOf: string; null | Optional | — |
org | string | Optional | Public org_… reference (not a UUID). pattern: ^org_[0-7][0-9A-HJKMNP-TV-Z]{25}$ |
phone_number | string | Optional | pattern: ^\+[1-9][0-9]{6,14}$ |
status | submitted, draft, pending, needs_attention, cancel_pending, activated, rejected, canceled | Required | — |
JSON Schema
json
{
"additionalProperties": true,
"properties": {
"attention_reasons": {
"items": {
"type": "string"
},
"type": "array"
},
"carrier_refs": {
"items": {
"type": "string"
},
"type": "array"
},
"confirmed_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"documents": {
"additionalProperties": true,
"properties": {
"invoice": {
"type": "boolean"
},
"loa": {
"type": "boolean"
}
},
"type": "object"
},
"end_user_provided": {
"type": "boolean"
},
"id": {
"description": "Public port_… reference (not a UUID)",
"pattern": "^port_[0-7][0-9A-HJKMNP-TV-Z]{25}$",
"type": "string"
},
"number": {
"anyOf": [
{
"description": "Public num_… reference (not a UUID)",
"pattern": "^num_[0-7][0-9A-HJKMNP-TV-Z]{25}$",
"type": "string"
},
{
"type": "null"
}
]
},
"org": {
"description": "Public org_… reference (not a UUID)",
"pattern": "^org_[0-7][0-9A-HJKMNP-TV-Z]{25}$",
"type": "string"
},
"phone_number": {
"examples": [
"+12125550101"
],
"pattern": "^\\+[1-9][0-9]{6,14}$",
"type": "string"
},
"status": {
"enum": [
"submitted",
"draft",
"pending",
"needs_attention",
"cancel_pending",
"activated",
"rejected",
"canceled"
],
"type": "string"
}
},
"required": [
"id",
"status"
],
"type": "object"
}