{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/africanmarketos-com/json-schema/africanmarketos-com-watchlist-response-schema.json",
  "title": "WatchlistResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/africanmarketos-com-watchlist-api-openapi.yml#/components/schemas/WatchlistResponse",
  "type": "object",
  "properties": {
    "status": {
      "type": "string"
    },
    "watchlist": {
      "type": "object",
      "properties": {},
      "additionalProperties": true
    },
    "watchlists": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {},
        "additionalProperties": true
      }
    },
    "renewal_preview": {
      "type": "object",
      "properties": {
        "scheduled_execution": {
          "type": "string",
          "enum": [
            "existing_watchlist_rules_only"
          ]
        },
        "delivery_scope": {
          "type": "string"
        },
        "revision": {
          "type": "integer"
        },
        "preview_expires_at": {
          "type": "string",
          "format": "date-time"
        }
      },
      "additionalProperties": true
    },
    "preview_hash": {
      "type": "string"
    },
    "scheduled_credential_reference_changed": {
      "type": "boolean",
      "description": "True only when the existing scheduler credential reference was rewritten; false on renewal preview. Not an external authority grant."
    },
    "authority_changed": {
      "type": "boolean",
      "deprecated": true,
      "description": "Legacy alias of scheduled_credential_reference_changed. Change to the stored scheduler credential reference only, never external institutional authority, consent, evidence truth, or permission to execute a business decision."
    },
    "migration_status": {
      "type": "string"
    }
  },
  "additionalProperties": true
}