{
    "$id": "https://www.fatzebra.com/schemas/click-to-pay/load-params.json",
    "type": "object",
    "additionalProperties": false,
    "required": [
        "containerId",
        "paymentIntent"
    ],
    "properties": {
        "containerId": {
            "type": "string"
        },
        "paymentIntent": {
            "$ref": "payment-intent.json#/definitions/PaymentIntent"
        },
        "options": {
            "$ref": "options.json#/definitions/Options"
        }
    },
    "if": {
        "properties": {
            "options": {
                "properties": {
                    "tokenizeOnly": {
                        "type": "boolean"
                    }
                }
            }
        }
    },
    "else": {
        "required": []
    }
}
