{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/kibo-commerce/main/json-schema/kibo-commerce-auto-add-discount-target-schema.json",
  "title": "AutoAddDiscountTarget",
  "x-generated": "2026-10-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kibo-commerce-pricing-openapi.yml#/components/schemas/AutoAddDiscountTarget",
  "properties": {
    "discountId": {
      "description": "Unique identifier of the discount. System-supplied and read-only.",
      "format": "int32",
      "type": "integer"
    },
    "friendlyDescription": {
      "description": "Friendly description of the discount.",
      "type": [
        "string",
        "null"
      ]
    },
    "includedProductCodes": {
      "description": "Included product codes",
      "items": {
        "type": "string"
      },
      "type": [
        "array",
        "null"
      ]
    }
  },
  "type": "object"
}