{
  "additionalProperties": false,
  "properties": {
    "buttons": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string",
            "x-lumen-title": {
              "en": "Answer id",
              "he": "מזהה התשובה"
            }
          },
          "title": {
            "maxLength": 20,
            "minLength": 1,
            "type": "string",
            "x-lumen-title": {
              "en": "Button",
              "he": "כפתור"
            }
          }
        },
        "required": [
          "id",
          "title"
        ],
        "type": "object"
      },
      "maxItems": 3,
      "minItems": 1,
      "type": "array",
      "x-lumen-title": {
        "en": "Buttons",
        "he": "כפתורים"
      }
    },
    "connectorRef": {
      "minLength": 1,
      "type": "string",
      "x-lumen-title": {
        "en": "Send from",
        "he": "לשלוח מ"
      },
      "x-lumen-widget": "connector-ref"
    },
    "text": {
      "maxLength": 1024,
      "minLength": 1,
      "type": "string",
      "x-lumen-title": {
        "en": "Message",
        "he": "הודעה"
      },
      "x-lumen-widget": "field-picker"
    },
    "to": {
      "maxLength": 200,
      "type": "string",
      "x-lumen-title": {
        "en": "To",
        "he": "אל"
      },
      "x-lumen-widget": "field-picker"
    },
    "toMember": {
      "maxLength": 320,
      "type": "string",
      "x-lumen-description": {
        "en": "Their email. They must have joined this number with their phone (Profile, WhatsApp).",
        "he": "האימייל שלהם. עליהם להצטרף למספר הזה עם הטלפון (פרופיל, וואטסאפ)."
      },
      "x-lumen-title": {
        "en": "To a member",
        "he": "אל חבר/ה בסביבת העבודה"
      },
      "x-lumen-widget": "field-picker"
    }
  },
  "required": [
    "text",
    "buttons"
  ],
  "type": "object"
}
