A batch of observations for a single Datastream, covering a contiguous time window. Trades individual addressability for reduced commit overhead.
Record Key
any
Any valid record key
Properties
datastream
string
at-uri
Required
An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).
observations
array
of
ref
#batchEntry
Required
Array of observations in chronological order
maxLength: 1440 itemswindowEnd
string
datetime
Required
An RFC 3339 formatted timestamp.
windowStart
string
datetime
Required
An RFC 3339 formatted timestamp.
View raw schema
{
"key": "any",
"type": "record",
"record": {
"type": "object",
"required": [
"datastream",
"windowStart",
"windowEnd",
"observations"
],
"properties": {
"windowEnd": {
"type": "string",
"format": "datetime"
},
"datastream": {
"type": "string",
"format": "at-uri"
},
"windowStart": {
"type": "string",
"format": "datetime"
},
"observations": {
"type": "array",
"items": {
"ref": "#batchEntry",
"type": "ref"
},
"maxLength": 1440,
"description": "Array of observations in chronological order"
}
}
},
"description": "A batch of observations for a single Datastream, covering a contiguous time window. Trades individual addressability for reduced commit overhead."
}