{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/geniffy-com/json-schema/geniffy-com-today-response-schema.json",
  "title": "TodayResponse",
  "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/TodayResponse",
  "properties": {
    "new_today": {
      "items": {
        "$ref": "#/$defs/TodayUser"
      },
      "type": "array",
      "title": "New Today"
    },
    "returned_today": {
      "items": {
        "$ref": "#/$defs/TodayUser"
      },
      "type": "array",
      "title": "Returned Today"
    },
    "at_risk_this_week": {
      "items": {
        "$ref": "#/$defs/TodayUser"
      },
      "type": "array",
      "title": "At Risk This Week"
    },
    "generated_at": {
      "type": "string",
      "format": "date-time",
      "title": "Generated At"
    }
  },
  "type": "object",
  "required": [
    "new_today",
    "returned_today",
    "at_risk_this_week",
    "generated_at"
  ],
  "$defs": {
    "TodayUser": {
      "properties": {
        "id": {
          "type": "integer",
          "title": "Id"
        },
        "email": {
          "type": "string",
          "title": "Email"
        },
        "full_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Full Name"
        },
        "lifecycle_stage": {
          "type": "string",
          "title": "Lifecycle Stage"
        },
        "signal": {
          "type": "string",
          "title": "Signal"
        },
        "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"
        }
      },
      "type": "object",
      "required": [
        "id",
        "email",
        "lifecycle_stage",
        "signal"
      ],
      "title": "TodayUser"
    }
  }
}