{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/uptimerobot/main/json-schema/uptimerobot-monitor-response-time-stats-by-region-dto-schema.json",
  "title": "MonitorResponseTimeStatsByRegionDto",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/uptimerobot-openapi.yaml#/components/schemas/MonitorResponseTimeStatsByRegionDto",
  "type": "object",
  "properties": {
    "na": {
      "description": "Response time statistics for North America region",
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "summary": {
          "description": "Summary statistics for the response time data",
          "type": "object",
          "properties": {
            "min": {
              "description": "Minimum response time in milliseconds",
              "type": [
                "number",
                "null"
              ]
            },
            "max": {
              "description": "Maximum response time in milliseconds",
              "type": [
                "number",
                "null"
              ]
            },
            "avg": {
              "description": "Average response time in milliseconds",
              "type": [
                "number",
                "null"
              ]
            }
          },
          "required": [
            "min",
            "max",
            "avg"
          ]
        },
        "data_points": {
          "description": "Number of data points used to calculate the statistics",
          "type": "number"
        },
        "from": {
          "description": "Start of the date range (ISO 8601)",
          "type": "string"
        },
        "to": {
          "description": "End of the date range (ISO 8601)",
          "type": "string"
        },
        "time_series": {
          "description": "Optional time series data points",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "timestamp": {
                "description": "ISO 8601 timestamp for the data point",
                "type": "string"
              },
              "value": {
                "description": "Response time value in milliseconds",
                "type": "number"
              }
            },
            "required": [
              "timestamp",
              "value"
            ]
          }
        }
      },
      "required": [
        "summary",
        "data_points",
        "from",
        "to"
      ]
    },
    "eu": {
      "description": "Response time statistics for Europe region",
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "summary": {
          "description": "Summary statistics for the response time data",
          "type": "object",
          "properties": {
            "min": {
              "description": "Minimum response time in milliseconds",
              "type": [
                "number",
                "null"
              ]
            },
            "max": {
              "description": "Maximum response time in milliseconds",
              "type": [
                "number",
                "null"
              ]
            },
            "avg": {
              "description": "Average response time in milliseconds",
              "type": [
                "number",
                "null"
              ]
            }
          },
          "required": [
            "min",
            "max",
            "avg"
          ]
        },
        "data_points": {
          "description": "Number of data points used to calculate the statistics",
          "type": "number"
        },
        "from": {
          "description": "Start of the date range (ISO 8601)",
          "type": "string"
        },
        "to": {
          "description": "End of the date range (ISO 8601)",
          "type": "string"
        },
        "time_series": {
          "description": "Optional time series data points",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "timestamp": {
                "description": "ISO 8601 timestamp for the data point",
                "type": "string"
              },
              "value": {
                "description": "Response time value in milliseconds",
                "type": "number"
              }
            },
            "required": [
              "timestamp",
              "value"
            ]
          }
        }
      },
      "required": [
        "summary",
        "data_points",
        "from",
        "to"
      ]
    },
    "as": {
      "description": "Response time statistics for Asia region",
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "summary": {
          "description": "Summary statistics for the response time data",
          "type": "object",
          "properties": {
            "min": {
              "description": "Minimum response time in milliseconds",
              "type": [
                "number",
                "null"
              ]
            },
            "max": {
              "description": "Maximum response time in milliseconds",
              "type": [
                "number",
                "null"
              ]
            },
            "avg": {
              "description": "Average response time in milliseconds",
              "type": [
                "number",
                "null"
              ]
            }
          },
          "required": [
            "min",
            "max",
            "avg"
          ]
        },
        "data_points": {
          "description": "Number of data points used to calculate the statistics",
          "type": "number"
        },
        "from": {
          "description": "Start of the date range (ISO 8601)",
          "type": "string"
        },
        "to": {
          "description": "End of the date range (ISO 8601)",
          "type": "string"
        },
        "time_series": {
          "description": "Optional time series data points",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "timestamp": {
                "description": "ISO 8601 timestamp for the data point",
                "type": "string"
              },
              "value": {
                "description": "Response time value in milliseconds",
                "type": "number"
              }
            },
            "required": [
              "timestamp",
              "value"
            ]
          }
        }
      },
      "required": [
        "summary",
        "data_points",
        "from",
        "to"
      ]
    },
    "oc": {
      "description": "Response time statistics for Oceania region",
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "summary": {
          "description": "Summary statistics for the response time data",
          "type": "object",
          "properties": {
            "min": {
              "description": "Minimum response time in milliseconds",
              "type": [
                "number",
                "null"
              ]
            },
            "max": {
              "description": "Maximum response time in milliseconds",
              "type": [
                "number",
                "null"
              ]
            },
            "avg": {
              "description": "Average response time in milliseconds",
              "type": [
                "number",
                "null"
              ]
            }
          },
          "required": [
            "min",
            "max",
            "avg"
          ]
        },
        "data_points": {
          "description": "Number of data points used to calculate the statistics",
          "type": "number"
        },
        "from": {
          "description": "Start of the date range (ISO 8601)",
          "type": "string"
        },
        "to": {
          "description": "End of the date range (ISO 8601)",
          "type": "string"
        },
        "time_series": {
          "description": "Optional time series data points",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "timestamp": {
                "description": "ISO 8601 timestamp for the data point",
                "type": "string"
              },
              "value": {
                "description": "Response time value in milliseconds",
                "type": "number"
              }
            },
            "required": [
              "timestamp",
              "value"
            ]
          }
        }
      },
      "required": [
        "summary",
        "data_points",
        "from",
        "to"
      ]
    },
    "all": {
      "description": "Response time statistics averaged across all regions, combined with legacy data when available",
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "summary": {
          "description": "Summary statistics for the response time data",
          "type": "object",
          "properties": {
            "min": {
              "description": "Minimum response time in milliseconds",
              "type": [
                "number",
                "null"
              ]
            },
            "max": {
              "description": "Maximum response time in milliseconds",
              "type": [
                "number",
                "null"
              ]
            },
            "avg": {
              "description": "Average response time in milliseconds",
              "type": [
                "number",
                "null"
              ]
            }
          },
          "required": [
            "min",
            "max",
            "avg"
          ]
        },
        "data_points": {
          "description": "Number of data points used to calculate the statistics",
          "type": "number"
        },
        "from": {
          "description": "Start of the date range (ISO 8601)",
          "type": "string"
        },
        "to": {
          "description": "End of the date range (ISO 8601)",
          "type": "string"
        },
        "time_series": {
          "description": "Optional time series data points",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "timestamp": {
                "description": "ISO 8601 timestamp for the data point",
                "type": "string"
              },
              "value": {
                "description": "Response time value in milliseconds",
                "type": "number"
              }
            },
            "required": [
              "timestamp",
              "value"
            ]
          }
        }
      },
      "required": [
        "summary",
        "data_points",
        "from",
        "to"
      ]
    },
    "from": {
      "description": "Start of the date range (ISO 8601)",
      "type": "string"
    },
    "to": {
      "description": "End of the date range (ISO 8601)",
      "type": "string"
    }
  },
  "required": [
    "na",
    "eu",
    "as",
    "oc",
    "all",
    "from",
    "to"
  ]
}