{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/arcnautical-com/json-schema/arcnautical-com-simulate-vessel-monitor-event-response-schema.json",
  "title": "SimulateVesselMonitorEventResponse",
  "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/SimulateVesselMonitorEventResponse",
  "type": "object",
  "required": [
    "simulated",
    "change",
    "monitor_id",
    "imo",
    "event_type",
    "severity",
    "queued_to_endpoints"
  ],
  "properties": {
    "simulated": {
      "type": "boolean",
      "enum": [
        true
      ]
    },
    "change": {
      "type": "string"
    },
    "monitor_id": {
      "type": "string",
      "format": "uuid"
    },
    "imo": {
      "type": "string"
    },
    "event_type": {
      "type": "string",
      "enum": [
        "vessel_risk.changed"
      ]
    },
    "severity": {
      "type": "string",
      "enum": [
        "critical",
        "high",
        "low"
      ]
    },
    "queued_to_endpoints": {
      "type": "integer",
      "description": "How many active test endpoints the event was queued to. ZERO IS THE ONE TO CHECK: it means nothing subscribed, which looks the same from your side as a handler that never fired."
    },
    "warning": {
      "type": "string",
      "description": "Present only when queued_to_endpoints is 0."
    }
  }
}