{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vhishongkong-com/json-schema/vhishongkong-com-send-in-schema.json",
  "title": "SendIn",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vhishongkong-com-openapi.json#/components/schemas/SendIn",
  "properties": {
    "channel": {
      "type": "string",
      "pattern": "^(whatsapp|email)$",
      "title": "Channel"
    },
    "to": {
      "type": "string",
      "maxLength": 160,
      "title": "To"
    },
    "name": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 120
        },
        {
          "type": "null"
        }
      ],
      "title": "Name",
      "default": ""
    },
    "consent": {
      "type": "boolean",
      "title": "Consent",
      "default": false
    },
    "profile": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Profile"
    },
    "options": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 3,
      "minItems": 1,
      "title": "Options"
    },
    "link": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 600
        },
        {
          "type": "null"
        }
      ],
      "title": "Link"
    }
  },
  "type": "object",
  "required": [
    "channel",
    "to",
    "options"
  ]
}