{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/teliax/main/json-schema/teliax-github-com-ringer-warp-api-gateway-internal-models-assignment-schema.json", "title": "github_com_ringer-warp_api-gateway_internal_models.Assignment", "x-generated": "2026-10-09", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/teliax-warp-openapi.yml#/components/schemas/github_com_ringer-warp_api-gateway_internal_models.Assignment", "type": "object", "properties": { "acquired_at": { "type": "string" }, "cnam_display_name": { "type": "string" }, "cnam_enabled": { "description": "Service settings are list-only; a missing voice usage means disabled.", "type": "boolean" }, "created_at": { "type": "string" }, "customer_id": { "type": "string" }, "description": { "type": "string" }, "e911_enabled": { "type": "boolean" }, "friendly_name": { "type": "string" }, "id": { "type": "string" }, "locality": { "type": "string" }, "monthly_rate_at_assignment": { "description": "Monthly recurring rate captured at the time this number was assigned.", "type": "number" }, "npa": { "type": "string" }, "number_type": { "description": "did | tfn", "type": "string" }, "nxx": { "type": "string" }, "procurement_note": { "type": "string" }, "procurement_request_id": { "type": "string" }, "provider": { "description": "Provider records which upstream supplies this TN (IQNT DID integration).\nDeliberately wire-visible — the cart/search flow already surfaces it.", "type": "string" }, "release_reason": { "type": "string" }, "released_at": { "type": "string" }, "sms_usage": { "description": "SMS summary for list rows; null on single-number reads — use the\nembedded sms_usage there.", "allOf": [ { "$ref": "#/$defs/github_com_ringer-warp_api-gateway_internal_models.SmsUsage" } ] }, "source": { "description": "procure | port_in | claim", "type": "string" }, "state": { "type": "string" }, "status": { "description": "active | released", "type": "string" }, "tn": { "type": "string" }, "tniq_application_id": { "type": "string" }, "tniq_last_sync_at": { "type": "string" }, "trunk_id": { "type": "string" }, "trunk_name": { "type": "string" }, "updated_at": { "type": "string" }, "voice_routing_type": { "description": "Voice-routing summary for list rows; null on single-number reads — use\nthe embedded voice_usage there.", "type": "string" } }, "$defs": { "github_com_ringer-warp_api-gateway_internal_models.SmsUsage": { "type": "object", "properties": { "assignment_id": { "type": "string" }, "campaign_source": { "type": "string" }, "created_at": { "type": "string" }, "fallback_inbound_url": { "type": "string" }, "inbound_webhook_secret": { "type": "string" }, "inbound_webhook_url": { "type": "string" }, "messaging_last_sync_at": { "type": "string" }, "messaging_status": { "type": "string" }, "mms_enabled": { "type": "boolean" }, "tniq_brand_id": { "type": "string" }, "tniq_campaign_id": { "type": "string" }, "updated_at": { "type": "string" } } } } }