{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nizlo-com/json-schema/nizlo-com-alert-schema.json",
  "title": "Alert",
  "x-generated": "2026-11-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nizlo-com-nizlo-rmm-api-openapi.yml#/components/schemas/Alert",
  "type": "object",
  "required": [
    "id",
    "deviceId",
    "title",
    "severity",
    "status"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "deviceId": {
      "type": "string",
      "format": "uuid"
    },
    "customerId": {
      "type": "string",
      "format": "uuid"
    },
    "siteId": {
      "type": "string",
      "format": "uuid"
    },
    "title": {
      "type": "string"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "severity": {
      "type": "string",
      "enum": [
        "INFO",
        "WARNING",
        "CRITICAL"
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "OPEN",
        "ACKNOWLEDGED",
        "SNOOZED",
        "RESOLVED"
      ]
    },
    "lastDetectedAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "additionalProperties": true
}