# SystemStatusDatabase Estrutura de dados do contrato OpenAPI. ## Campos | Campo | Tipo | Presença | Descrição | |---|---|---|---| | `archiver` | `object` | obrigatório | Modelo: [SystemStatusArchiver](https://wpp.atendro.cloud/docs/modelos/system-status-archiver.md). | | `available` | `boolean` | obrigatório | — | | `errorCode` | `string` | opcional | Valores: `"database_unavailable"`, `"database_size_unavailable"`, `"monitoring_unsupported"` | | `pool` | `object / null` | opcional | — | | `sizeBytes` | `integer / null` | opcional | — | ## Definição OpenAPI ```json { "additionalProperties": true, "properties": { "archiver": { "$ref": "#/components/schemas/SystemStatusArchiver" }, "available": { "type": "boolean" }, "errorCode": { "enum": [ "database_unavailable", "database_size_unavailable", "monitoring_unsupported" ], "type": "string" }, "pool": { "anyOf": [ { "$ref": "#/components/schemas/SystemStatusPool" }, { "type": "null" } ] }, "sizeBytes": { "anyOf": [ { "minimum": 0, "type": "integer" }, { "type": "null" } ] } }, "required": [ "available", "archiver" ], "type": "object" } ```