Skip to content

RoleObservation

All wire models

Model aliases: RoleObservation.

Type: object.

Fields

Required means the key must be present. Nullable means its value may be null; it does not make a required key optional. “Not specified” means the schema declares no default.

Field Type Required Default
configured boolean Yes Not specified
available boolean or null Yes Not specified
status string Yes Not specified
observed_at string Yes Not specified
reason string Yes Not specified
superuser boolean or null No null
bypass_rls boolean or null No null

Model constraints

  • Additional properties: permitted

Field constraints

status

  • Allowed values: "passed", "failed", "unknown"

Exact JSON Schema

This is a schema definition, not an example request. It preserves all declared keywords, including constraints not summarized above.

Complete JSON Schema
JSON
{
  "additionalProperties": true,
  "properties": {
    "configured": {
      "title": "Configured",
      "type": "boolean"
    },
    "available": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Available"
    },
    "status": {
      "enum": [
        "passed",
        "failed",
        "unknown"
      ],
      "title": "Status",
      "type": "string"
    },
    "observed_at": {
      "title": "Observed At",
      "type": "string"
    },
    "reason": {
      "title": "Reason",
      "type": "string"
    },
    "superuser": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Superuser"
    },
    "bypass_rls": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Bypass Rls"
    }
  },
  "required": [
    "configured",
    "available",
    "status",
    "observed_at",
    "reason"
  ],
  "title": "RoleObservation",
  "type": "object"
}