{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/greynoise/json-schema/greynoise-session-timeseries-response-schema.json",
  "title": "SessionTimeseriesResponse",
  "type": "object",
  "properties": {
    "timeseries": {
      "type": "array",
      "description": "Timeseries data points (when no field grouping is used).",
      "items": {
        "$ref": "./greynoise-session-timeseries-point-schema.json#"
      },
      "example": []
    },
    "items": {
      "type": "array",
      "description": "Grouped timeseries data (when field grouping is used).",
      "items": {
        "$ref": "./greynoise-session-timeseries-item-schema.json#"
      },
      "example": []
    },
    "total": {
      "type": "integer",
      "description": "Total number of sessions in the time range.",
      "example": 1000
    },
    "request_metadata": {
      "type": "object",
      "properties": {
        "start_time": {
          "type": "string",
          "example": "string"
        },
        "end_time": {
          "type": "string",
          "example": "string"
        },
        "query": {
          "type": "string",
          "example": "tags:Mirai"
        },
        "field": {
          "type": "string",
          "example": "string"
        },
        "interval": {
          "type": "string",
          "example": "string"
        }
      }
    }
  }
}