{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bol-com/json-schema/bol-com-product-list-response-schema.json",
  "title": "ProductListResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bol-com-products-api-openapi.yml#/components/schemas/ProductListResponse",
  "required": [
    "products",
    "sort"
  ],
  "type": "object",
  "properties": {
    "products": {
      "type": "array",
      "description": "The list of products that is associated with the given search term or category and filters.",
      "items": {
        "$ref": "#/$defs/ProductListProduct"
      }
    },
    "sort": {
      "type": "string",
      "description": "Determines the order of the products.",
      "enum": [
        "RELEVANCE",
        "POPULARITY",
        "PRICE_ASC",
        "PRICE_DESC",
        "RELEASE_DATE",
        "RATING",
        "WISHLIST"
      ]
    }
  },
  "$defs": {
    "ProductListProduct": {
      "required": [
        "eans",
        "title"
      ],
      "type": "object",
      "properties": {
        "title": {
          "type": "string",
          "description": "The title of the product."
        },
        "eans": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ProductListProductEan"
          }
        }
      },
      "description": "The list of products that is associated with the given search term or category and filters."
    },
    "ProductListProductEan": {
      "required": [
        "ean"
      ],
      "type": "object",
      "properties": {
        "ean": {
          "type": "string",
          "description": "The EAN number associated with this product."
        }
      }
    }
  }
}