{
  "additionalProperties": false,
  "properties": {
    "appClient": {
      "maxLength": 63,
      "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
      "type": "string",
      "x-lumen-description": {
        "en": "Set by a platform admin: this number serves every workspace of the app, and messages are routed by the sender's verified phone.",
        "he": "נקבע על ידי מנהל הפלטפורמה: המספר משרת את כל סביבות העבודה של האפליקציה, וההודעות מנותבות לפי הטלפון המאומת של השולח."
      },
      "x-lumen-title": {
        "en": "Shared number of the app",
        "he": "המספר המשותף של האפליקציה"
      }
    },
    "endpointId": {
      "type": "string",
      "x-lumen-generated": true,
      "x-lumen-title": {
        "en": "Endpoint id",
        "he": "מזהה נקודת הקצה"
      }
    },
    "phone": {
      "pattern": "^[1-9][0-9]{7,14}$",
      "type": "string",
      "x-lumen-description": {
        "en": "Digits with the country code, for the join link in members' profiles.",
        "he": "ספרות עם קידומת המדינה, לקישור ההצטרפות בפרופיל החברים."
      },
      "x-lumen-title": {
        "en": "The number",
        "he": "המספר"
      }
    },
    "platform": {
      "type": "boolean",
      "x-lumen-description": {
        "en": "Set by a platform admin: members join this number from their phone with /join and a code from their profile; it answers /stop, /start, /status and /help, writes only to members who joined, and holds questions overnight.",
        "he": "נקבע על ידי מנהל הפלטפורמה: חברים מצטרפים למספר מהטלפון עם /join וקוד מהפרופיל שלהם; המספר עונה ל-/stop, /start, /status ו-/help, כותב רק לחברים שהצטרפו, ומחזיק שאלות בלילה."
      },
      "x-lumen-title": {
        "en": "Lumen's own number",
        "he": "המספר של Lumen"
      }
    },
    "quietHours": {
      "additionalProperties": false,
      "properties": {
        "false": {
          "type": "boolean"
        },
        "from": {
          "pattern": "^[0-2][0-9]:[0-5][0-9]$",
          "type": "string"
        },
        "timeZone": {
          "maxLength": 64,
          "type": "string"
        },
        "to": {
          "pattern": "^[0-2][0-9]:[0-5][0-9]$",
          "type": "string"
        }
      },
      "type": "object",
      "x-lumen-description": {
        "en": "Questions asked in these hours wait and go out when they end. Lumen's own number keeps 22:00 to 07:00 Asia/Jerusalem unless set; {off: true} switches them off.",
        "he": "שאלות שנשאלות בשעות האלה ממתינות ונשלחות בסופן. במספר של Lumen ברירת המחדל היא 22:00 עד 07:00 שעון ישראל; {off: true} מבטל."
      },
      "x-lumen-title": {
        "en": "Quiet hours",
        "he": "שעות שקט"
      }
    },
    "verifyLanguage": {
      "maxLength": 15,
      "type": "string",
      "x-lumen-title": {
        "en": "Its language",
        "he": "השפה שלה"
      }
    },
    "verifyTemplate": {
      "maxLength": 512,
      "type": "string",
      "x-lumen-description": {
        "en": "The approved authentication template a shared number sends phone codes with.",
        "he": "תבנית האימות המאושרת שבה מספר משותף שולח קודים לאימות טלפון."
      },
      "x-lumen-title": {
        "en": "Phone verification template",
        "he": "תבנית אימות טלפון"
      }
    }
  },
  "type": "object"
}
