{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/faxforagents/json-schema/faxforagents-agent-activity-page-schema.json",
  "title": "AgentActivityPage",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/faxforagents-agents-api-openapi.yml#/components/schemas/AgentActivityPage",
  "properties": {
    "items": {
      "items": {
        "$ref": "#/$defs/AgentActivity"
      },
      "type": "array",
      "title": "Items"
    },
    "next_cursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Next Cursor"
    }
  },
  "additionalProperties": true,
  "type": "object",
  "required": [
    "items"
  ],
  "$defs": {
    "AgentActivity": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "actor": {
          "type": "string",
          "title": "Actor"
        },
        "action": {
          "type": "string",
          "title": "Action"
        },
        "resource_type": {
          "type": "string",
          "title": "Resource Type"
        },
        "resource_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Resource Id"
        },
        "data": {
          "additionalProperties": true,
          "type": "object",
          "title": "Data"
        },
        "correlation_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Correlation Id"
        },
        "created_at": {
          "type": "string",
          "title": "Created At"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "id",
        "actor",
        "action",
        "resource_type",
        "resource_id",
        "data",
        "correlation_id",
        "created_at"
      ],
      "title": "AgentActivity"
    }
  }
}