{
  "fixedLeg": {
    "fixedRatePayer": "O=Bank A,L=London,C=GB",
    "notional": "€25000000",
    "paymentFrequency": "SemiAnnual",
    "effectiveDate": "2016-03-11",
    "effectiveDateAdjustment": null,
    "terminationDate": "2026-03-11",
    "terminationDateAdjustment": null,
    "fixedRate": {
      "ratioUnit": {
        "value": "0.01676"
      }
    },
    "dayCountBasisDay": "D30",
    "dayCountBasisYear": "Y360",
    "rollConvention": "ModifiedFollowing",
    "dayInMonth": 10,
    "paymentRule": "InArrears",
    "paymentDelay": 0,
    "paymentCalendar": "London",
    "interestPeriodAdjustment": "Adjusted"
  },
  "floatingLeg": {
    "floatingRatePayer": "O=Bank B,L=New York,C=US",
    "notional": "€25000000",
    "paymentFrequency": "Quarterly",
    "effectiveDate": "2016-03-11",
    "effectiveDateAdjustment": null,
    "terminationDate": "2026-03-11",
    "terminationDateAdjustment": null,
    "dayCountBasisDay": "D30",
    "dayCountBasisYear": "Y360",
    "rollConvention": "ModifiedFollowing",
    "fixingRollConvention": "ModifiedFollowing",
    "dayInMonth": 10,
    "resetDayInMonth": 10,
    "paymentRule": "InArrears",
    "paymentDelay": 0,
    "paymentCalendar": [ "London" ],
    "interestPeriodAdjustment": "Adjusted",
    "fixingPeriodOffset": 2,
    "resetRule": "InAdvance",
    "fixingsPerPayment": "Quarterly",
    "fixingCalendar": [ "NewYork" ],
    "index": "ICE LIBOR",
    "indexSource": "Rates Service Provider",
    "indexTenor": {
      "name": "3M"
    }
  },
  "calculation": {
    "expression": "( fixedLeg.notional.quantity * (fixedLeg.fixedRate.ratioUnit.value)) -(floatingLeg.notional.quantity * (calculation.fixingSchedule.get(context.getDate('currentDate')).rate.ratioUnit.value))",
    "floatingLegPaymentSchedule": {
    },
    "fixedLegPaymentSchedule": {
    }
  },
  "common": {
    "baseCurrency": "EUR",
    "eligibleCurrency": "EUR",
    "eligibleCreditSupport": "Cash in an Eligible Currency",
    "independentAmounts": "0 EUR",
    "threshold": "0 EUR",
    "minimumTransferAmount": "250000 EUR",
    "rounding": "10000 EUR",
    "valuationDateDescription": "Every Local Business Day",
    "notificationTime": "2:00pm London",
    "resolutionTime": "2:00pm London time on the first LocalBusiness Day following the date on which the notice is given ",
    "interestRate": {
      "oracle": "Rates Service Provider",
      "tenor": {
        "name": "6M"
      },
      "ratioUnit": null,
      "name": "EONIA"
    },
    "addressForTransfers": "",
    "exposure": {},
    "localBusinessDay": [ "London" , "NewYork" ],
    "dailyInterestAmount": "(CashAmount * InterestRate ) / (fixedLeg.notional.token.currencyCode.equals('GBP')) ? 365 : 360",
    "tradeID": "tradeXXX",
    "hashLegalDocs": "put hash here"
  },
  "oracle": "oracleXXX"
}
