{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/CommertialOffer", "title": "CommertialOffer", "required": [ "DeliverySlaSamplesPerRegion", "Installments", "DiscountHighLight", "GiftSkuIds", "Teasers", "BuyTogether", "Price", "ListPrice", "PriceValidUntil", "AvailableQuantity", "Tax", "DeliverySlaSamples", "GetInfoErrorMessage", "CacheVersionUsedToCallCheckout" ], "type": "object", "properties": { "DeliverySlaSamplesPerRegion": { "type": "object", "additionalProperties": { "$ref": "#/components/schemas/generatedObject" } }, "Installments": { "type": "array", "items": { "$ref": "#/components/schemas/Installment" }, "description": "" }, "DiscountHighLight": { "type": "array", "items": { "type": "string" }, "description": "" }, "GiftSkuIds": { "type": "array", "items": { "type": "string" }, "description": "" }, "Teasers": { "type": "array", "description": "List with promotions teasers.", "example": [ { "k__BackingField": "TesteInfoAdicional", "k__BackingField": { "Time": "Flamengo", "Nome": "Pedro", "Camisa": "9" }, "k__BackingField": { "k__BackingField": 0, "k__BackingField": [ { "k__BackingField": "PaymentMethodId", "k__BackingField": "4" } ] }, "k__BackingField": { "k__BackingField": [ { "k__BackingField": "PercentualDiscount", "k__BackingField": "1" } ] } } ], "items": { "type": "object", "properties": { "k__BackingField": { "type": "string", "description": "Name." }, "k__BackingField": { "type": "object", "description": "General values. Each property follows the format: `{field}:{value}.", "properties": { "{field}": { "type": "string", "example": "{value}" } } }, "k__BackingField": { "type": "object", "description": "Conditions.", "properties": { "k__BackingField": { "type": "integer", "description": "Minimum quantity." }, "k__BackingField": { "type": "array", "description": "Parameters.", "items": { "type": "object", "description": "Parameter.", "properties": { "k__BackingField": { "type": "string", "description": "Name." }, "k__BackingField": { "type": "string", "description": "Value." } } } } } }, "k__BackingField": { "type": "object", "description": "Effects.", "properties": { "k__BackingField": { "type": "array", "description": "Parameters.", "items": { "type": "object", "description": "Parameter.", "properties": { "k__BackingField": { "type": "string", "description": "Name." }, "k__BackingField": { "type": "string", "description": "Value." } } } } } } } } }, "PromotionTeasers": { "type": "array", "description": "List with promotions teasers.", "example": [ { "Name": "TesteInfoAdicional", "GeneralValues": { "Time": "Flamengo", "Nome": "Pedro", "Camisa": "9" }, "Conditions": { "MinimumQuantity": 0, "Parameters": [ { "Name": "PaymentMethodId", "Value": "4" } ] }, "Effects": { "Parameters": [ { "Name": "PercentualDiscount", "Value": "1" } ] } } ], "items": { "type": "object", "properties": { "Name": { "type": "string", "description": "Name." }, "GeneralValues": { "type": "object", "description": "General values. Each property follows the format: `{field}:{value}.", "properties": { "{field}": { "type": "string", "example": "{value}" } } }, "Conditions": { "type": "object", "description": "Conditions.", "properties": { "MinimumQuantity": { "type": "integer", "description": "Minimum quantity." }, "Parameters": { "type": "array", "description": "Parameters.", "items": { "type": "object", "description": "Parameter.", "properties": { "Name": { "type": "string", "description": "Name." }, "Value": { "type": "string", "description": "Value." } } } } } }, "Effects": { "type": "object", "description": "Effects.", "properties": { "Parameters": { "type": "array", "description": "Parameters.", "items": { "type": "object", "description": "Parameter.", "properties": { "Name": { "type": "string", "description": "Name." }, "Value": { "type": "string", "description": "Value." } } } } } } } } }, "BuyTogether": { "type": "array", "items": { "type": "string" }, "description": "" }, "Price": { "type": "number" }, "ListPrice": { "type": "number" }, "PriceValidUntil": { "type": "string" }, "AvailableQuantity": { "type": "integer", "format": "int32" }, "Tax": { "type": "number" }, "DeliverySlaSamples": { "type": "array", "items": { "$ref": "#/components/schemas/DeliverySlaSample" }, "description": "" }, "GetInfoErrorMessage": { "type": "string", "nullable": true }, "CacheVersionUsedToCallCheckout": { "type": "string" } } }