{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/like-magic/main/json-schema/like-magic-post-api-unified-messaging-service-guest-conversations-send-message-r-schema.json",
  "title": "PostApiUnifiedMessagingServiceGuestConversationsSendMessageR",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/like-magic-openapi-generated.yml#/components/schemas/PostApiUnifiedMessagingServiceGuestConversationsSendMessageR",
  "type": "object",
  "properties": {
    "pmsPropertyId": {
      "type": "string"
    },
    "communicationChannel": {
      "type": "string",
      "description": "WHATSAPP, SMS or EMAIL"
    },
    "recipient": {
      "type": "object",
      "description": "Recipient information"
    },
    "recipient.contact": {
      "type": "string",
      "description": "Phone number in E.164 format for WhatsApp/SMS or email address for Email"
    },
    "template": {
      "type": "object",
      "description": "Template block"
    },
    "template.template": {
      "type": "string",
      "description": "Template identifier (e.g., NEW_CONVERSATION_1, CUSTOM_TEMPLATE_1)"
    },
    "template.languageCode": {
      "type": "string",
      "description": "Language code (de, en, fr, it, nl, da, default)"
    },
    "template.variables": {
      "type": "array",
      "description": "Array of variable objects"
    },
    "template.variables[].name": {
      "type": "string",
      "description": "Variable name expected by the template"
    },
    "template.variables[].value": {
      "type": "string",
      "description": "Value for the variable"
    }
  },
  "required": [
    "pmsPropertyId",
    "communicationChannel",
    "recipient",
    "recipient.contact",
    "template",
    "template.template",
    "template.languageCode",
    "template.variables",
    "template.variables[].name",
    "template.variables[].value"
  ]
}