Advertisement
ariswb22

[BMRI] Streams CounterpartyRatings

Sep 9th, 2021
959
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.61 KB | None | 0 0
  1. {
  2.   "settings": {
  3.     "enableTrace": "true"
  4.   },
  5.   "mappingRules": [
  6.     {
  7.       "name": "ExternalCreditRatingToContractRatings",
  8.       "description": "ExternalCreditRatingToCounterpartyRatings",
  9.       "condition": null,
  10.       "sequence": 1,
  11.       "mappings": [
  12.         {
  13.           "toProperty": "CounterpartyId",
  14.           "transformations": [
  15.             {
  16.               "type": "CounterpartyId",
  17.               "parameters": [
  18.                 {
  19.                   "type": "Trim",
  20.                   "parameter": {
  21.                     "type": "Map",
  22.                     "fromProperty": "ReportingDate"
  23.                   }
  24.                 },
  25.                 {
  26.                   "type": "Trim",
  27.                   "parameter": {
  28.                     "type": "Map",
  29.                     "fromProperty": "OriginCounterpartyId"
  30.                   }
  31.                 }
  32.               ]
  33.             }
  34.           ]
  35.         },
  36.         {
  37.           "toProperty": "RatingAgencyCode",
  38.           "transformations": [
  39.             {
  40.               "type": "Map",
  41.               "fromProperty": "ExternalCreditRatingAgency"
  42.             }
  43.           ]
  44.         },
  45.         {
  46.           "toProperty": "RatingScaleCode",
  47.           "transformations": [
  48.             {
  49.               "type": "Map",
  50.               "fromProperty": "ExternalCreditRatingScale"
  51.             }
  52.           ]
  53.         },
  54.         {
  55.           "toProperty": "RatingCode",
  56.           "transformations": [
  57.             {
  58.               "type": "Map",
  59.               "fromProperty": "ExternalCreditRating"
  60.             }
  61.           ]
  62.         }
  63.       ]
  64.     }
  65.   ]
  66. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement