{
  "@model" : "cdm",
  "@type" : "cdm.event.common.TradeState",
  "@version" : "0.0.0.master-SNAPSHOT",
  "@key" : "58cbd5d",
  "trade" : {
    "product" : {
      "taxonomy" : [ {
        "source" : "ISDA",
        "value" : {
          "name" : {
            "@data" : "InterestRate_InflationSwap_FixedFloat_YearOn_Year"
          }
        },
        "calculated" : true
      } ],
      "economicTerms" : {
        "payout" : [ {
          "@type" : "cdm.product.asset.InterestRatePayout",
          "payerReceiver" : {
            "payer" : "Party1",
            "receiver" : "Party2"
          },
          "priceQuantity" : {
            "quantitySchedule" : {
              "@ref:scoped" : "quantity-1"
            }
          },
          "rateSpecification" : {
            "@type" : "cdm.product.asset.FixedRateSpecification",
            "rateSchedule" : {
              "price" : {
                "@ref:scoped" : "price-1"
              }
            }
          },
          "dayCountFraction" : {
            "@data" : "30/360"
          },
          "calculationPeriodDates" : {
            "@key:external" : "N104F4",
            "effectiveDate" : {
              "adjustableDate" : {
                "unadjustedDate" : "2003-11-20",
                "dateAdjustments" : {
                  "businessDayConvention" : "MODFOLLOWING"
                }
              }
            },
            "terminationDate" : {
              "adjustableDate" : {
                "unadjustedDate" : "2007-11-20",
                "dateAdjustments" : {
                  "businessDayConvention" : "MODFOLLOWING"
                }
              }
            },
            "calculationPeriodDatesAdjustments" : {
              "businessDayConvention" : "MODFOLLOWING"
            },
            "calculationPeriodFrequency" : {
              "periodMultiplier" : 1,
              "period" : "Y",
              "rollConvention" : "20"
            }
          },
          "paymentDates" : {
            "paymentFrequency" : {
              "periodMultiplier" : 1,
              "period" : "Y"
            },
            "payRelativeTo" : "CalculationPeriodEndDate",
            "paymentDatesAdjustments" : {
              "businessDayConvention" : "MODFOLLOWING"
            }
          }
        }, {
          "@type" : "cdm.product.asset.InterestRatePayout",
          "payerReceiver" : {
            "payer" : "Party2",
            "receiver" : "Party1"
          },
          "priceQuantity" : {
            "quantitySchedule" : {
              "@ref:scoped" : "quantity-2"
            }
          },
          "rateSpecification" : {
            "@type" : "cdm.product.asset.InflationRateSpecification",
            "rateOption" : {
              "@ref:scoped" : "InterestRateIndex-1"
            },
            "inflationLag" : {
              "periodMultiplier" : 3,
              "period" : "M"
            },
            "indexSource" : {
              "@scheme" : "http://www.fpml.org/coding-scheme/inflation-index-source-1-0",
              "@data" : "CPURNSA"
            },
            "mainPublication" : {
              "@scheme" : "http://www.fpml.org/coding-scheme/inflation-main-publication-1-0",
              "@data" : "BLS"
            },
            "interpolationMethod" : {
              "@data" : "LinearZeroYield"
            },
            "fallbackBondApplicable" : true
          },
          "dayCountFraction" : {
            "@data" : "1/1"
          },
          "calculationPeriodDates" : {
            "@key:external" : "N101C1",
            "effectiveDate" : {
              "adjustableDate" : {
                "unadjustedDate" : "2003-11-20",
                "dateAdjustments" : {
                  "businessDayConvention" : "MODFOLLOWING"
                }
              }
            },
            "terminationDate" : {
              "adjustableDate" : {
                "unadjustedDate" : "2007-11-20",
                "dateAdjustments" : {
                  "businessDayConvention" : "MODFOLLOWING"
                }
              }
            },
            "calculationPeriodDatesAdjustments" : {
              "businessDayConvention" : "MODFOLLOWING"
            },
            "calculationPeriodFrequency" : {
              "periodMultiplier" : 3,
              "period" : "M",
              "rollConvention" : "20"
            }
          },
          "paymentDates" : {
            "paymentFrequency" : {
              "periodMultiplier" : 1,
              "period" : "Y"
            },
            "payRelativeTo" : "CalculationPeriodEndDate",
            "paymentDatesAdjustments" : {
              "businessDayConvention" : "MODFOLLOWING"
            }
          },
          "compoundingMethod" : "None"
        } ],
        "calculationAgent" : {
          "calculationAgentParty" : "CalculationAgentIndependent"
        }
      }
    },
    "tradeLot" : [ {
      "priceQuantity" : [ {
        "price" : [ {
          "@key:scoped" : "price-1",
          "value" : 0.01,
          "unit" : {
            "currency" : {
              "@data" : "EUR"
            }
          },
          "perUnitOf" : {
            "currency" : {
              "@data" : "EUR"
            }
          },
          "priceType" : "InterestRate"
        } ],
        "quantity" : {
          "@key:scoped" : "quantity-1",
          "value" : 1000000,
          "unit" : {
            "currency" : {
              "@data" : "EUR"
            }
          }
        }
      }, {
        "quantity" : {
          "@key:scoped" : "quantity-2",
          "value" : 1000000,
          "unit" : {
            "currency" : {
              "@data" : "EUR"
            }
          }
        },
        "observable" : {
          "@key:scoped" : "observable-1",
          "@data" : {
            "@type" : "cdm.observable.asset.InterestRateIndex",
            "@key:scoped" : "InterestRateIndex-1",
            "@data" : {
              "@type" : "cdm.observable.asset.InflationIndex",
              "assetType" : "Other",
              "assetClass" : "InterestRate",
              "inflationRateIndex" : {
                "@data" : "USA-CPI-U"
              }
            }
          }
        }
      } ]
    } ],
    "counterparty" : [ {
      "role" : "Party1",
      "partyReference" : {
        "@ref:external" : "party2"
      }
    }, {
      "role" : "Party2",
      "partyReference" : {
        "@ref:external" : "party1"
      }
    } ],
    "ancillaryParty" : [ {
      "role" : "CalculationAgentIndependent",
      "partyReference" : [ {
        "@ref:external" : "party1"
      } ]
    } ],
    "tradeIdentifier" : [ {
      "issuerReference" : {
        "@ref:external" : "party1"
      },
      "assignedIdentifier" : [ {
        "identifier" : {
          "@scheme" : "http://www.partyA.com/swaps/trade-id",
          "@data" : "E2000098N10184"
        }
      } ]
    }, {
      "issuerReference" : {
        "@ref:external" : "party2"
      },
      "assignedIdentifier" : [ {
        "identifier" : {
          "@scheme" : "http://www.barclays.com/swaps/trade-id",
          "@data" : "1234"
        }
      } ]
    } ],
    "tradeDate" : {
      "@data" : "2003-11-15"
    },
    "party" : [ {
      "@key:external" : "party1",
      "partyId" : [ {
        "identifier" : {
          "@scheme" : "http://www.fpml.org/coding-scheme/dummy-party-id",
          "@data" : "12345"
        }
      } ]
    }, {
      "@key:external" : "party2",
      "partyId" : [ {
        "identifier" : {
          "@scheme" : "http://www.fpml.org/coding-scheme/dummy-party-id",
          "@data" : "67890"
        }
      } ]
    } ]
  },
  "transferHistory" : [ {
    "transfer" : {
      "@type" : "cdm.event.common.UnscheduledTransfer",
      "quantity" : {
        "value" : 10000,
        "unit" : {
          "currency" : {
            "@data" : "EUR"
          }
        }
      },
      "asset" : {
        "@type" : "cdm.base.staticdata.asset.common.Cash",
        "identifier" : [ {
          "identifier" : {
            "@data" : "EUR"
          },
          "identifierType" : "CurrencyCode"
        } ],
        "assetType" : "Cash"
      },
      "settlementDate" : {
        "unadjustedDate" : "2003-11-20",
        "dateAdjustments" : {
          "businessDayConvention" : "MODFOLLOWING"
        }
      },
      "payerReceiver" : {
        "payerPartyReference" : {
          "@ref:external" : "party1"
        },
        "receiverPartyReference" : {
          "@ref:external" : "party2"
        }
      },
      "transferType" : "Upfront"
    }
  } ]
}