{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/puzaricloud-in/json-schema/puzaricloud-in-incident-out-schema.json",
  "title": "IncidentOut",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/puzaricloud-in-openapi.json#/components/schemas/IncidentOut",
  "properties": {
    "id": {
      "type": "integer",
      "title": "Id"
    },
    "monitor_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Monitor Id"
    },
    "kind": {
      "type": "string",
      "title": "Kind"
    },
    "title": {
      "type": "string",
      "title": "Title"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "started_at": {
      "type": "string",
      "format": "date-time",
      "title": "Started At"
    },
    "resolved_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Resolved At"
    },
    "acknowledged_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Acknowledged At"
    },
    "acknowledged_by": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Acknowledged By"
    },
    "duration_seconds": {
      "type": "integer",
      "title": "Duration Seconds"
    }
  },
  "type": "object",
  "required": [
    "id",
    "monitor_id",
    "kind",
    "title",
    "status",
    "started_at",
    "resolved_at",
    "acknowledged_at",
    "acknowledged_by",
    "duration_seconds"
  ]
}