{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/africanmarketos-com/json-schema/africanmarketos-com-governance-audit-response-schema.json",
  "title": "GovernanceAuditResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/africanmarketos-com-admin-api-openapi.yml#/components/schemas/GovernanceAuditResponse",
  "type": "object",
  "properties": {
    "status": {
      "type": "string"
    },
    "audit_available": {
      "type": "boolean"
    },
    "audit_categories": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "audit_events": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {},
        "additionalProperties": true
      }
    },
    "cursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "governance_events": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "event_id": {
            "type": "string"
          },
          "event_type": {
            "type": "string"
          },
          "target_id": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "execution_authorized": {
            "type": "boolean"
          }
        },
        "additionalProperties": true
      }
    },
    "governance_cursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "governance_list_complete": {
      "type": "boolean"
    },
    "governance_history_boundary": {
      "type": "string",
      "description": "Forward-only index. Missing older events do not prove absence of activity."
    }
  },
  "additionalProperties": true
}