{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/telnyx/main/json-schema/telnyx-monthly-charges-breakdown-response-schema.json", "title": "MonthlyChargesBreakdownResponse", "x-generated": "2026-10-08", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/telnyx-charges-breakdown-api-openapi.yml#/components/schemas/MonthlyChargesBreakdownResponse", "properties": { "data": { "$ref": "#/$defs/BreakdownData" } }, "required": [ "data" ], "type": "object", "$defs": { "BreakdownData": { "properties": { "currency": { "description": "Currency code", "type": "string" }, "end_date": { "description": "End date of the breakdown period", "format": "date", "type": "string" }, "results": { "description": "List of phone number charge breakdowns", "items": { "$ref": "#/$defs/NumberBreakdownResult" }, "type": "array" }, "start_date": { "description": "Start date of the breakdown period", "format": "date", "type": "string" }, "user_email": { "description": "User email address", "format": "email", "type": "string" }, "user_id": { "description": "User identifier", "type": "string" } }, "required": [ "user_id", "start_date", "end_date", "user_email", "currency", "results" ], "type": "object" }, "NumberBreakdownResult": { "properties": { "charge_type": { "description": "Type of charge for the number", "type": "string" }, "service_owner_email": { "description": "Email address of the service owner", "format": "email", "type": "string" }, "service_owner_user_id": { "description": "User ID of the service owner", "type": "string" }, "services": { "description": "List of services associated with this number", "items": { "$ref": "#/$defs/ServiceDetail" }, "type": "array" }, "tn": { "description": "Phone number", "type": "string" } }, "required": [ "tn", "charge_type", "service_owner_user_id", "service_owner_email", "services" ], "type": "object" }, "ServiceDetail": { "properties": { "cost": { "description": "Cost per unit as decimal string", "type": "string" }, "cost_type": { "description": "Type of cost (MRC or OTC)", "type": "string" }, "name": { "description": "Service name", "type": "string" } }, "required": [ "cost_type", "name", "cost" ], "type": "object" } } }