Initial Ktor backend skeleton with ProtocolMessage DTO, REST and WebSocket
This commit is contained in:
12
protocol/schema.json
Normal file
12
protocol/schema.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"type": "object",
|
||||
"required": ["v", "id", "type", "ts", "deviceId", "payload"],
|
||||
"properties": {
|
||||
"v": { "type": "integer" },
|
||||
"id": { "type": "string" },
|
||||
"type": { "type": "string" },
|
||||
"ts": { "type": "integer" },
|
||||
"deviceId": { "type": "string" },
|
||||
"payload": { "type": "object" }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user