{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/n0t1fy-dev/json-schema/n0t1fy-dev-readiness-response-schema.json",
  "title": "ReadinessResponse",
  "description": "Readiness for traffic. Returned with `503` when the database is unreachable.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/n0t1fy-dev-health-api-openapi.yml#/components/schemas/ReadinessResponse",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "ready",
        "not_ready"
      ],
      "title": "Status"
    },
    "database": {
      "type": "string",
      "enum": [
        "ok",
        "unreachable"
      ],
      "title": "Database",
      "description": "Database reachability. No connection details are exposed."
    }
  },
  "type": "object",
  "required": [
    "status",
    "database"
  ]
}