{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "workspace_id": {
      "description": "Workspace that owns this record.",
      "type": "string"
    },
    "events": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Resource identifier returned by the operation."
          },
          "workspace_id": {
            "description": "Workspace that owns this record.",
            "type": "string"
          },
          "project_id": {
            "description": "Project that owns this record.",
            "anyOf": [
              {
                "type": "string",
                "description": "Project that owns this record."
              },
              {
                "type": "null"
              }
            ]
          },
          "watch_id": {
            "description": "watch id recorded for this result.",
            "type": "string"
          },
          "target_id": {
            "description": "target id recorded for this result.",
            "type": "string"
          },
          "type": {
            "description": "type recorded for this result.",
            "type": "string"
          },
          "created_at": {
            "description": "UTC timestamp when the record was created.",
            "type": "string"
          },
          "cursor": {
            "description": "cursor recorded for this result.",
            "type": "string"
          },
          "data": {
            "type": "object",
            "properties": {
              "before": {
                "description": "before recorded for this result."
              },
              "after": {
                "description": "after recorded for this result."
              },
              "state": {
                "description": "Saved lifecycle or evidence state, as enumerated for this record.",
                "type": "string"
              },
              "reason": {
                "description": "Recorded explanation; null when no explanation applies.",
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Recorded explanation; null when no explanation applies."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "observation_id": {
                "description": "observation id recorded for this result.",
                "type": "string"
              }
            },
            "additionalProperties": {},
            "description": "data recorded for this result."
          }
        },
        "required": [
          "id",
          "data"
        ],
        "additionalProperties": {},
        "description": "events recorded for this result."
      },
      "description": "events recorded for this result."
    },
    "next_cursor": {
      "type": "string",
      "description": "Opaque continuation for the same listing; null means no further page."
    },
    "has_more": {
      "type": "boolean",
      "description": "True when another page is available."
    }
  },
  "required": [
    "events",
    "next_cursor",
    "has_more"
  ],
  "additionalProperties": {}
}
