{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cockroach-labs/main/json-schema/cockroach-labs-create-sqluser-request-schema.json",
  "title": "CreateSQLUserRequest",
  "description": "Request body for creating a new SQL user.",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cockroach-labs-sqlusers-api-openapi.yml#/components/schemas/CreateSQLUserRequest",
  "type": "object",
  "required": [
    "name",
    "password"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Username for the new SQL user."
    },
    "password": {
      "type": "string",
      "description": "Initial password for the SQL user.",
      "format": "password"
    }
  }
}