Skip to content

Instantly share code, notes, and snippets.

@dalelane
Created March 10, 2021 19:16
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 dalelane/8b0ddf174e7f5186a7e4407c6f289346 to your computer and use it in GitHub Desktop.
Save dalelane/8b0ddf174e7f5186a7e4407c6f289346 to your computer and use it in GitHub Desktop.
{
"type": "record",
"namespace": "co.uk.dalelane",
"name": "TemperatureReading",
"fields": [
{
"name": "warehouse",
"type": {
"type": "enum",
"name": "Warehouse",
"namespace": "co.uk.dalelane",
"symbols": [
"CENTRAL", "EAST", "WEST"
]
}
},
{
"name": "sensorid",
"type": "string"
},
{
"name": "temp",
"type": "double"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment