Advertisement
ariswb22

[BMRI] Streams ContractRatings

Sep 9th, 2021
833
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.82 KB | None | 0 0
  1. {
  2.   "settings": {
  3.     "enableTrace": "true"
  4.   },
  5.   "mappingRules": [
  6.     {
  7.       "name": "ExternalCreditRatingToContractRatings",
  8.       "description": "ExternalCreditRatingToContractRatings",
  9.       "condition": null,
  10.       "sequence": 1,
  11.       "mappings": [
  12.         {
  13.           "toProperty": "ContractId",
  14.           "transformations": [
  15.             {
  16.               "type": "ContractId",
  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.                   "type": "Trim",
  34.                   "parameter": {
  35.                     "type": "Map",
  36.                     "fromProperty": "OriginContractId"
  37.                   }
  38.                 }
  39.               ]
  40.             }
  41.           ]
  42.         },
  43.         {
  44.           "toProperty": "RatingAgencyCode",
  45.           "transformations": [
  46.             {
  47.               "type": "Map",
  48.               "fromProperty": "ExternalCreditRatingAgency"
  49.             }
  50.           ]
  51.         },
  52.         {
  53.           "toProperty": "RatingScaleCode",
  54.           "transformations": [
  55.             {
  56.               "type": "Map",
  57.               "fromProperty": "ExternalCreditRatingScale"
  58.             }
  59.           ]
  60.         },
  61.         {
  62.           "toProperty": "RatingCode",
  63.           "transformations": [
  64.             {
  65.               "type": "Map",
  66.               "fromProperty": "ExternalCreditRating"
  67.             }
  68.           ]
  69.         }
  70.       ]
  71.     }
  72.   ]
  73. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement