{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mojang/json-schema/mojang-sale-statistics-request-schema.json",
  "title": "SaleStatisticsRequest",
  "description": "Filter for the /orders/statistics request.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mojang-profile-api-openapi.yml#/components/schemas/SaleStatisticsRequest",
  "type": "object",
  "required": [
    "metricKeys"
  ],
  "properties": {
    "metricKeys": {
      "type": "array",
      "description": "SKUs to aggregate.",
      "items": {
        "type": "string",
        "enum": [
          "item_sold_minecraft",
          "prepaid_card_redeemed_minecraft",
          "item_sold_cobalt",
          "item_sold_scrolls",
          "item_sold_dungeons"
        ]
      }
    }
  }
}