{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zincsearch/json-schema/zincsearch-auth-login-response-schema.json",
  "title": "auth.LoginResponse",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zincsearch-user-api-openapi.yml#/components/schemas/auth.LoginResponse",
  "type": "object",
  "properties": {
    "user": {
      "$ref": "#/$defs/auth.LoginUser"
    },
    "validated": {
      "type": "boolean"
    }
  },
  "$defs": {
    "auth.LoginUser": {
      "type": "object",
      "properties": {
        "_id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "role": {
          "type": "string"
        }
      }
    }
  }
}