changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "adjusted_value": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Basket value after promotions."
+ },
+ "basket_value": {
+ "type": "number"
+ },
+ "can_fulfill": {
+ "type": "boolean"
+ },
+ "free_gifts": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "quantity": {
+ "type": "number"
+ },
+ "sku": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "sku",
+ "quantity"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "lines": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "quantity": {
+ "type": "number"
+ },
+ "sku": {
+ "type": "string"
+ },
+ "unit_price": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "sku",
+ "quantity",
+ "unit_price"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "promotions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "discount_value": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "description",
+ "type",
+ "discount_value"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "can_fulfill",
+ "message",
+ "basket_value",
+ "adjusted_value",
+ "promotions",
+ "free_gifts",
+ "lines"
+ ],
+ "type": "object"
+}