{
"type": "object",
"description": "The default aggregation setting for the metric.",
"properties": {
"type": {
"type": "string",
"description": "The aggregation type to apply when no aggregation is specified in the query. For example, avg, sum, or max.",
"example": "min",
"enum": [
"min",
"max",
"sum",
"count",
"avg",
"median",
"percentile"
]
},
"parameter": {
"type": "number",
"description": "The parameter for the aggregation type, used for percentile aggregation to specify the percentile value (e.g., 95).",
"format": "double",
"example": 87.5
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "MetricDefaultAggregation"
}