{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/brevo/main/json-schema/brevo-create-update-product-schema.json",
  "title": "CreateUpdateProduct",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/brevo-products-api-openapi.yml#/components/schemas/CreateUpdateProduct",
  "type": "object",
  "required": [
    "id",
    "name",
    "url"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the product."
    },
    "name": {
      "type": "string",
      "description": "Name of the product."
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "URL of the product page."
    },
    "imageUrl": {
      "type": "string",
      "format": "uri",
      "description": "URL of the product image."
    },
    "sku": {
      "type": "string",
      "description": "Stock keeping unit identifier."
    },
    "price": {
      "type": "number",
      "format": "float",
      "description": "Price of the product."
    },
    "categories": {
      "type": "array",
      "description": "IDs of categories to assign the product to.",
      "items": {
        "type": "string"
      }
    },
    "metaInfo": {
      "type": "object",
      "description": "Additional metadata as key-value pairs.",
      "additionalProperties": true
    }
  }
}