{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/dns-analytics_query", "title": "dns-analytics_query", "properties": { "dimensions": { "description": "Array of dimension names.", "example": [ "responseCode", "queryName" ], "items": { "description": "Dimension name.", "example": "responseCode", "type": "string" }, "type": "array" }, "filters": { "$ref": "#/components/schemas/dns-analytics_filters" }, "limit": { "$ref": "#/components/schemas/dns-analytics_limit" }, "metrics": { "description": "Array of metric names.", "example": [ "queryCount", "responseTimeAvg" ], "items": { "description": "Metric name.", "example": "queries", "type": "string" }, "type": "array" }, "since": { "$ref": "#/components/schemas/dns-analytics_since" }, "sort": { "description": "Array of dimensions to sort by, where each dimension may be prefixed by - (descending) or + (ascending).", "example": [ "+responseCode", "-queryName" ], "items": { "description": "Dimension name (may be prefixed by - (descending) or + (ascending).", "example": "+responseCode", "type": "string" }, "type": "array" }, "until": { "$ref": "#/components/schemas/dns-analytics_until" } }, "required": [ "dimensions", "metrics", "since", "until", "limit" ], "type": "object" }