{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cockroach-labs/main/json-schema/cockroach-labs-login-request-schema.json",
  "title": "LoginRequest",
  "description": "Credentials for authenticating to the Cluster API.",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cockroach-labs-auth-api-openapi.yml#/components/schemas/LoginRequest",
  "type": "object",
  "required": [
    "username",
    "password"
  ],
  "properties": {
    "username": {
      "type": "string",
      "description": "SQL username to authenticate with."
    },
    "password": {
      "type": "string",
      "description": "Password for the SQL user.",
      "format": "password"
    }
  }
}