{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pewesenergy-com/json-schema/pewesenergy-com-product-schema.json",
  "title": "Product",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pewesenergy-com-openapi.yml#/components/schemas/Product",
  "type": "object",
  "properties": {
    "slug": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "sku": {
      "type": [
        "string",
        "null"
      ]
    },
    "price": {
      "type": "number",
      "description": "Price per can in EUR before volume pricing"
    },
    "priceMin": {
      "type": [
        "number",
        "null"
      ]
    },
    "priceMax": {
      "type": [
        "number",
        "null"
      ]
    },
    "stockStatus": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "IN_STOCK",
        "OUT_OF_STOCK",
        "ON_BACKORDER",
        null
      ]
    },
    "rating": {
      "type": "number"
    },
    "reviewCount": {
      "type": "integer"
    },
    "shortDescription": {
      "type": "string"
    },
    "categories": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          }
        }
      }
    },
    "sugar": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          }
        }
      }
    },
    "taste": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          }
        }
      }
    },
    "caffeine": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "mgPer100ml": {
            "type": [
              "number",
              "null"
            ]
          }
        }
      }
    },
    "image": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "src": {
          "type": "string"
        },
        "alt": {
          "type": "string"
        }
      }
    }
  }
}