Caller-visible committed events
application/json
{
"type": "object",
"required": [
"data",
"requestId"
],
"properties": {
"data": {
"$ref": "#/components/schemas/CanonicalCaseEventPage",
"type": "object",
"additionalProperties": false,
"required": [
"schemaVersion",
"caseId",
"events",
"nextCursor",
"hasMore"
],
"properties": {
"schemaVersion": {
"type": "string",
"const": "case-event-page-v1"
},
"caseId": {
"type": "string"
},
"events": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CanonicalCaseEvent",
"type": "object",
"additionalProperties": false,
"required": [
"schemaVersion",
"id",
"cursor",
"type",
"occurredAt"
],
"properties": {
"schemaVersion": {
"type": "string",
"const": "case-event-v1"
},
"id": {
"type": "string"
},
"cursor": {
"type": "string",
"description": "Opaque audit ID identifying a monotonically advancing committed per-case position. Never interpret or compare cursor text."
},
"type": {
"type": "string"
},
"occurredAt": {
"type": "string",
"format": "date-time"
}
}
}
},
"nextCursor": {
"type": [
"string",
"null"
]
},
"hasMore": {
"type": "boolean"
}
}
},
"requestId": {
"type": "string"
}
}
}