{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/geniffy-com/json-schema/geniffy-com-user-recent-actions-response-schema.json",
  "title": "UserRecentActionsResponse",
  "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/UserRecentActionsResponse",
  "properties": {
    "user_id": {
      "type": "integer",
      "title": "User Id"
    },
    "firebase_uid": {
      "type": "string",
      "title": "Firebase Uid"
    },
    "count": {
      "type": "integer",
      "title": "Count"
    },
    "results": {
      "items": {
        "$ref": "#/$defs/UserActionEntry"
      },
      "type": "array",
      "title": "Results"
    }
  },
  "type": "object",
  "required": [
    "user_id",
    "firebase_uid",
    "count",
    "results"
  ],
  "$defs": {
    "UserActionEntry": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "chat_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Chat Id"
        },
        "app": {
          "type": "string",
          "title": "App"
        },
        "action": {
          "type": "string",
          "title": "Action"
        },
        "route": {
          "type": "string",
          "title": "Route"
        },
        "status": {
          "type": "string",
          "title": "Status"
        },
        "parameters": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "title": "Parameters"
        },
        "result": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "title": "Result"
        },
        "error_message": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Error Message"
        },
        "duration_ms": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Duration Ms"
        },
        "cost_usd": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Cost Usd"
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "title": "Created At"
        }
      },
      "type": "object",
      "required": [
        "id",
        "app",
        "action",
        "route",
        "status",
        "created_at"
      ],
      "title": "UserActionEntry"
    }
  }
}