{
  "additionalProperties": false,
  "properties": {
    "appId": {
      "pattern": "^[1-9][0-9]{0,15}$",
      "type": "string",
      "x-lumen-description": {
        "en": "The number on the app's settings page, under About. Not the client ID.",
        "he": "המספר בדף ההגדרות של האפליקציה, תחת About. לא ה-Client ID."
      },
      "x-lumen-order": 2,
      "x-lumen-show-when": {
        "key": "signIn",
        "value": "app"
      },
      "x-lumen-title": {
        "en": "App ID",
        "he": "מזהה האפליקציה (App ID)"
      }
    },
    "auth": {
      "const": "bearer",
      "type": "string",
      "x-lumen-title": {
        "en": "How Lumen signs in",
        "he": "איך לומן מזדהה"
      }
    },
    "installationId": {
      "pattern": "^[1-9][0-9]{0,15}$",
      "type": "string",
      "x-lumen-description": {
        "en": "The number at the end of the installation's settings address. Empty: Lumen finds the installation on the repositories' owner.",
        "he": "המספר בסוף הכתובת של הגדרות ההתקנה. ריק: לומן תמצא את ההתקנה אצל הבעלים של המאגרים."
      },
      "x-lumen-order": 3,
      "x-lumen-show-when": {
        "key": "signIn",
        "value": "app"
      },
      "x-lumen-title": {
        "en": "Installation ID",
        "he": "מזהה ההתקנה"
      }
    },
    "permissions": {
      "items": {
        "maxLength": 70,
        "pattern": "^[a-z][a-z_]{0,63}:(read|write)$",
        "type": "string"
      },
      "maxItems": 30,
      "type": "array",
      "x-lumen-description": {
        "en": "Optional. Limits each token to these permissions, such as contents:write or pull_requests:write. Empty: everything the app was granted.",
        "he": "רשות. מגביל כל אסימון להרשאות האלה, למשל contents:write או pull_requests:write. ריק: כל מה שהאפליקציה קיבלה."
      },
      "x-lumen-order": 5,
      "x-lumen-show-when": {
        "key": "signIn",
        "value": "app"
      },
      "x-lumen-title": {
        "en": "Permissions",
        "he": "הרשאות"
      }
    },
    "repositories": {
      "items": {
        "maxLength": 140,
        "pattern": "^[A-Za-z0-9][A-Za-z0-9-]{0,38}/[A-Za-z0-9._-]{1,100}$",
        "type": "string"
      },
      "maxItems": 100,
      "type": "array",
      "x-lumen-description": {
        "en": "Optional. Limits each token to these repositories (owner/name), all of one owner. Empty: every repository the installation reaches.",
        "he": "רשות. מגביל כל אסימון למאגרים האלה (owner/name), כולם של אותם בעלים. ריק: כל מאגר שההתקנה מגיעה אליו."
      },
      "x-lumen-order": 4,
      "x-lumen-show-when": {
        "key": "signIn",
        "value": "app"
      },
      "x-lumen-title": {
        "en": "Repositories",
        "he": "מאגרים"
      }
    },
    "signIn": {
      "default": "token",
      "enum": [
        "token",
        "app"
      ],
      "type": "string",
      "x-lumen-credentials": {
        "app": [
          "privateKey"
        ],
        "token": [
          "token"
        ]
      },
      "x-lumen-option-hints": {
        "app": {
          "en": "Lumen acts as the app's bot account, limited to the repositories it is installed on.",
          "he": "לומן פועלת כחשבון הבוט של האפליקציה, רק במאגרים שבהם היא מותקנת."
        },
        "token": {
          "en": "Lumen acts as the person who made the token.",
          "he": "לומן פועלת בשם מי שיצר את האסימון."
        }
      },
      "x-lumen-options": {
        "app": {
          "en": "A GitHub App",
          "he": "אפליקציית GitHub"
        },
        "token": {
          "en": "A personal access token",
          "he": "אסימון גישה אישי"
        }
      },
      "x-lumen-order": 1,
      "x-lumen-title": {
        "en": "Sign in with",
        "he": "הזדהות באמצעות"
      }
    },
    "tools": {
      "additionalProperties": {
        "additionalProperties": false,
        "properties": {
          "hash": {
            "pattern": "^sha256:[0-9a-f]{64}$",
            "type": "string"
          },
          "policy": {
            "enum": [
              "allow",
              "ask",
              "block"
            ],
            "type": "string"
          }
        },
        "required": [
          "policy"
        ],
        "type": "object"
      },
      "maxProperties": 500,
      "propertyNames": {
        "pattern": "^[A-Za-z0-9_.-]{1,128}$"
      },
      "type": "object",
      "x-lumen-title": {
        "en": "Tools agents may use",
        "he": "כלים שסוכנים יכולים להשתמש בהם"
      }
    },
    "url": {
      "const": "https://api.githubcopilot.com/mcp/readonly",
      "type": "string",
      "x-lumen-title": {
        "en": "Server address",
        "he": "כתובת השרת"
      }
    }
  },
  "required": [
    "url",
    "auth"
  ],
  "type": "object"
}
