{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/arcnautical-com/json-schema/arcnautical-com-list-vessel-monitor-events-response-schema.json",
  "title": "ListVesselMonitorEventsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/arcnautical-com-vessel-monitors-api-openapi.yml#/components/schemas/ListVesselMonitorEventsResponse",
  "type": "object",
  "required": [
    "events"
  ],
  "properties": {
    "events": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "monitor_id",
          "imo",
          "event_type",
          "created_at"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "monitor_id": {
            "type": "string",
            "format": "uuid"
          },
          "imo": {
            "type": "string"
          },
          "customer_reference": {
            "type": [
              "string",
              "null"
            ]
          },
          "event_type": {
            "type": "string",
            "enum": [
              "baseline",
              "changed",
              "degraded",
              "recovered"
            ]
          },
          "sanctions_status": {
            "type": [
              "string",
              "null"
            ]
          },
          "opacity_band": {
            "type": [
              "string",
              "null"
            ]
          },
          "vetting_grade": {
            "type": [
              "string",
              "null"
            ]
          },
          "severity": {
            "type": [
              "string",
              "null"
            ]
          },
          "change_body": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "object"
            },
            "description": "The fields that moved, with from/to and whether it was a worsening."
          },
          "screening_id": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          }
        }
      }
    },
    "next_cursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "has_more": {
      "type": "boolean"
    }
  }
}