{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bookmyhost/json-schema/bookmyhost-ui-discovery-endpoints-schema.json",
  "title": "UiDiscoveryEndpoints",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bookmyhost-litellm-api-openapi.yml#/components/schemas/UiDiscoveryEndpoints",
  "properties": {
    "server_root_path": {
      "type": "string",
      "title": "Server Root Path"
    },
    "proxy_base_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Proxy Base Url"
    },
    "auto_redirect_to_sso": {
      "type": "boolean",
      "title": "Auto Redirect To Sso"
    },
    "admin_ui_disabled": {
      "type": "boolean",
      "title": "Admin Ui Disabled"
    },
    "sso_configured": {
      "type": "boolean",
      "title": "Sso Configured"
    },
    "hide_default_credentials_hint": {
      "type": "boolean",
      "title": "Hide Default Credentials Hint",
      "default": false
    },
    "is_control_plane": {
      "type": "boolean",
      "title": "Is Control Plane",
      "default": false
    },
    "workers": {
      "items": {
        "$ref": "#/$defs/WorkerRegistryEntry"
      },
      "type": "array",
      "title": "Workers",
      "default": []
    }
  },
  "type": "object",
  "required": [
    "server_root_path",
    "proxy_base_url",
    "auto_redirect_to_sso",
    "admin_ui_disabled",
    "sso_configured"
  ],
  "$defs": {
    "WorkerRegistryEntry": {
      "properties": {
        "worker_id": {
          "type": "string",
          "title": "Worker Id"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "url": {
          "type": "string",
          "title": "Url"
        }
      },
      "type": "object",
      "required": [
        "worker_id",
        "name",
        "url"
      ],
      "title": "WorkerRegistryEntry"
    }
  }
}