{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/Metric", "title": "Metric", "type": "object", "properties": { "benchmark": { "description": "This complex type defines a set of benchmark data, which includes the average rating for the group included in the benchmark evaluation and the seller's calculated customer service metric rating for the benchmark.

This container is returned only if the associated metricKey value is RATE.", "$ref": "#/components/schemas/MetricBenchmark" }, "distributions": { "type": "array", "description": "Returned when metricKey equals COUNT, this field returns an array of seller data where each set of data is grouped according by an overarching basis.

When the seller distribution is returned, the numeric value of the associated value container equals the sum of the transactions where the seller meets the criteria of the customer service metric type for the given dimension during the evaluationCycle.", "items": { "$ref": "#/components/schemas/MetricDistribution" } }, "metricKey": { "type": "string", "description": "This field indicates the customer service metric being returned in the associated metrics container. The field is set as follows: " }, "value": { "type": "string", "description": "This field is set to the seller's numeric rating for the associated metricKey for the given dimension during the evaluationCycle.

To determine the seller's rating for this metric, the value of this field is compared to the average metric value of the group." } }, "description": "This complex data type defines the details of the customer service metric and benchmark data related to the associated dimension." }