PriceList
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 |
|---|---|---|---|
currency | USD | Optional | — |
effective_at | string | Optional | — |
minimum_top_up_micros | string | Optional | Integer USD micros as a decimal string; $1 = 1000000 micros. pattern: ^[0-9]+$ |
number | object | Optional | Additional properties allowed |
number.monthly | object | Optional | Additional properties allowed |
number.monthly.micros | anyOf: string; null | Optional | — |
number.monthly.priced_per_item | boolean | Optional | — |
number.upfront | object | Optional | Additional properties allowed |
number.upfront.micros | anyOf: string; null | Optional | — |
number.upfront.priced_per_item | boolean | Optional | — |
object | Exactly price_list | Required | — |
plan | object | Optional | Additional properties allowed |
plan.max_lines | anyOf: integer; null | Optional | — |
plan.monthly_micros | string | Optional | Integer USD micros as a decimal string; $1 = 1000000 micros. pattern: ^[0-9]+$ |
recording | object | Optional | Additional properties allowed |
registration | object | Optional | Additional properties follow the schema below |
sms | Array of object | Optional | — |
speech | anyOf: object; null | Optional | — |
transfer | object | Optional | Additional properties allowed |
version | string | Required | — |
voice | Array of object | Optional | — |
JSON Schema
json
{
"additionalProperties": true,
"properties": {
"currency": {
"enum": [
"USD"
],
"type": "string"
},
"effective_at": {
"type": "string"
},
"minimum_top_up_micros": {
"description": "Integer USD micros as a decimal string; $1 = 1000000 micros",
"pattern": "^[0-9]+$",
"type": "string"
},
"number": {
"additionalProperties": true,
"properties": {
"monthly": {
"additionalProperties": true,
"properties": {
"micros": {
"anyOf": [
{
"description": "Integer USD micros as a decimal string; $1 = 1000000 micros",
"pattern": "^[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
},
"priced_per_item": {
"type": "boolean"
}
},
"type": "object"
},
"upfront": {
"additionalProperties": true,
"properties": {
"micros": {
"anyOf": [
{
"description": "Integer USD micros as a decimal string; $1 = 1000000 micros",
"pattern": "^[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
},
"priced_per_item": {
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
},
"object": {
"const": "price_list"
},
"plan": {
"additionalProperties": true,
"properties": {
"max_lines": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"monthly_micros": {
"description": "Integer USD micros as a decimal string; $1 = 1000000 micros",
"pattern": "^[0-9]+$",
"type": "string"
}
},
"type": "object"
},
"recording": {
"additionalProperties": true,
"properties": {},
"type": "object"
},
"registration": {
"additionalProperties": {
"additionalProperties": true,
"properties": {
"micros": {
"anyOf": [
{
"description": "Integer USD micros as a decimal string; $1 = 1000000 micros",
"pattern": "^[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
},
"priced_per_item": {
"type": "boolean"
}
},
"type": "object"
},
"type": "object"
},
"sms": {
"items": {
"additionalProperties": true,
"properties": {},
"type": "object"
},
"type": "array"
},
"speech": {
"anyOf": [
{
"additionalProperties": true,
"properties": {
"incrementSeconds": {
"minimum": 0,
"type": "integer"
},
"minimumSeconds": {
"minimum": 0,
"type": "integer"
},
"perMinuteMicros": {
"description": "Integer USD micros as a decimal string; $1 = 1000000 micros",
"pattern": "^[0-9]+$",
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"transfer": {
"additionalProperties": true,
"properties": {},
"type": "object"
},
"version": {
"type": "string"
},
"voice": {
"items": {
"additionalProperties": true,
"properties": {},
"type": "object"
},
"type": "array"
}
},
"required": [
"object",
"version"
],
"type": "object"
}