{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/uptimerobot/json-schema/uptimerobot-activity-log-response-dto-schema.json",
  "title": "ActivityLogResponseDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/uptimerobot-incidents-api-openapi.yml#/components/schemas/ActivityLogResponseDto",
  "type": "object",
  "properties": {
    "nextLink": {
      "type": [
        "string",
        "null"
      ]
    },
    "data": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "STATUS_UPDATE"
                ]
              },
              "date": {
                "oneOf": [
                  {},
                  {
                    "type": "string"
                  }
                ]
              },
              "region": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "na",
                  "eu",
                  "as",
                  "oc"
                ],
                "x-enumNames": [
                  "NorthAmerica",
                  "Europe",
                  "Asia",
                  "Oceania"
                ]
              },
              "incidentStatus": {
                "type": "string"
              },
              "alertLogType": {
                "type": "string"
              },
              "cause": {
                "type": "number"
              },
              "reason": {
                "type": "string"
              },
              "remoteNode": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "number"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "IP": {
                    "type": "string"
                  },
                  "IPv6": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "city": {
                    "type": "string"
                  },
                  "country": {
                    "type": "string"
                  },
                  "privateIP": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "id",
                  "status",
                  "IP",
                  "IPv6",
                  "city",
                  "country",
                  "privateIP"
                ]
              },
              "responseTime": {
                "type": "number"
              }
            },
            "required": [
              "type",
              "date"
            ]
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "COMMENT"
                ]
              },
              "date": {
                "oneOf": [
                  {},
                  {
                    "type": "string"
                  }
                ]
              },
              "region": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "na",
                  "eu",
                  "as",
                  "oc"
                ],
                "x-enumNames": [
                  "NorthAmerica",
                  "Europe",
                  "Asia",
                  "Oceania"
                ]
              },
              "commentId": {
                "type": "number"
              },
              "commentFullName": {
                "type": "string"
              },
              "commentEmail": {
                "type": "string"
              }
            },
            "required": [
              "type",
              "date",
              "commentId"
            ]
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "NOTIFICATION"
                ]
              },
              "date": {
                "oneOf": [
                  {},
                  {
                    "type": "string"
                  }
                ]
              },
              "region": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "na",
                  "eu",
                  "as",
                  "oc"
                ],
                "x-enumNames": [
                  "NorthAmerica",
                  "Europe",
                  "Asia",
                  "Oceania"
                ]
              },
              "sentToFullName": {
                "type": "string"
              },
              "sentToValue": {
                "type": "string"
              },
              "notificationType": {
                "type": "string"
              },
              "notificationStatus": {
                "type": "string",
                "enum": [
                  "NOT_DELIVERED",
                  "SUCCESS"
                ],
                "x-enumNames": [
                  "NOT_DELIVERED",
                  "SUCCESS"
                ]
              }
            },
            "required": [
              "type",
              "date"
            ]
          }
        ]
      }
    }
  },
  "required": [
    "nextLink",
    "data"
  ]
}