{
  "components": {
    "schemas": {
      "HealthReport": {
        "properties": {
          "app": {
            "const": "consenso",
            "type": "string"
          },
          "status": {
            "const": "ok",
            "type": "string"
          },
          "timestamp": {
            "format": "date-time",
            "type": "string"
          },
          "version": {
            "const": "1.0.0",
            "type": "string"
          }
        },
        "required": [
          "status",
          "app",
          "version",
          "timestamp"
        ],
        "type": "object"
      }
    }
  },
  "info": {
    "description": "Public operational contract for LOCURA Consenso. Planning workflows remain protected by the application session and are intentionally excluded.",
    "title": "LOCURA Consenso API",
    "version": "1.0.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/api/v1/health": {
      "get": {
        "operationId": "getConsensoHealth",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HealthReport"
                }
              }
            },
            "description": "The service is operational"
          }
        },
        "security": [],
        "summary": "Check Consenso service health",
        "tags": [
          "Meta"
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://consenso.locura.tech"
    }
  ],
  "tags": [
    {
      "description": "Public service diagnostics",
      "name": "Meta"
    }
  ]
}
