{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/secure-flows-com/json-schema/secure-flows-com-user-dto-schema.json",
  "title": "UserDto",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/secure-flows-user-api.yaml#/components/schemas/UserDto",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer"
    },
    "workspaceId": {
      "type": "integer"
    },
    "role": {
      "type": "string"
    },
    "providerUid": {
      "type": "string"
    },
    "userName": {
      "type": [
        "string",
        "null"
      ]
    },
    "email": {
      "type": [
        "string",
        "null"
      ],
      "description": "Best-effort from Firebase (login, session flows, or `GET /users` / `GET /users/{id}` Admin lookup).\nDisplay only; not used for authentication.\n"
    },
    "status": {
      "type": "string"
    },
    "authProvider": {
      "type": "string"
    }
  }
}