Copy
{
    "$id": "https://api.gsicommerce.com/schema/json/transactional-api-reply",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "type": "object",
    "anyOf": [
        {
            "properties": {
                "result": {
                    "$ref": "Payment-Authorization-Reply.json#/$defs/AuthorizationReply"
                }
            },
            "required": [
                "result"
            ]
        },
        {
            "properties": {
                "errors": {
                    "$ref": "Payment-Error.json#/$defs/Errors"
                }
            },
            "required": [
                "errors"
            ]
        }
    ],
    "properties": {
        "success": {
            "type": "boolean"
        }
    },
    "required": [
        "success"
    ]
}