{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dream-sports/json-schema/dream-sports-console-user-record-api-response-schema.json",
  "title": "ConsoleUserRecordApiResponse",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dream-sports-console-users-api-openapi.yml#/components/schemas/ConsoleUserRecordApiResponse",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "data": {
      "$ref": "#/$defs/ConsoleUserRecord"
    }
  },
  "$defs": {
    "ConsoleUserRecord": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "email": {
          "type": "string",
          "format": "email"
        },
        "displayName": {
          "type": "string"
        },
        "photoUrl": {
          "type": "string"
        },
        "emailVerified": {
          "type": "boolean"
        },
        "disabled": {
          "type": "boolean"
        },
        "projectIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Project IDs from Firebase custom claims (allowedProjectIds). Omitted or empty when none set."
        },
        "createdAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "lastLoginAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "lastRefreshAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        }
      }
    }
  }
}