{
  "additionalProperties": false,
  "properties": {
    "auth": {
      "default": "none",
      "enum": [
        "none",
        "bearer",
        "basic",
        "apiKeyHeader",
        "apiKeyQuery"
      ],
      "type": "string",
      "x-lumen-credentials": {
        "apiKeyHeader": [
          "key"
        ],
        "apiKeyQuery": [
          "key"
        ],
        "basic": [
          "username",
          "password"
        ],
        "bearer": [
          "token"
        ]
      },
      "x-lumen-description": {
        "en": "The key or password is kept out of sight, apart from the connection.",
        "he": "המפתח או הסיסמה נשמרים מחוץ לטווח הראייה, בנפרד מהחיבור."
      },
      "x-lumen-options": {
        "apiKeyHeader": {
          "en": "API key in a header",
          "he": "מפתח API בכותרת"
        },
        "apiKeyQuery": {
          "en": "API key in the address",
          "he": "מפתח API בכתובת"
        },
        "basic": {
          "en": "User and password",
          "he": "משתמש וסיסמה"
        },
        "bearer": {
          "en": "Bearer token",
          "he": "טוקן (Bearer)"
        },
        "none": {
          "en": "No sign-in",
          "he": "ללא הזדהות"
        }
      },
      "x-lumen-title": {
        "en": "How it signs you in",
        "he": "איך מזדהים"
      }
    },
    "authName": {
      "maxLength": 64,
      "type": "string",
      "x-lumen-description": {
        "en": "For an API key, the header (X-Api-Key) or the address parameter (api_key) it goes in.",
        "he": "במפתח API, הכותרת (X-Api-Key) או הפרמטר בכתובת (api_key) שבהם הוא נשלח."
      },
      "x-lumen-title": {
        "en": "Header or parameter name",
        "he": "שם הכותרת או הפרמטר"
      }
    },
    "baseURL": {
      "minLength": 8,
      "type": "string",
      "x-lumen-description": {
        "en": "Where the API lives, for example https://api.example.com/v1. Calls add their path to it.",
        "he": "איפה ה-API נמצא, למשל https://api.example.com/v1. כל קריאה מוסיפה לו את הנתיב שלה."
      },
      "x-lumen-title": {
        "en": "Base address",
        "he": "כתובת בסיס"
      },
      "x-lumen-widget": "url"
    },
    "defaultHeaders": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object",
      "x-lumen-description": {
        "en": "One per line, as Name: value. Never put a key or a password here.",
        "he": "אחת בכל שורה, בצורה שם: ערך. לעולם לא מפתח או סיסמה כאן."
      },
      "x-lumen-title": {
        "en": "Headers on every call",
        "he": "כותרות בכל קריאה"
      },
      "x-lumen-widget": "key-value"
    }
  },
  "required": [
    "baseURL"
  ],
  "type": "object"
}
