version server client compatibility contract

This commit is contained in:
2026-10-25 05:32:08 +01:00
parent e4e4337852
commit 1a28d120c2
3 changed files with 8 additions and 1 deletions
+3 -1
View File
@@ -4,10 +4,12 @@
"title": "Trixie Server Info",
"type": "object",
"additionalProperties": false,
"required": ["api_version", "server_version", "status"],
"required": ["api_version", "server_version", "minimum_client_version", "maximum_client_version", "status"],
"properties": {
"api_version": { "type": "string", "const": "v1" },
"server_version": { "type": "string", "minLength": 1 },
"minimum_client_version": { "type": "string", "minLength": 1 },
"maximum_client_version": { "type": "string", "minLength": 1 },
"status": { "type": "string", "enum": ["ready"] }
}
}