{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/geniffy-com/json-schema/geniffy-com-user-list-response-schema.json",
  "title": "UserListResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/geniffy-com-admin-api-openapi.yml#/components/schemas/UserListResponse",
  "properties": {
    "count": {
      "type": "integer",
      "title": "Count"
    },
    "total": {
      "type": "integer",
      "title": "Total"
    },
    "limit": {
      "type": "integer",
      "title": "Limit"
    },
    "offset": {
      "type": "integer",
      "title": "Offset"
    },
    "results": {
      "items": {
        "$ref": "#/$defs/UserListItem"
      },
      "type": "array",
      "title": "Results"
    }
  },
  "type": "object",
  "required": [
    "count",
    "total",
    "limit",
    "offset",
    "results"
  ],
  "$defs": {
    "UserListItem": {
      "properties": {
        "id": {
          "type": "integer",
          "title": "Id"
        },
        "firebase_uid": {
          "type": "string",
          "title": "Firebase Uid"
        },
        "email": {
          "type": "string",
          "title": "Email"
        },
        "full_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Full Name"
        },
        "is_active": {
          "type": "boolean",
          "title": "Is Active"
        },
        "email_verified": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Email Verified"
        },
        "created_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "title": "Created At"
        },
        "last_active_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "title": "Last Active At"
        },
        "lifecycle_stage": {
          "type": "string",
          "title": "Lifecycle Stage"
        },
        "is_test_account": {
          "type": "boolean",
          "title": "Is Test Account"
        },
        "active_days_7d": {
          "type": "integer",
          "title": "Active Days 7D"
        },
        "activity_sparkline": {
          "items": {
            "type": "integer"
          },
          "type": "array",
          "title": "Activity Sparkline"
        },
        "signal": {
          "type": "string",
          "title": "Signal"
        }
      },
      "type": "object",
      "required": [
        "id",
        "firebase_uid",
        "email",
        "is_active",
        "lifecycle_stage",
        "is_test_account",
        "active_days_7d",
        "activity_sparkline",
        "signal"
      ],
      "title": "UserListItem"
    }
  }
}