{
    "definitions": {
        "actionFieldObject": {
            "properties": {
                "affiliation": {
                    "type": "string"
                },
                "coupon": {
                    "type": "string"
                },
                "id": {
                    "type": "string"
                },
                "list": {
                    "type": "string"
                },
                "option": {
                    "type": "string"
                },
                "revenue": {
                    "type": "string"
                },
                "shipping": {
                    "type": "string"
                },
                "step": {
                    "type": "number"
                },
                "tax": {
                    "type": "string"
                }
            },
            "type": "object"
        },
        "add": {
            "properties": {
                "actionField": {
                    "$ref": "#/definitions/actionFieldObject"
                },
                "products": {
                    "items": {
                        "$ref": "#/definitions/productFieldObject"
                    },
                    "type": "array"
                }
            },
            "type": "object"
        },
        "checkout": {
            "properties": {
                "actionField": {
                    "$ref": "#/definitions/actionFieldObject"
                },
                "products": {
                    "items": {
                        "$ref": "#/definitions/productFieldObject"
                    },
                    "type": "array"
                }
            },
            "type": "object"
        },
        "checkout_option": {
            "properties": {
                "actionField": {
                    "$ref": "#/definitions/actionFieldObject"
                },
                "products": {
                    "items": {
                        "$ref": "#/definitions/productFieldObject"
                    },
                    "type": "array"
                }
            },
            "type": "object"
        },
        "click": {
            "properties": {
                "actionField": {
                    "$ref": "#/definitions/actionFieldObject"
                },
                "products": {
                    "items": {
                        "$ref": "#/definitions/productFieldObject"
                    },
                    "type": "array"
                }
            },
            "type": "object"
        },
        "detail": {
            "properties": {
                "actionField": {
                    "$ref": "#/definitions/actionFieldObject"
                },
                "products": {
                    "items": {
                        "$ref": "#/definitions/productFieldObject"
                    },
                    "type": "array"
                }
            },
            "type": "object"
        },
        "impressionFieldObject": {
            "anyOf": [
                {
                    "required": [
                        "name"
                    ]
                },
                {
                    "required": [
                        "id"
                    ]
                }
            ],
            "properties": {
                "brand": {
                    "type": "string"
                },
                "category": {
                    "type": "string"
                },
                "id": {
                    "type": "string"
                },
                "list": {
                    "type": "string"
                },
                "name": {
                    "type": "string"
                },
                "position": {
                    "type": "number"
                },
                "price": {
                    "type": "string"
                },
                "variant": {
                    "type": "string"
                }
            },
            "type": "object"
        },
        "impressions": {
            "items": {
                "$ref": "#/definitions/impressionFieldObject"
            },
            "type": "array"
        },
        "productFieldObject": {
            "anyOf": [
                {
                    "required": [
                        "name"
                    ]
                },
                {
                    "required": [
                        "id"
                    ]
                }
            ],
            "properties": {
                "brand": {
                    "type": "string"
                },
                "category": {
                    "type": "string"
                },
                "coupon": {
                    "type": "string"
                },
                "id": {
                    "type": "string"
                },
                "name": {
                    "type": "string"
                },
                "position": {
                    "type": "number"
                },
                "price": {
                    "type": "string"
                },
                "quantity": {
                    "type": "number"
                },
                "variant": {
                    "type": "string"
                }
            },
            "type": "object"
        },
        "promoClick": {
            "properties": {
                "promotions": {
                    "items": {
                        "$ref": "#/definitions/promoFieldObject"
                    },
                    "type": "array"
                }
            },
            "type": "object"
        },
        "promoFieldObject": {
            "anyOf": [
                {
                    "required": [
                        "name"
                    ]
                },
                {
                    "required": [
                        "id"
                    ]
                }
            ],
            "properties": {
                "creative": {
                    "type": "string"
                },
                "id": {
                    "type": "string"
                },
                "name": {
                    "type": "string"
                },
                "position": {
                    "type": "string"
                }
            },
            "type": "object"
        },
        "promoView": {
            "properties": {
                "promotions": {
                    "items": {
                        "$ref": "#/definitions/promoFieldObject"
                    },
                    "type": "array"
                }
            },
            "type": "object"
        },
        "purchase": {
            "properties": {
                "actionField": {
                    "$ref": "#/definitions/actionFieldObject"
                },
                "products": {
                    "items": {
                        "$ref": "#/definitions/productFieldObject"
                    },
                    "type": "array"
                }
            },
            "type": "object"
        },
        "refund": {
            "properties": {
                "actionField": {
                    "$ref": "#/definitions/actionFieldObject"
                },
                "products": {
                    "items": {
                        "$ref": "#/definitions/productFieldObject"
                    },
                    "type": "array"
                }
            },
            "type": "object"
        },
        "remove": {
            "properties": {
                "actionField": {
                    "$ref": "#/definitions/actionFieldObject"
                },
                "products": {
                    "items": {
                        "$ref": "#/definitions/productFieldObject"
                    },
                    "type": "array"
                }
            },
            "type": "object"
        }
    },
    "properties": {
        "currencyCode": {
            "type": "string"
        }
    },
    "type": "object"
}