{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/africanmarketos-com/json-schema/africanmarketos-com-correction-log-response-schema.json",
  "title": "CorrectionLogResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/africanmarketos-com-correction-log-api-openapi.yml#/components/schemas/CorrectionLogResponse",
  "type": "object",
  "properties": {
    "status": {
      "type": "string"
    },
    "correction_id": {
      "type": "string"
    },
    "corrections": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "correction_id": {
            "type": "string"
          },
          "snapshot_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "decision_id": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": true
      }
    },
    "correction_count": {
      "type": "integer",
      "minimum": 0,
      "description": "Matches in this page or exact lookup, not total history."
    },
    "filters_applied": {
      "type": "object",
      "properties": {
        "snapshot_id": {
          "type": "string"
        },
        "decision_id": {
          "type": "string"
        },
        "correction_id": {
          "type": "string"
        }
      },
      "additionalProperties": true
    },
    "pagination_scope": {
      "type": "string",
      "enum": [
        "exact_record",
        "workspace_scan_page"
      ]
    },
    "cursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "list_complete": {
      "type": "boolean"
    }
  },
  "additionalProperties": true
}