Copy this code sample.
{
    "$id": "https://api.gsicommerce.com/schema/json/payment-authorization-reply",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "$defs": {
        "AuthorizationReply": {
            "type": "object",
            "properties": {
                "amountAuthorized": {
                    "$ref": "Common-Datatypes.json#/$defs/Amount"
                },
                "paymentMethod": {
                    "$ref": "Common-Datatypes.json#/$defs/PaymentMethod"
                },
                "responseCode": {
                    "type": "string"
                },
                "responseCodeDescription": {
                    "type": "string"
                }
            },
            "required": [
                "paymentMethod",
                "amountAuthorized",
                "responseCode"
            ]
        }
    }
}