init: add contract definitions and database schema with migrations skeleton

This commit is contained in:
2026-04-04 22:42:16 +03:00
parent 1681a694d3
commit 879418b5a9
14 changed files with 251 additions and 8 deletions

View File

@@ -0,0 +1,18 @@
{
"type": "object",
"required": ["points"],
"properties": {
"points": {
"type": "array",
"items": {
"type": "object",
"required": ["ts", "value"],
"properties": {
"ts": { "type": "integer" },
"value": {}
},
"additionalProperties": false
}
}
}
}