{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/packetexchange-io/json-schema/packetexchange-io-get-api-v1-status-page-response-schema.json",
  "title": "GetApiV1StatusPageResponse",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/packetexchange-io-openapi-generated.yml#/components/schemas/GetApiV1StatusPageResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "description": "Overall state, component groups with 90‑day history, active and recent incidents, and scheduled maintenance."
    },
    "data.generatedAt": {
      "type": "string",
      "description": "ISO‑8601 timestamp (UTC)"
    },
    "data.overall": {
      "type": "object"
    },
    "data.overall.state": {
      "type": "string",
      "description": "One of operational, degraded, partial_outage, major_outage, maintenance"
    },
    "data.overall.message": {
      "type": "string"
    },
    "data.groups": {
      "type": "array"
    },
    "data.groups[].id": {
      "type": "string"
    },
    "data.groups[].name": {
      "type": "string"
    },
    "data.groups[].components": {
      "type": "array"
    },
    "data.groups[].components[].id": {
      "type": "string"
    },
    "data.groups[].components[].name": {
      "type": "string"
    },
    "data.groups[].components[].description": {
      "type": "string"
    },
    "data.groups[].components[].state": {
      "type": "string",
      "description": "One of operational, degraded, partial_outage, major_outage, maintenance"
    },
    "data.groups[].components[].uptime90d": {
      "type": "number",
      "description": "Percent over 90 days; null when there is no data"
    },
    "data.groups[].components[].dataSince": {
      "type": "string"
    },
    "data.groups[].components[].days": {
      "type": "array"
    },
    "data.groups[].components[].days[].date": {
      "type": "string",
      "description": "YYYY‑MM‑DD"
    },
    "data.groups[].components[].days[].state": {
      "type": "string"
    },
    "data.groups[].components[].days[].uptimePct": {
      "type": "number"
    },
    "data.groups[].components[].days[].downtimeMinutes": {
      "type": "number"
    },
    "data.groups[].components[].days[].incidents": {
      "type": "array"
    },
    "data.groups[].components[].days[].incidents[].id": {
      "type": "string"
    },
    "data.groups[].components[].days[].incidents[].title": {
      "type": "string"
    },
    "data.groups[].components[].days[].incidents[].impact": {
      "type": "string",
      "description": "One of none, minor, major, critical"
    },
    "data.activeIncidents": {
      "type": "array"
    },
    "data.activeIncidents[].id": {
      "type": "string"
    },
    "data.activeIncidents[].title": {
      "type": "string"
    },
    "data.activeIncidents[].impact": {
      "type": "string",
      "description": "One of none, minor, major, critical"
    },
    "data.activeIncidents[].status": {
      "type": "string",
      "description": "One of investigating, identified, monitoring, resolved"
    },
    "data.activeIncidents[].componentIds": {
      "type": "array"
    },
    "data.activeIncidents[].startedAt": {
      "type": "string",
      "description": "ISO‑8601 timestamp (UTC)"
    },
    "data.activeIncidents[].resolvedAt": {
      "type": "string",
      "description": "ISO‑8601 timestamp (UTC)"
    },
    "data.activeIncidents[].updates": {
      "type": "array"
    },
    "data.activeIncidents[].updates[].id": {
      "type": "string"
    },
    "data.activeIncidents[].updates[].status": {
      "type": "string",
      "description": "One of investigating, identified, monitoring, resolved"
    },
    "data.activeIncidents[].updates[].body": {
      "type": "string"
    },
    "data.activeIncidents[].updates[].createdAt": {
      "type": "string",
      "description": "ISO‑8601 timestamp (UTC)"
    },
    "data.scheduledMaintenance": {
      "type": "array"
    },
    "data.scheduledMaintenance[].id": {
      "type": "string"
    },
    "data.scheduledMaintenance[].title": {
      "type": "string"
    },
    "data.scheduledMaintenance[].body": {
      "type": "string"
    },
    "data.scheduledMaintenance[].componentIds": {
      "type": "array"
    },
    "data.scheduledMaintenance[].scheduledStart": {
      "type": "string",
      "description": "ISO‑8601 timestamp (UTC)"
    },
    "data.scheduledMaintenance[].scheduledEnd": {
      "type": "string",
      "description": "ISO‑8601 timestamp (UTC)"
    },
    "data.scheduledMaintenance[].status": {
      "type": "string",
      "description": "One of scheduled, in_progress, completed"
    },
    "data.pastIncidents": {
      "type": "array",
      "description": "Same fields as StatusIncident"
    }
  }
}