{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-chrome/json-schema/google-chrome-query-item-metrics-response-schema.json",
  "title": "QueryItemMetricsResponse",
  "description": "Response message for QueryItemMetrics.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-chrome-chromewebstore-publishers-api-openapi.yml#/components/schemas/QueryItemMetricsResponse",
  "type": "object",
  "properties": {
    "metricRows": {
      "items": {
        "$ref": "#/$defs/MetricRow"
      },
      "type": "array",
      "description": "The metric rows."
    },
    "nextPageToken": {
      "type": "string",
      "description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages."
    }
  },
  "$defs": {
    "Date": {
      "properties": {
        "day": {
          "format": "int32",
          "type": "integer",
          "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant."
        },
        "month": {
          "type": "integer",
          "format": "int32",
          "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day."
        },
        "year": {
          "type": "integer",
          "format": "int32",
          "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year."
        }
      },
      "type": "object",
      "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp"
    },
    "MetricRow": {
      "description": "A single row of metrics and dimension values.",
      "type": "object",
      "properties": {
        "metricValues": {
          "description": "Metric columns for the row.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/MetricValue"
          }
        },
        "dimensionValues": {
          "items": {
            "type": "string"
          },
          "description": "Dimension value columns for the row.",
          "type": "array"
        },
        "date": {
          "$ref": "#/$defs/Date",
          "description": "The date of the record."
        }
      }
    },
    "MetricValue": {
      "description": "Represents the value of a single metric",
      "type": "object",
      "properties": {
        "value": {
          "type": "string",
          "format": "int64",
          "description": "The value of the metric."
        },
        "uniqueUserCount": {
          "type": "string",
          "format": "int64",
          "description": "The unique user count associated with the metric (if applicable)."
        },
        "metric": {
          "type": "string",
          "description": "The name of the metric"
        }
      }
    }
  }
}