full diff

dev.sensorthings.observationBatch

From
bafyreifd6sdprn5227uh2pnd2t6sqqkcu5ugm62cfctjjn5r5r2gqrjh4u indexed 2026-03-27 18:59 UTC View this version
To
bafyreibfajmipmluohecwmpzfixs6p47gqdhvzbqi4sbtn3spfhvwxfvtu indexed 2026-07-26 20:10 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "batchEntry": {
55 "properties": {
66 "q": {
77 "knownValues": [
88 "dev.sensorthings.quality#good",
99 "dev.sensorthings.quality#suspect",
1010 "dev.sensorthings.quality#missing"
1111 ],
1212 "type": "string"
1313 },
1414 "result": {
1515 "description": "Observation result, same union as dev.sensorthings.observation",
1616 "refs": [
1717 "dev.sensorthings.observation#numericResult",
1818 "dev.sensorthings.observation#categoryResult",
1919 "dev.sensorthings.observation#booleanResult",
2020 "dev.sensorthings.observation#arrayResult",
2121 "dev.sensorthings.observation#geoPointResult"
2222 ],
2323 "type": "union"
2424 },
2525 "t": {
2626 "description": "phenomenonTime",
2727 "format": "datetime",
2828 "type": "string"
2929 }
3030 },
3131 "required": [
3232 "t",
3333 "result"
3434 ],
3535 "type": "object"
3636 },
3737 "main": {
3838 "description": "A batch of observations for a single Datastream, covering a contiguous time window. Trades individual addressability for reduced commit overhead.",
3939 "key": "any",
4040 "record": {
4141 "properties": {
4242 "datastream": {
4343 "format": "at-uri",
4444 "type": "string"
4545 },
4646 "observations": {
4747 "description": "Array of observations in chronological order",
4848 "items": {
4949 "ref": "#batchEntry",
5050 "type": "ref"
5151 },
5252 "maxLength": 1440,
5353 "type": "array"
5454 },
5555 "windowEnd": {
5656 "format": "datetime",
5757 "type": "string"
5858 },
5959 "windowStart": {
6060 "format": "datetime",
6161 "type": "string"
6262 }
6363 },
6464 "required": [
6565 "datastream",
6666 "windowStart",
6767 "windowEnd",
6868 "observations"
6969 ],
7070 "type": "object"
7171 },
7272 "type": "record"
7373 }
7474 },
7575 "id": "dev.sensorthings.observationBatch",
76 "lexicon": 1
76 "lexicon": 1,
77 "revision": 1
7778}

Compare other versions