Skip to content

Instantly share code, notes, and snippets.

@sjwaight
Created August 15, 2022 06:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sjwaight/29708e4a8bd11e4fd4d9ef9161c2da06 to your computer and use it in GitHub Desktop.
Save sjwaight/29708e4a8bd11e4fd4d9ef9161c2da06 to your computer and use it in GitHub Desktop.
Sample Cosmos DB record for data received from a sensor
{
"SensorName": "PurpleAir-XXX",
"ReadingTime": "2022-08-15T05:26:41+00:00",
"Latitude": -00.000000,
"Longitude": 00.000000,
"PressureMillibars": 993.75,
"Humidity": 27,
"Temperature": 22,
"Pm25ChannelA": 0,
"Pm25ChannelB": 0,
"Pm10ChannelA": 0,
"Pm10ChannelB": 0,
"id": "efc1b6b0-XXXX-XXXX-XXXX-39f348a4c5cb",
"_rid": "NOTREAL==",
"_self": "dbs/NOTREAL/colls/NOTREAL/docs/NOTREAL/",
"_etag": "\"2a028e98-XXXX-XXXX-XXXX-62f9d9120000\"",
"_attachments": "attachments/",
"_ts": 1660541202
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment