{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/sinch/main/json-schema/sinch-rent-number-request-schema.json", "title": "RentNumberRequest", "x-generated": "2026-10-03", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/sinch-available-numbers-api-openapi.yml#/components/schemas/RentNumberRequest", "type": "object", "properties": { "smsConfiguration": { "$ref": "#/$defs/SmsConfiguration" }, "voiceConfiguration": { "$ref": "#/$defs/VoiceConfiguration" }, "callbackUrl": { "type": "string", "format": "uri", "description": "Callback URL for the number" } }, "$defs": { "SmsConfiguration": { "type": "object", "properties": { "servicePlanId": { "type": "string", "description": "The SMS service plan ID to associate" }, "campaignId": { "type": "string", "description": "The campaign ID for 10DLC" }, "scheduledProvisioning": { "type": "object", "description": "Scheduled provisioning details", "properties": { "servicePlanId": { "type": "string", "description": "Target service plan ID" }, "campaignId": { "type": "string", "description": "Target campaign ID" }, "status": { "type": "string", "description": "Provisioning status" } } } } }, "VoiceConfiguration": { "type": "object", "properties": { "appId": { "type": "string", "description": "The Voice API app ID to associate" }, "scheduledVoiceProvisioning": { "type": "object", "description": "Scheduled voice provisioning details", "properties": { "appId": { "type": "string", "description": "Target app ID" }, "status": { "type": "string", "description": "Provisioning status" } } } } } } }