JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/dns-analytics_report_bytime",
"title": "dns-analytics_report_bytime",
"allOf": [
{
"$ref": "#/components/schemas/dns-analytics_result"
},
{
"properties": {
"data": {
"items": {
"properties": {
"metrics": {
"description": "Array with one item per requested metric. Each item is an array of values, broken down by time interval.",
"items": {
"description": "Nominal metric values, broken down by time interval.",
"items": {},
"properties": {
"items": {
"description": "Nominal metric value.",
"type": "number"
}
},
"type": "array"
},
"type": "array"
}
},
"required": [
"metrics"
]
}
},
"query": {
"properties": {
"time_delta": {
"$ref": "#/components/schemas/dns-analytics_time_delta"
}
},
"required": [
"time_delta"
],
"type": "object"
},
"time_intervals": {
"description": "Array of time intervals in the response data. Each interval is represented as an array containing two values: the start time, and the end time.\n",
"items": {
"description": "Array with exactly two items, representing the start and end time (respectively) of this time interval.",
"items": {
"description": "Time value.",
"example": "2023-11-11T12:00:00Z",
"format": "date-time",
"type": "string"
},
"type": "array"
},
"type": "array"
}
},
"required": [
"time_intervals",
"query",
"data"
]
}
]
}