{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/sinch/main/json-schema/sinch-create-contact-request-schema.json", "title": "CreateContactRequest", "x-generated": "2026-10-03", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/sinch-contacts-api-openapi.yml#/components/schemas/CreateContactRequest", "type": "object", "required": [ "channel_identities" ], "properties": { "display_name": { "type": "string", "description": "The display name" }, "email": { "type": "string", "format": "email", "description": "The email address" }, "external_id": { "type": "string", "description": "An external identifier" }, "language": { "type": "string", "description": "The preferred language" }, "metadata": { "type": "string", "description": "Contact metadata" }, "channel_identities": { "type": "array", "description": "Channel identities", "items": { "$ref": "#/$defs/ChannelIdentity" } } }, "$defs": { "ChannelIdentity": { "type": "object", "properties": { "channel": { "type": "string", "enum": [ "SMS", "RCS", "WHATSAPP", "MESSENGER", "INSTAGRAM", "VIBER", "VIBERBM", "TELEGRAM", "KAKAOTALK", "LINE", "MMS" ], "description": "The channel type" }, "identity": { "type": "string", "description": "The channel-specific identity" }, "app_id": { "type": "string", "description": "The app ID for the channel" } } } } }