feat: add initial v1 contracts
API dependency and security checks / audit (push) Canceled after 0s
API checks / checks (push) Canceled after 0s

This commit is contained in:
2026-10-25 03:52:40 +01:00
parent 94b8a57010
commit 90335ce1bd
4 changed files with 31 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://trixie.invalid/contracts/v1/server-info.json",
"title": "Trixie Server Info",
"type": "object",
"additionalProperties": false,
"required": ["api_version", "server_version", "status"],
"properties": {
"api_version": { "type": "string", "const": "v1" },
"server_version": { "type": "string", "minLength": 1 },
"status": { "type": "string", "enum": ["ready"] }
}
}