Schema · sensors/ingest
draftSensor ingest request
The body a producer posts to Ingest (POST /v1/atlas/signals): readings from one sensor, at most 500, each accepted or refused on its own (send an Idempotency-Key header to make a retry safe). A reading is a produced_at, exactly one of a number (value) or a state word (state), labels from the sensor's label_keys, and optionally the digest of evidence the producer keeps. It carries no content: no text, prompt, document or credential, and every object is closed so a field outside these is refused. Only the sensor's producer may write, a paused or revoked sensor refuses, and a built-in sensor is read only: the service decides those, the schema cannot.
https://schemas.inorbit.hr/sensors/ingest/v0.jsonEach version is a file at its own address and has a page of its own. The raw file is plain JSON, served without a sign-in.
- v0draftMay still be corrected; kept for five minutes. The newest; latest/ opens it. Shown on this page.schemas.inorbit.hr/sensors/ingest/v0.json ↗
What changed
One version so far. When a second is published, this is where it is compared with v0, field by field.
Fields of v0, the newest version, by path. A name ending in [] is each item of a list. Every field not listed is refused.
sensor_idstringrequiredThe sensor to write to: sen_ and a ULID (the id Register answered). Never a bare UUID.
pattern ^sen_[0-9A-HJKMNP-TV-Z]{26}$at most 30 charactersschema_versionintegeroptionalThe schema version the producer speaks, 1 to 1000. It must equal the sensor's own schema_version (Register set it; 1 today); leave it out to send under the sensor's.
1 to 1000account_idstringoptionalThe account to write into, a UUID. Leave it out for the caller's own; only a service names another account.
pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$at most 36 charactersreadingslist of anyrequiredThe batch: 1 to 500 readings, in the order sent (the answer's outcomes follow it).
at most 500 items
Documents with made-up values, the same ones our tests check against the schema: the ones it accepts and the ones it must refuse.
4 valid documentsshow
{
"sensor_id": "sen_00000000000000000000000005",
"readings": [
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 182.5,
"labels": {
"volume": "/"
}
},
{
"produced_at": "2026-10-23T14:10:26Z",
"value": 181.9
}
],
"schema_version": 1
}45 documents the schema must refuseshow
Each file name says what is wrong with it. Paste one into the check below to see the schema refuse it.
{
"sensor_id": "sen_00000000000000000000000005",
"readings": [
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 0
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 1
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 2
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 3
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 4
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 5
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 6
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 7
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 8
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 9
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 10
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 11
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 12
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 13
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 14
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 15
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 16
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 17
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 18
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 19
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 20
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 21
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 22
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 23
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 24
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 25
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 26
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 27
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 28
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 29
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 30
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 31
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 32
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 33
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 34
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 35
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 36
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 37
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 38
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 39
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 40
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 41
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 42
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 43
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 44
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 45
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 46
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 47
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 48
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 49
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 50
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 51
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 52
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 53
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 54
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 55
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 56
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 57
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 58
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 59
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 60
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 61
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 62
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 63
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 64
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 65
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 66
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 67
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 68
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 69
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 70
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 71
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 72
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 73
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 74
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 75
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 76
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 77
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 78
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 79
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 80
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 81
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 82
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 83
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 84
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 85
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 86
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 87
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 88
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 89
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 90
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 91
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 92
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 93
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 94
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 95
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 96
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 97
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 98
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 99
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 100
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 101
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 102
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 103
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 104
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 105
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 106
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 107
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 108
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 109
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 110
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 111
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 112
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 113
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 114
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 115
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 116
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 117
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 118
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 119
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 120
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 121
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 122
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 123
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 124
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 125
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 126
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 127
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 128
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 129
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 130
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 131
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 132
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 133
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 134
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 135
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 136
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 137
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 138
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 139
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 140
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 141
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 142
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 143
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 144
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 145
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 146
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 147
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 148
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 149
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 150
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 151
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 152
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 153
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 154
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 155
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 156
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 157
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 158
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 159
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 160
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 161
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 162
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 163
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 164
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 165
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 166
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 167
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 168
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 169
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 170
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 171
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 172
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 173
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 174
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 175
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 176
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 177
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 178
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 179
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 180
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 181
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 182
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 183
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 184
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 185
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 186
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 187
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 188
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 189
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 190
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 191
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 192
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 193
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 194
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 195
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 196
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 197
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 198
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 199
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 200
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 201
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 202
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 203
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 204
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 205
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 206
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 207
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 208
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 209
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 210
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 211
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 212
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 213
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 214
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 215
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 216
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 217
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 218
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 219
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 220
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 221
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 222
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 223
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 224
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 225
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 226
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 227
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 228
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 229
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 230
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 231
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 232
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 233
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 234
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 235
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 236
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 237
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 238
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 239
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 240
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 241
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 242
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 243
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 244
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 245
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 246
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 247
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 248
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 249
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 250
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 251
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 252
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 253
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 254
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 255
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 256
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 257
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 258
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 259
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 260
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 261
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 262
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 263
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 264
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 265
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 266
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 267
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 268
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 269
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 270
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 271
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 272
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 273
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 274
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 275
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 276
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 277
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 278
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 279
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 280
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 281
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 282
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 283
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 284
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 285
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 286
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 287
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 288
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 289
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 290
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 291
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 292
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 293
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 294
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 295
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 296
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 297
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 298
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 299
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 300
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 301
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 302
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 303
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 304
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 305
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 306
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 307
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 308
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 309
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 310
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 311
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 312
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 313
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 314
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 315
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 316
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 317
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 318
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 319
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 320
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 321
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 322
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 323
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 324
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 325
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 326
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 327
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 328
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 329
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 330
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 331
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 332
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 333
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 334
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 335
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 336
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 337
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 338
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 339
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 340
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 341
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 342
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 343
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 344
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 345
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 346
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 347
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 348
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 349
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 350
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 351
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 352
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 353
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 354
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 355
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 356
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 357
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 358
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 359
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 360
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 361
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 362
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 363
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 364
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 365
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 366
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 367
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 368
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 369
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 370
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 371
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 372
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 373
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 374
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 375
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 376
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 377
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 378
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 379
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 380
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 381
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 382
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 383
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 384
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 385
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 386
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 387
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 388
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 389
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 390
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 391
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 392
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 393
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 394
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 395
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 396
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 397
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 398
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 399
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 400
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 401
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 402
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 403
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 404
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 405
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 406
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 407
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 408
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 409
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 410
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 411
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 412
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 413
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 414
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 415
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 416
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 417
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 418
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 419
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 420
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 421
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 422
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 423
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 424
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 425
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 426
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 427
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 428
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 429
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 430
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 431
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 432
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 433
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 434
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 435
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 436
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 437
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 438
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 439
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 440
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 441
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 442
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 443
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 444
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 445
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 446
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 447
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 448
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 449
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 450
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 451
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 452
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 453
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 454
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 455
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 456
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 457
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 458
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 459
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 460
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 461
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 462
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 463
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 464
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 465
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 466
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 467
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 468
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 469
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 470
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 471
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 472
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 473
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 474
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 475
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 476
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 477
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 478
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 479
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 480
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 481
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 482
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 483
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 484
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 485
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 486
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 487
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 488
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 489
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 490
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 491
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 492
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 493
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 494
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 495
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 496
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 497
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 498
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 499
},
{
"produced_at": "2026-10-23T14:09:26.123Z",
"value": 500
}
]
}Paste a document to check it against v0 here, or use the address in your editor or CI.
"json.schemas": [
{ "fileMatch": ["my-file.json"], "url": "https://schemas.inorbit.hr/sensors/ingest/v0.json" }
]check-jsonschema --schemafile https://schemas.inorbit.hr/sensors/ingest/v0.json my-file.jsonajv validate --spec=draft2020 -s <(curl -s https://schemas.inorbit.hr/sensors/ingest/v0.json) -d my-file.jsoncurl -s https://schemas.inorbit.hr/sensors/ingest/v0.jsonThe raw file of v0, as published.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://schemas.inorbit.hr/sensors/ingest/v0.json",
"title": "Sensor ingest request",
"description": "The body a producer posts to Ingest (POST /v1/atlas/signals): readings from one sensor, at most 500, each accepted or refused on its own (send an Idempotency-Key header to make a retry safe). A reading is a produced_at, exactly one of a number (value) or a state word (state), labels from the sensor's label_keys, and optionally the digest of evidence the producer keeps. It carries no content: no text, prompt, document or credential, and every object is closed so a field outside these is refused. Only the sensor's producer may write, a paused or revoked sensor refuses, and a built-in sensor is read only: the service decides those, the schema cannot. Draft line: it may still be corrected.",
"type": "object",
"additionalProperties": false,
"required": [
"sensor_id",
"readings"
],
"properties": {
"sensor_id": {
"description": "The sensor to write to: sen_ and a ULID (the id Register answered). Never a bare UUID.",
"type": "string",
"maxLength": 30,
"pattern": "^sen_[0-9A-HJKMNP-TV-Z]{26}$"
},
"schema_version": {
"description": "The schema version the producer speaks, 1 to 1000. It must equal the sensor's own schema_version (Register set it; 1 today); leave it out to send under the sensor's.",
"type": "integer",
"minimum": 1,
"maximum": 1000
},
"account_id": {
"description": "The account to write into, a UUID. Leave it out for the caller's own; only a service names another account.",
"type": "string",
"maxLength": 36,
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
},
"readings": {
"description": "The batch: 1 to 500 readings, in the order sent (the answer's outcomes follow it).",
"type": "array",
"minItems": 1,
"maxItems": 500,
"items": {
"$ref": "#/$defs/reading"
}
}
},
"$defs": {
"reading": {
"description": "One reading as the producer sends it. A gauge sends a value, a counter a value of zero or more, a state sensor a state: the service checks the kind. The producer's time may not be more than a day ahead or 7 days old (the service refuses with future or too_old).",
"type": "object",
"additionalProperties": false,
"required": [
"produced_at"
],
"properties": {
"produced_at": {
"description": "RFC 3339, the producer's clock.",
"$ref": "https://schemas.inorbit.hr/sensors/reading/v0.json#/$defs/timestamp"
},
"value": {
"description": "A gauge's or counter's value: a finite number.",
"type": "number"
},
"state": {
"description": "A state sensor's value: 1 to 32 of a-z, 0-9 and underscore.",
"$ref": "https://schemas.inorbit.hr/sensors/reading/v0.json#/$defs/state_word"
},
"labels": {
"description": "At most 8, keys from the sensor's label_keys, each value 1 to 64 characters.",
"$ref": "https://schemas.inorbit.hr/sensors/reading/v0.json#/$defs/labels"
},
"evidence_digest": {
"description": "Optional: sha256: and 64 lowercase hex characters, of evidence the producer keeps. Leave it out when there is none.",
"$ref": "https://schemas.inorbit.hr/sensors/reading/v0.json#/$defs/evidence_digest"
}
},
"oneOf": [
{
"required": [
"value"
]
},
{
"required": [
"state"
]
}
]
}
}
}