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,17 @@
{
"$id": "contract/api/common.schema.json",
"type": "object", "required": ["ok"],
"properties": {
"ok": {
"type": "boolean"
},
"data": {},
"error": {
"type": "object",
"properties": {
"code": { "type": "string" },
"message": { "type": "string" }
}
}
}
}