{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bol-com/json-schema/bol-com-bulk-commission-request-schema.json",
  "title": "BulkCommissionRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bol-com-commissions-api-openapi.yml#/components/schemas/BulkCommissionRequest",
  "required": [
    "commissionQueries"
  ],
  "type": "object",
  "properties": {
    "commissionQueries": {
      "maxItems": 100,
      "minItems": 1,
      "type": "array",
      "items": {
        "$ref": "#/$defs/BulkCommissionQuery"
      }
    }
  },
  "$defs": {
    "BulkCommissionQuery": {
      "required": [
        "ean",
        "unitPrice"
      ],
      "type": "object",
      "properties": {
        "ean": {
          "minLength": 1,
          "type": "string",
          "description": "The EAN number associated with this product."
        },
        "condition": {
          "type": [
            "string",
            "null"
          ],
          "description": "The condition of the offer.",
          "enum": [
            "NEW",
            "AS_NEW",
            "GOOD",
            "REASONABLE",
            "MODERATE",
            null
          ]
        },
        "unitPrice": {
          "maximum": 9999,
          "minimum": 0,
          "type": "number",
          "description": "The price of the product with a period as a decimal separator. The price should always have two decimals precision."
        }
      }
    }
  }
}