{
  "@model" : "cdm",
  "@type" : "cdm.event.common.TradeState",
  "@version" : "0.0.0.master-SNAPSHOT",
  "@key" : "57f8841e",
  "trade" : {
    "product" : {
      "taxonomy" : [ {
        "source" : "ISDA",
        "value" : {
          "name" : {
            "@data" : "InterestRate_CrossCurrency_FixedFixed"
          }
        },
        "calculated" : true
      } ],
      "economicTerms" : {
        "payout" : [ {
          "@type" : "cdm.product.asset.InterestRatePayout",
          "payerReceiver" : {
            "payer" : "Party1",
            "receiver" : "Party2"
          },
          "priceQuantity" : {
            "quantitySchedule" : {
              "@ref:scoped" : "quantity-1"
            }
          },
          "principalPayment" : {
            "initialPayment" : true,
            "finalPayment" : true,
            "intermediatePayment" : true
          },
          "rateSpecification" : {
            "@type" : "cdm.product.asset.FixedRateSpecification",
            "rateSchedule" : {
              "price" : {
                "@ref:scoped" : "price-1"
              }
            }
          },
          "dayCountFraction" : {
            "@data" : "ACT/365.FIXED"
          },
          "calculationPeriodDates" : {
            "@key:external" : "fixedCalcPeriodDatesJPY",
            "effectiveDate" : {
              "adjustableDate" : {
                "unadjustedDate" : "2006-01-11",
                "dateAdjustments" : {
                  "businessDayConvention" : "NONE"
                }
              }
            },
            "terminationDate" : {
              "adjustableDate" : {
                "unadjustedDate" : "2011-01-11",
                "dateAdjustments" : {
                  "businessDayConvention" : "MODFOLLOWING"
                }
              }
            },
            "calculationPeriodDatesAdjustments" : {
              "businessDayConvention" : "MODFOLLOWING"
            },
            "calculationPeriodFrequency" : {
              "periodMultiplier" : 6,
              "period" : "M",
              "rollConvention" : "11"
            }
          },
          "paymentDates" : {
            "paymentFrequency" : {
              "periodMultiplier" : 6,
              "period" : "M"
            },
            "payRelativeTo" : "CalculationPeriodEndDate",
            "paymentDatesAdjustments" : {
              "businessDayConvention" : "MODFOLLOWING"
            }
          }
        }, {
          "@type" : "cdm.product.asset.InterestRatePayout",
          "payerReceiver" : {
            "payer" : "Party2",
            "receiver" : "Party1"
          },
          "priceQuantity" : {
            "quantitySchedule" : {
              "@ref:scoped" : "quantity-2"
            }
          },
          "principalPayment" : {
            "initialPayment" : true,
            "finalPayment" : true,
            "intermediatePayment" : true
          },
          "rateSpecification" : {
            "@type" : "cdm.product.asset.FixedRateSpecification",
            "rateSchedule" : {
              "price" : {
                "@ref:scoped" : "price-2"
              }
            }
          },
          "dayCountFraction" : {
            "@data" : "ACT/365.FIXED"
          },
          "calculationPeriodDates" : {
            "@key:external" : "fixedCalcPeriodDatesUSD",
            "effectiveDate" : {
              "adjustableDate" : {
                "unadjustedDate" : "2006-01-11",
                "dateAdjustments" : {
                  "businessDayConvention" : "NONE"
                }
              }
            },
            "terminationDate" : {
              "adjustableDate" : {
                "unadjustedDate" : "2011-01-11",
                "dateAdjustments" : {
                  "businessDayConvention" : "MODFOLLOWING"
                }
              }
            },
            "calculationPeriodDatesAdjustments" : {
              "businessDayConvention" : "MODFOLLOWING"
            },
            "calculationPeriodFrequency" : {
              "periodMultiplier" : 6,
              "period" : "M",
              "rollConvention" : "11"
            }
          },
          "paymentDates" : {
            "paymentFrequency" : {
              "periodMultiplier" : 6,
              "period" : "M"
            },
            "payRelativeTo" : "CalculationPeriodEndDate",
            "paymentDatesAdjustments" : {
              "businessDayConvention" : "MODFOLLOWING"
            }
          }
        } ]
      }
    },
    "tradeLot" : [ {
      "priceQuantity" : [ {
        "price" : [ {
          "@key:scoped" : "price-1",
          "value" : 0.001,
          "unit" : {
            "currency" : {
              "@data" : "JPY"
            }
          },
          "perUnitOf" : {
            "currency" : {
              "@data" : "JPY"
            }
          },
          "priceType" : "InterestRate"
        } ],
        "quantity" : {
          "@key:scoped" : "quantity-1",
          "value" : 1000000000,
          "unit" : {
            "currency" : {
              "@data" : "JPY"
            }
          }
        }
      }, {
        "price" : [ {
          "@key:scoped" : "price-2",
          "value" : 0.02,
          "unit" : {
            "currency" : {
              "@data" : "USD"
            }
          },
          "perUnitOf" : {
            "currency" : {
              "@data" : "USD"
            }
          },
          "priceType" : "InterestRate"
        } ],
        "quantity" : {
          "@key:scoped" : "quantity-2",
          "value" : 100000000,
          "unit" : {
            "currency" : {
              "@data" : "USD"
            }
          }
        }
      } ]
    } ],
    "counterparty" : [ {
      "role" : "Party1",
      "partyReference" : {
        "@ref:external" : "party2"
      }
    }, {
      "role" : "Party2",
      "partyReference" : {
        "@ref:external" : "party1"
      }
    } ],
    "tradeIdentifier" : [ {
      "issuer" : {
        "@scheme" : "http://www.fpml.org/coding-scheme/external/iso17442",
        "@data" : "54930084UKLVMY22DS16"
      },
      "assignedIdentifier" : [ {
        "identifier" : {
          "@scheme" : "http://www.fpml.org/coding-scheme/external/uti",
          "@data" : "UITD7895394"
        }
      } ],
      "identifierType" : "UniqueTransactionIdentifier"
    } ],
    "tradeDate" : {
      "@data" : "2006-01-09"
    },
    "party" : [ {
      "@key:external" : "party1",
      "partyId" : [ {
        "identifier" : {
          "@scheme" : "http://www.fpml.org/coding-scheme/external/iso17442",
          "@data" : "54930084UKLVMY22DS16"
        },
        "identifierType" : "LEI"
      } ],
      "name" : {
        "@data" : "Party A"
      }
    }, {
      "@key:external" : "party2",
      "partyId" : [ {
        "identifier" : {
          "@scheme" : "http://www.fpml.org/coding-scheme/external/iso17442",
          "@data" : "48750084UKLVTR22DS78"
        },
        "identifierType" : "LEI"
      } ],
      "name" : {
        "@data" : "Party B"
      }
    } ]
  }
}