NumberReservation
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 |
|---|---|---|---|
expires_at | string (date-time) | Optional | — |
id | string | Optional | Public nres_… reference (not a UUID). pattern: ^nres_[0-7][0-9A-HJKMNP-TV-Z]{25}$ |
monthly_cost_micros | anyOf: string; null | Optional | — |
phone_number | string | Optional | pattern: ^\+[1-9][0-9]{6,14}$ |
upfront_cost_micros | string | Optional | Integer USD micros as a decimal string; $1 = 1000000 micros. pattern: ^[0-9]+$ |
JSON Schema
json
{
"additionalProperties": true,
"properties": {
"expires_at": {
"format": "date-time",
"type": "string"
},
"id": {
"description": "Public nres_… reference (not a UUID)",
"pattern": "^nres_[0-7][0-9A-HJKMNP-TV-Z]{25}$",
"type": "string"
},
"monthly_cost_micros": {
"anyOf": [
{
"description": "Integer USD micros as a decimal string; $1 = 1000000 micros",
"pattern": "^[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
},
"phone_number": {
"examples": [
"+12125550101"
],
"pattern": "^\\+[1-9][0-9]{6,14}$",
"type": "string"
},
"upfront_cost_micros": {
"description": "Integer USD micros as a decimal string; $1 = 1000000 micros",
"pattern": "^[0-9]+$",
"type": "string"
}
},
"type": "object"
}