feat: add readiness contract

This commit is contained in:
2026-10-25 04:40:12 +01:00
parent 2760f0234f
commit c7e57aa015
2 changed files with 14 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://trixie.reaperofveriod.nl/contracts/v1/readiness.json",
"title": "Trixie readiness response",
"type": "object",
"additionalProperties": false,
"required": ["status"],
"properties": {
"status": { "enum": ["ready", "database_unavailable"] }
}
}
+3
View File
@@ -0,0 +1,3 @@
{
"status": "ready"
}