{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/robosystems-ai/json-schema/robosystems-ai-auth-providers-response-schema.json",
  "title": "AuthProvidersResponse",
  "description": "Auth posture response model.\n\nDescribes which authentication methods this deployment offers so the\nlogin surface can render the correct posture from runtime configuration.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/robosystems-ai-auth-api-openapi.yml#/components/schemas/AuthProvidersResponse",
  "properties": {
    "password_auth": {
      "type": "boolean",
      "title": "Password Auth",
      "description": "Whether password authentication is available"
    },
    "oidc": {
      "$ref": "#/$defs/OIDCProviderInfo",
      "description": "OIDC SSO availability"
    },
    "registration": {
      "type": "boolean",
      "title": "Registration",
      "description": "Whether self-service registration is open"
    },
    "passkeys": {
      "type": "boolean",
      "title": "Passkeys",
      "description": "Whether passkey authentication is available"
    }
  },
  "type": "object",
  "required": [
    "password_auth",
    "oidc",
    "registration",
    "passkeys"
  ],
  "$defs": {
    "OIDCProviderInfo": {
      "properties": {
        "enabled": {
          "type": "boolean",
          "title": "Enabled",
          "description": "Whether OIDC SSO is available"
        },
        "provider_label": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Provider Label",
          "description": "Display label for the OIDC provider (e.g. 'Okta')"
        }
      },
      "type": "object",
      "required": [
        "enabled"
      ],
      "title": "OIDCProviderInfo",
      "description": "OIDC provider availability model."
    }
  }
}