{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/availabilitySegment",
  "title": "availabilitySegment",
  "type": "object",
  "properties": {
    "segmentStartTime": {
      "type": "string",
      "format": "date-time",
      "example": "2026-01-01T00:00:00Z",
      "description": "Start time of the availability segment."
    },
    "segmentEndTime": {
      "type": "string",
      "format": "date-time",
      "example": "2026-01-02T00:00:00Z",
      "description": "End time of the availability segment."
    },
    "onlineNodeCount": {
      "type": "integer",
      "example": 2,
      "description": "Number of online nodes in the cluster in the segment."
    },
    "offlineNodeCount": {
      "type": "integer",
      "example": 0,
      "description": "Number of offline nodes in the cluster in the segment."
    },
    "totalNodeCount": {
      "type": "integer",
      "example": 2,
      "description": "Total number of nodes in the cluster in the segment."
    }
  }
}