{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bol-com/json-schema/bol-com-return-request-schema.json",
  "title": "ReturnRequest",
  "description": "The handling result requested by the retailer.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bol-com-returns-api-openapi.yml#/components/schemas/ReturnRequest",
  "required": [
    "handlingResult",
    "quantityReturned"
  ],
  "type": "object",
  "properties": {
    "handlingResult": {
      "minLength": 1,
      "type": [
        "string",
        "null"
      ],
      "description": "The handling result requested by the retailer.",
      "enum": [
        "RETURN_RECEIVED",
        "EXCHANGE_PRODUCT",
        "RETURN_DOES_NOT_MEET_CONDITIONS",
        "REPAIR_PRODUCT",
        "CUSTOMER_KEEPS_PRODUCT_PAID",
        "STILL_APPROVED",
        null
      ]
    },
    "quantityReturned": {
      "maximum": 9999,
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ],
      "description": "The quantity of items returned.",
      "format": "int32"
    }
  }
}