@mojaloop/sdk-scheme-adapter 12.0.1 → 12.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (251) hide show
  1. package/.circleci/config.yml +619 -0
  2. package/CHANGELOG.md +7 -0
  3. package/CODEOWNERS +2 -0
  4. package/Dockerfile +35 -0
  5. package/LICENSE.md +10 -0
  6. package/PROXY.md +84 -0
  7. package/README.md +228 -0
  8. package/SECURITY.md +18 -0
  9. package/docker/ml-testing-toolkit/secrets/keygen.sh +5 -0
  10. package/docker/ml-testing-toolkit/secrets/privatekey.pem +27 -0
  11. package/docker/ml-testing-toolkit/secrets/publickey.cer +21 -0
  12. package/docker/ml-testing-toolkit/secrets/tls/createSecrets.sh +29 -0
  13. package/docker/ml-testing-toolkit/secrets/tls/hub_client.csr +28 -0
  14. package/docker/ml-testing-toolkit/secrets/tls/hub_client_cacert.pem +32 -0
  15. package/docker/ml-testing-toolkit/secrets/tls/hub_client_cakey.key +51 -0
  16. package/docker/ml-testing-toolkit/secrets/tls/hub_client_key.key +51 -0
  17. package/docker/ml-testing-toolkit/secrets/tls/hub_server.csr +28 -0
  18. package/docker/ml-testing-toolkit/secrets/tls/hub_server_cacert.pem +32 -0
  19. package/docker/ml-testing-toolkit/secrets/tls/hub_server_cacert.srl +1 -0
  20. package/docker/ml-testing-toolkit/secrets/tls/hub_server_cakey.key +51 -0
  21. package/docker/ml-testing-toolkit/secrets/tls/hub_server_cert.pem +33 -0
  22. package/docker/ml-testing-toolkit/secrets/tls/hub_server_key.key +51 -0
  23. package/docker/ml-testing-toolkit/secrets/tls/openssl.conf +17 -0
  24. package/docker/ml-testing-toolkit/spec_files/api_definitions/central_admin_9.3/api_spec.yaml +2450 -0
  25. package/docker/ml-testing-toolkit/spec_files/api_definitions/central_admin_9.3/response_map.json +96 -0
  26. package/docker/ml-testing-toolkit/spec_files/api_definitions/fspiop_1.0/api_spec.yaml +4187 -0
  27. package/docker/ml-testing-toolkit/spec_files/api_definitions/fspiop_1.0/callback_map.json +542 -0
  28. package/docker/ml-testing-toolkit/spec_files/api_definitions/fspiop_1.0/mockRef.json +83 -0
  29. package/docker/ml-testing-toolkit/spec_files/api_definitions/fspiop_1.0/trigger_templates/transaction_request_followup.json +125 -0
  30. package/docker/ml-testing-toolkit/spec_files/api_definitions/fspiop_1.1/api_spec.yaml +3703 -0
  31. package/docker/ml-testing-toolkit/spec_files/api_definitions/fspiop_1.1/callback_map.json +568 -0
  32. package/docker/ml-testing-toolkit/spec_files/api_definitions/fspiop_1.1/mockRef.json +83 -0
  33. package/docker/ml-testing-toolkit/spec_files/api_definitions/fspiop_1.1/trigger_templates/transaction_request_followup.json +125 -0
  34. package/docker/ml-testing-toolkit/spec_files/api_definitions/settlements_1.0/api_spec.yaml +983 -0
  35. package/docker/ml-testing-toolkit/spec_files/api_definitions/settlements_1.0/mockRef.json +38 -0
  36. package/docker/ml-testing-toolkit/spec_files/api_definitions/settlements_1.0/response_map.json +34 -0
  37. package/docker/ml-testing-toolkit/spec_files/reports/templates/newman/html_template.html +1074 -0
  38. package/docker/ml-testing-toolkit/spec_files/reports/templates/newman/pdf_template.html +765 -0
  39. package/docker/ml-testing-toolkit/spec_files/reports/templates/newman/script.js +98 -0
  40. package/docker/ml-testing-toolkit/spec_files/rules_callback/config.json +3 -0
  41. package/docker/ml-testing-toolkit/spec_files/rules_callback/default.json +426 -0
  42. package/docker/ml-testing-toolkit/spec_files/rules_response/config.json +3 -0
  43. package/docker/ml-testing-toolkit/spec_files/rules_response/default.json +1623 -0
  44. package/docker/ml-testing-toolkit/spec_files/rules_response/default_pisp_rules.json +161 -0
  45. package/docker/ml-testing-toolkit/spec_files/rules_validation/config.json +3 -0
  46. package/docker/ml-testing-toolkit/spec_files/rules_validation/default.json +672 -0
  47. package/docker/ml-testing-toolkit/spec_files/system_config.json +62 -0
  48. package/docker/ml-testing-toolkit/spec_files/user_config.json +45 -0
  49. package/docker/wait4/setup_hosts_file.sh +25 -0
  50. package/docker/wait4/wait4.config.js +71 -0
  51. package/docker/wait4/wait4.js +204 -0
  52. package/docker-compose.yml +67 -0
  53. package/docs/Mojaloop - Modusbox Onboarding functionality.pdf +0 -0
  54. package/docs/dfspInboundApi.yaml +1091 -0
  55. package/jest.config.js +4 -1
  56. package/junit.xml +515 -0
  57. package/package.json +9 -8
  58. package/secrets/jwsSigningKey.key +27 -0
  59. package/secrets/jwsVerificationKeys/mojaloop-sdk.pem +9 -0
  60. package/secrets/jwsVerificationKeys/switch.pem +9 -0
  61. package/sequences.puml +99 -0
  62. package/{InboundServer → src/InboundServer}/api.yaml +0 -0
  63. package/src/InboundServer/api_template.yaml +69 -0
  64. package/{InboundServer → src/InboundServer}/handlers.js +0 -0
  65. package/{InboundServer → src/InboundServer}/index.js +0 -0
  66. package/{InboundServer → src/InboundServer}/middlewares.js +0 -0
  67. package/{OAuthTestServer → src/OAuthTestServer}/index.js +0 -0
  68. package/{OAuthTestServer → src/OAuthTestServer}/model.js +0 -0
  69. package/{OutboundServer → src/OutboundServer}/api.yaml +0 -0
  70. package/{OutboundServer → src/OutboundServer}/api_interfaces/index.d.ts +0 -0
  71. package/{OutboundServer → src/OutboundServer}/api_interfaces/openapi.d.ts +0 -0
  72. package/{OutboundServer → src/OutboundServer}/api_template/components/parameters/bulkQuoteId.yaml +1 -1
  73. package/{OutboundServer → src/OutboundServer}/api_template/components/parameters/bulkTransferId.yaml +1 -1
  74. package/{OutboundServer → src/OutboundServer}/api_template/components/parameters/requestToPayTransactionId.yaml +1 -1
  75. package/{OutboundServer → src/OutboundServer}/api_template/components/parameters/transferId.yaml +1 -1
  76. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/accountsCreationCompleted.yaml +0 -0
  77. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/accountsCreationError.yaml +0 -0
  78. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/accountsCreationTimeout.yaml +0 -0
  79. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/bulkQuoteBadRequest.yaml +0 -0
  80. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/bulkQuoteServerError.yaml +0 -0
  81. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/bulkQuoteSuccess.yaml +0 -0
  82. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/bulkQuoteTimeout.yaml +0 -0
  83. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/bulkTransferBadRequest.yaml +0 -0
  84. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/bulkTransferServerError.yaml +0 -0
  85. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/bulkTransferSuccess.yaml +0 -0
  86. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/bulkTransferTimeout.yaml +0 -0
  87. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/partiesByIdError404.yaml +1 -1
  88. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/partiesByIdSuccess.yaml +0 -0
  89. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/quotesPostSuccess.yaml +0 -0
  90. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/quotesServerError.yaml +0 -0
  91. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/requestToPaySuccess.yaml +0 -0
  92. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/requestToPayTransferBadRequest.yaml +0 -0
  93. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/requestToPayTransferSuccess.yaml +0 -0
  94. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/simpleTransfersPostSuccess.yaml +0 -0
  95. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/simpleTransfersServerError.yaml +0 -0
  96. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/transferBadRequest.yaml +0 -0
  97. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/transferServerError.yaml +0 -0
  98. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/transferSuccess.yaml +0 -0
  99. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/transferTimeout.yaml +0 -0
  100. package/src/OutboundServer/api_template/components/schemas/accountCreationStatus.yaml +18 -0
  101. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/accountsCreationState.yaml +0 -0
  102. package/src/OutboundServer/api_template/components/schemas/accountsRequest.yaml +20 -0
  103. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/accountsResponse.yaml +1 -1
  104. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/async2SyncCurrentState.yaml +0 -0
  105. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/bulkQuoteErrorResponse.yaml +0 -0
  106. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/bulkQuoteRequest.yaml +2 -2
  107. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/bulkQuoteResponse.yaml +1 -1
  108. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/bulkQuoteStatus.yaml +0 -0
  109. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/bulkQuoteStatusResponse.yaml +1 -1
  110. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/bulkTransferErrorResponse.yaml +0 -0
  111. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/bulkTransferRequest.yaml +2 -2
  112. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/bulkTransferResponse.yaml +1 -1
  113. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/bulkTransferStatus.yaml +0 -0
  114. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/bulkTransferStatusResponse.yaml +1 -1
  115. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/errorAccountsResponse.yaml +0 -0
  116. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/errorQuotesResponse.yaml +0 -0
  117. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/errorResponse.yaml +0 -0
  118. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/errorSimpleTransfersResponse.yaml +0 -0
  119. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/errorTransferResponse.yaml +0 -0
  120. package/src/OutboundServer/api_template/components/schemas/extensionListEmptiable.yaml +6 -0
  121. package/src/OutboundServer/api_template/components/schemas/individualQuote.yaml +32 -0
  122. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/individualQuoteResult.yaml +5 -5
  123. package/src/OutboundServer/api_template/components/schemas/individualTransfer.yaml +32 -0
  124. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/individualTransferFulfilment.yaml +2 -2
  125. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/individualTransferResult.yaml +6 -6
  126. package/src/OutboundServer/api_template/components/schemas/mojaloopError.yaml +5 -0
  127. package/src/OutboundServer/api_template/components/schemas/mojaloopTransactionRequestState.yaml +2 -0
  128. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/partiesByIdResponse.yaml +1 -1
  129. package/src/OutboundServer/api_template/components/schemas/quote.yaml +3 -0
  130. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/quoteError.yaml +0 -0
  131. package/src/OutboundServer/api_template/components/schemas/quotesPostRequest.yaml +13 -0
  132. package/src/OutboundServer/api_template/components/schemas/quotesPostResponse.yaml +48 -0
  133. package/src/OutboundServer/api_template/components/schemas/requestToPayRequest.yaml +39 -0
  134. package/src/OutboundServer/api_template/components/schemas/requestToPayResponse.yaml +41 -0
  135. package/src/OutboundServer/api_template/components/schemas/requestToPayTransferRequest.yaml +42 -0
  136. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/requestToPayTransferResponse.yaml +6 -6
  137. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/simpleTransferServerError.yaml +0 -0
  138. package/src/OutboundServer/api_template/components/schemas/simpleTransfersPostRequest.yaml +12 -0
  139. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/simpleTransfersPostResponse.yaml +1 -1
  140. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/transactionType.yaml +0 -0
  141. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/transferContinuationAcceptOTP.yaml +0 -0
  142. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/transferContinuationAcceptParty.yaml +0 -0
  143. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/transferContinuationAcceptQuote.yaml +0 -0
  144. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/transferError.yaml +0 -0
  145. package/src/OutboundServer/api_template/components/schemas/transferFulfilment.yaml +3 -0
  146. package/src/OutboundServer/api_template/components/schemas/transferParty.yaml +40 -0
  147. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/transferRequest.yaml +4 -4
  148. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/transferResponse.yaml +6 -6
  149. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/transferStatus.yaml +0 -0
  150. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/transferStatusResponse.yaml +1 -1
  151. package/{OutboundServer → src/OutboundServer}/api_template/health.yaml +0 -0
  152. package/{OutboundServer → src/OutboundServer}/api_template/openapi.yaml +0 -0
  153. package/{OutboundServer → src/OutboundServer}/api_template/paths/accounts.yaml +0 -0
  154. package/{OutboundServer → src/OutboundServer}/api_template/paths/bulkQuotes.yaml +0 -0
  155. package/{OutboundServer → src/OutboundServer}/api_template/paths/bulkQuotes_bulkQuoteId.yaml +0 -0
  156. package/{OutboundServer → src/OutboundServer}/api_template/paths/bulkTransfers.yaml +0 -0
  157. package/{OutboundServer → src/OutboundServer}/api_template/paths/bulkTransfers_bulkTransferId.yaml +0 -0
  158. package/{OutboundServer → src/OutboundServer}/api_template/paths/parties_Type_ID.yaml +2 -2
  159. package/{OutboundServer → src/OutboundServer}/api_template/paths/parties_Type_ID_SubId.yaml +3 -3
  160. package/{OutboundServer → src/OutboundServer}/api_template/paths/quotes.yaml +0 -0
  161. package/{OutboundServer → src/OutboundServer}/api_template/paths/requestToPay.yaml +0 -0
  162. package/{OutboundServer → src/OutboundServer}/api_template/paths/requestToPayTransfer.yaml +0 -0
  163. package/{OutboundServer → src/OutboundServer}/api_template/paths/requestToPayTransfer_requestToPayTransactionId.yaml +0 -0
  164. package/{OutboundServer → src/OutboundServer}/api_template/paths/simpleTransfers.yaml +0 -0
  165. package/{OutboundServer → src/OutboundServer}/api_template/paths/transfers.yaml +0 -0
  166. package/{OutboundServer → src/OutboundServer}/api_template/paths/transfers_transferId.yaml +0 -0
  167. package/{OutboundServer → src/OutboundServer}/handlers.js +0 -0
  168. package/{OutboundServer → src/OutboundServer}/index.js +0 -0
  169. package/{OutboundServer → src/OutboundServer}/middlewares.js +0 -0
  170. package/{TestServer → src/TestServer}/api.yaml +0 -0
  171. package/{TestServer → src/TestServer}/handlers.js +0 -0
  172. package/{TestServer → src/TestServer}/index.js +0 -0
  173. package/{config.js → src/config.js} +0 -0
  174. package/{index.d.ts → src/index.d.ts} +0 -0
  175. package/{index.js → src/index.js} +0 -0
  176. package/{lib → src/lib}/api/index.js +0 -0
  177. package/{lib → src/lib}/cache.js +0 -0
  178. package/{lib → src/lib}/check.js +0 -0
  179. package/{lib → src/lib}/model/AccountsModel.js +0 -0
  180. package/{lib → src/lib}/model/Async2SyncModel.js +0 -0
  181. package/{lib → src/lib}/model/InboundTransfersModel.js +0 -0
  182. package/{lib → src/lib}/model/OutboundBulkQuotesModel.js +0 -0
  183. package/{lib → src/lib}/model/OutboundBulkTransfersModel.js +0 -0
  184. package/{lib → src/lib}/model/OutboundRequestToPayModel.js +0 -0
  185. package/{lib → src/lib}/model/OutboundRequestToPayTransferModel.js +0 -0
  186. package/{lib → src/lib}/model/OutboundTransfersModel.js +0 -0
  187. package/{lib → src/lib}/model/PartiesModel.js +0 -0
  188. package/{lib → src/lib}/model/ProxyModel/MatchRules/Expression.js +0 -0
  189. package/{lib → src/lib}/model/ProxyModel/MatchRules/Headers.js +0 -0
  190. package/{lib → src/lib}/model/ProxyModel/MatchRules/MatchRule.js +0 -0
  191. package/{lib → src/lib}/model/ProxyModel/MatchRules/Path.js +0 -0
  192. package/{lib → src/lib}/model/ProxyModel/MatchRules/Query.js +0 -0
  193. package/{lib → src/lib}/model/ProxyModel/MatchRules/index.js +0 -0
  194. package/{lib → src/lib}/model/ProxyModel/Route.js +0 -0
  195. package/{lib → src/lib}/model/ProxyModel/configSchema.json +0 -0
  196. package/{lib → src/lib}/model/ProxyModel/index.js +0 -0
  197. package/{lib → src/lib}/model/QuotesModel.js +0 -0
  198. package/{lib → src/lib}/model/TransfersModel.js +0 -0
  199. package/{lib → src/lib}/model/common/BackendError.js +0 -0
  200. package/{lib → src/lib}/model/common/PersistentStateMachine.js +0 -0
  201. package/{lib → src/lib}/model/common/index.js +0 -0
  202. package/{lib → src/lib}/model/index.js +0 -0
  203. package/{lib → src/lib}/model/lib/deferredJob.js +0 -0
  204. package/{lib → src/lib}/model/lib/index.js +0 -0
  205. package/{lib → src/lib}/model/lib/requests/backendRequests.js +0 -0
  206. package/{lib → src/lib}/model/lib/requests/common.js +0 -0
  207. package/{lib → src/lib}/model/lib/requests/index.js +0 -0
  208. package/{lib → src/lib}/model/lib/shared.js +0 -0
  209. package/{lib → src/lib}/randomphrase/index.js +0 -0
  210. package/{lib → src/lib}/randomphrase/words.json +0 -0
  211. package/{lib → src/lib}/router.js +0 -0
  212. package/{lib → src/lib}/validate.js +0 -0
  213. package/test/integration/lib/cache.test.js +3 -3
  214. package/test/unit/InboundServer.test.js +4 -4
  215. package/test/unit/TestServer.test.js +5 -5
  216. package/test/unit/api/utils.js +5 -5
  217. package/test/unit/config.test.js +9 -9
  218. package/test/unit/inboundApi/handlers.test.js +6 -6
  219. package/test/unit/index.test.js +1 -1
  220. package/test/unit/lib/cache.test.js +1 -1
  221. package/test/unit/lib/model/AccountsModel.test.js +2 -2
  222. package/test/unit/lib/model/InboundTransfersModel.test.js +5 -5
  223. package/test/unit/lib/model/OutboundBulkQuotesModel.test.js +2 -2
  224. package/test/unit/lib/model/OutboundBulkTransfersModel.test.js +2 -2
  225. package/test/unit/lib/model/OutboundRequestToPayModel.test.js +3 -3
  226. package/test/unit/lib/model/OutboundRequestToPayTransferModel.test.js +2 -2
  227. package/test/unit/lib/model/OutboundTransfersModel.test.js +3 -3
  228. package/test/unit/lib/model/PartiesModel.test.js +28 -28
  229. package/test/unit/lib/model/QuotesModel.test.js +31 -31
  230. package/test/unit/lib/model/TransfersModel.test.js +3 -3
  231. package/test/unit/lib/model/common/PersistentStateMachine.test.js +13 -13
  232. package/test/unit/lib/model/mockedLibRequests.js +1 -1
  233. package/test/unit/outboundApi/handlers.test.js +3 -3
  234. package/.eslintignore +0 -2
  235. package/InboundServer/api_template.yaml +0 -69
  236. package/OutboundServer/api_template/components/schemas/accountCreationStatus.yaml +0 -18
  237. package/OutboundServer/api_template/components/schemas/accountsRequest.yaml +0 -20
  238. package/OutboundServer/api_template/components/schemas/extensionListEmptiable.yaml +0 -6
  239. package/OutboundServer/api_template/components/schemas/individualQuote.yaml +0 -32
  240. package/OutboundServer/api_template/components/schemas/individualTransfer.yaml +0 -32
  241. package/OutboundServer/api_template/components/schemas/mojaloopError.yaml +0 -5
  242. package/OutboundServer/api_template/components/schemas/mojaloopTransactionRequestState.yaml +0 -2
  243. package/OutboundServer/api_template/components/schemas/quote.yaml +0 -3
  244. package/OutboundServer/api_template/components/schemas/quotesPostRequest.yaml +0 -13
  245. package/OutboundServer/api_template/components/schemas/quotesPostResponse.yaml +0 -48
  246. package/OutboundServer/api_template/components/schemas/requestToPayRequest.yaml +0 -39
  247. package/OutboundServer/api_template/components/schemas/requestToPayResponse.yaml +0 -41
  248. package/OutboundServer/api_template/components/schemas/requestToPayTransferRequest.yaml +0 -42
  249. package/OutboundServer/api_template/components/schemas/simpleTransfersPostRequest.yaml +0 -12
  250. package/OutboundServer/api_template/components/schemas/transferFulfilment.yaml +0 -3
  251. package/OutboundServer/api_template/components/schemas/transferParty.yaml +0 -40
@@ -0,0 +1,568 @@
1
+ {
2
+ "/transfers": {
3
+ "post": {
4
+ "fspid": "{$request.headers.fspiop-source}",
5
+ "successCallback": {
6
+ "method": "put",
7
+ "path": "/transfers/{ID}",
8
+ "pathPattern": "/transfers/{$request.body.transferId}",
9
+ "headerOverride": {
10
+ "FSPIOP-Source": "{$request.body.payeeFsp}",
11
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
12
+ "Content-Type": "{$session.negotiatedContentType}",
13
+ "Date": "{$request.headers.date}"
14
+ },
15
+ "bodyOverride": {
16
+ "completedTimestamp": "{$function.generic.curDateISO}",
17
+ "transferState": "COMMITTED",
18
+ "extensionList": null
19
+ }
20
+ },
21
+ "errorCallback": {
22
+ "method": "put",
23
+ "path": "/transfers/{ID}/error",
24
+ "pathPattern": "/transfers/{$request.body.transferId}/error",
25
+ "headerOverride": {
26
+ "FSPIOP-Source": "{$config.FSPID}",
27
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
28
+ "Content-Type": "{$session.negotiatedContentType}",
29
+ "Date": "{$request.headers.date}"
30
+ }
31
+ }
32
+ }
33
+ },
34
+ "/transfers/{ID}": {
35
+ "get": {
36
+ "fspid": "{$request.headers.fspiop-source}",
37
+ "successCallback": {
38
+ "method": "put",
39
+ "path": "/transfers/{ID}",
40
+ "pathPattern": "/transfers/{$request.params.ID}",
41
+ "headerOverride": {
42
+ "FSPIOP-Source": "{$config.FSPID}",
43
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
44
+ "Content-Type": "{$session.negotiatedContentType}",
45
+ "Date": "{$request.headers.date}"
46
+ }
47
+ },
48
+ "errorCallback": {
49
+ "method": "put",
50
+ "path": "/transfers/{ID}/error",
51
+ "pathPattern": "/transfers/{$request.params.ID}/error",
52
+ "headerOverride": {
53
+ "FSPIOP-Source": "{$config.FSPID}",
54
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
55
+ "Content-Type": "{$session.negotiatedContentType}",
56
+ "Date": "{$request.headers.date}"
57
+ }
58
+ }
59
+ }
60
+ },
61
+ "/quotes": {
62
+ "post": {
63
+ "fspid": "{$request.headers.fspiop-source}",
64
+ "successCallback": {
65
+ "method": "put",
66
+ "path": "/quotes/{ID}",
67
+ "pathPattern": "/quotes/{$request.body.quoteId}",
68
+ "headerOverride": {
69
+ "FSPIOP-Source": "{$request.body.payee.partyIdInfo.fspId}",
70
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
71
+ "Content-Type": "{$session.negotiatedContentType}",
72
+ "Date": "{$request.headers.date}"
73
+ },
74
+ "bodyOverride": {
75
+ "transferAmount": {
76
+ "currency": "{$request.body.amount.currency}",
77
+ "amount": "{$request.body.amount.amount}"
78
+ },
79
+ "expiration": "2040-01-01T01:01:01.001Z",
80
+ "extensionList": null
81
+ }
82
+ },
83
+ "errorCallback": {
84
+ "method": "put",
85
+ "path": "/quotes/{ID}/error",
86
+ "pathPattern": "/quotes/{$request.body.quoteId}/error",
87
+ "headerOverride": {
88
+ "FSPIOP-Source": "{$config.FSPID}",
89
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
90
+ "Content-Type": "{$session.negotiatedContentType}",
91
+ "Date": "{$request.headers.date}"
92
+ }
93
+ }
94
+ }
95
+ },
96
+ "/quotes/{ID}": {
97
+ "get": {
98
+ "fspid": "{$request.headers.fspiop-source}",
99
+ "successCallback": {
100
+ "method": "put",
101
+ "path": "/quotes/{ID}",
102
+ "pathPattern": "/quotes/{$request.params.ID}",
103
+ "headerOverride": {
104
+ "FSPIOP-Source": "{$config.FSPID}",
105
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
106
+ "Content-Type": "{$session.negotiatedContentType}",
107
+ "Date": "{$request.headers.date}"
108
+ }
109
+ },
110
+ "errorCallback": {
111
+ "method": "put",
112
+ "path": "/quotes/{ID}/error",
113
+ "pathPattern": "/quotes/{$request.params.ID}/error",
114
+ "headerOverride": {
115
+ "FSPIOP-Source": "{$config.FSPID}",
116
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
117
+ "Content-Type": "{$session.negotiatedContentType}",
118
+ "Date": "{$request.headers.date}"
119
+ }
120
+ }
121
+ }
122
+ },
123
+ "/parties/{Type}/{ID}": {
124
+ "get": {
125
+ "fspid": "{$request.headers.fspiop-source}",
126
+ "successCallback": {
127
+ "method": "put",
128
+ "path": "/parties/{Type}/{ID}",
129
+ "pathPattern": "/parties/{$request.params.Type}/{$request.params.ID}",
130
+ "headerOverride": {
131
+ "FSPIOP-Source": "{$config.FSPID}",
132
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
133
+ "Content-Type": "{$session.negotiatedContentType}",
134
+ "Date": "{$request.headers.date}"
135
+ },
136
+ "bodyOverride": {
137
+ "party": {
138
+ "partyIdInfo": {
139
+ "partyIdType": "{$request.params.Type}",
140
+ "partyIdentifier": "{$request.params.ID}",
141
+ "fspId": "{$config.FSPID}"
142
+ }
143
+ }
144
+ }
145
+ },
146
+ "errorCallback": {
147
+ "method": "put",
148
+ "path": "/parties/{Type}/{ID}/error",
149
+ "pathPattern": "/parties/{$request.params.Type}/{$request.params.ID}/error",
150
+ "headerOverride": {
151
+ "FSPIOP-Source": "{$config.FSPID}",
152
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
153
+ "Content-Type": "{$session.negotiatedContentType}",
154
+ "Date": "{$request.headers.date}"
155
+ }
156
+ }
157
+ }
158
+ },
159
+ "/parties/{Type}/{ID}/{SubId}": {
160
+ "get": {
161
+ "fspid": "{$request.headers.fspiop-source}",
162
+ "successCallback": {
163
+ "method": "put",
164
+ "path": "/parties/{Type}/{ID}/{SubId}",
165
+ "pathPattern": "/parties/{$request.params.Type}/{$request.params.ID}/{$request.params.SubId}",
166
+ "headerOverride": {
167
+ "FSPIOP-Source": "{$config.FSPID}",
168
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
169
+ "Content-Type": "{$session.negotiatedContentType}",
170
+ "Date": "{$request.headers.date}"
171
+ },
172
+ "bodyOverride": {
173
+ "party": {
174
+ "partyIdInfo": {
175
+ "partyIdType": "{$request.params.Type}",
176
+ "partyIdentifier": "{$request.params.ID}",
177
+ "partySubIdOrType": null,
178
+ "fspId": "{$config.FSPID}"
179
+ }
180
+ }
181
+ }
182
+ },
183
+ "errorCallback": {
184
+ "method": "put",
185
+ "path": "/parties/{Type}/{ID}/{SubId}/error",
186
+ "pathPattern": "/parties/{$request.params.Type}/{$request.params.ID}/{$request.params.SubId}/error",
187
+ "headerOverride": {
188
+ "FSPIOP-Source": "{$config.FSPID}",
189
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
190
+ "Content-Type": "{$session.negotiatedContentType}",
191
+ "Date": "{$request.headers.date}"
192
+ }
193
+ }
194
+ }
195
+ },
196
+ "/transactionRequests": {
197
+ "post": {
198
+ "fspid": "{$request.headers.fspiop-source}",
199
+ "successCallback": {
200
+ "method": "put",
201
+ "path": "/transactionRequests/{ID}",
202
+ "pathPattern": "/transactionRequests/{$request.body.transactionRequestId}",
203
+ "headerOverride": {
204
+ "FSPIOP-Source": "{$config.FSPID}",
205
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
206
+ "Content-Type": "{$session.negotiatedContentType}",
207
+ "Date": "{$request.headers.date}"
208
+ }
209
+ },
210
+ "errorCallback": {
211
+ "method": "put",
212
+ "path": "/transactionRequests/{ID}/error",
213
+ "pathPattern": "/transactionRequests/{$request.body.transactionRequestId}/error",
214
+ "headerOverride": {
215
+ "FSPIOP-Source": "{$config.FSPID}",
216
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
217
+ "Content-Type": "{$session.negotiatedContentType}",
218
+ "Date": "{$request.headers.date}"
219
+ }
220
+ }
221
+ }
222
+ },
223
+ "/transactionRequests/{ID}": {
224
+ "get": {
225
+ "fspid": "{$request.headers.fspiop-source}",
226
+ "successCallback": {
227
+ "method": "put",
228
+ "path": "/transactionRequests/{ID}",
229
+ "pathPattern": "/transactionRequests/{$request.params.ID}",
230
+ "headerOverride": {
231
+ "FSPIOP-Source": "{$config.FSPID}",
232
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
233
+ "Content-Type": "{$session.negotiatedContentType}",
234
+ "Date": "{$request.headers.date}"
235
+ }
236
+ },
237
+ "errorCallback": {
238
+ "method": "put",
239
+ "path": "/transactionRequests/{ID}/error",
240
+ "pathPattern": "/transactionRequests/{$request.params.ID}/error",
241
+ "headerOverride": {
242
+ "FSPIOP-Source": "{$config.FSPID}",
243
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
244
+ "Content-Type": "{$session.negotiatedContentType}",
245
+ "Date": "{$request.headers.date}"
246
+ }
247
+ }
248
+ }
249
+ },
250
+ "/participants": {
251
+ "post": {
252
+ "fspid": "{$request.headers.fspiop-source}",
253
+ "successCallback": {
254
+ "method": "put",
255
+ "path": "/participants/{ID}",
256
+ "pathPattern": "/participants/{$request.body.partyList[0].partyIdentifier}",
257
+ "headerOverride": {
258
+ "FSPIOP-Source": "{$config.FSPID}",
259
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
260
+ "Content-Type": "{$session.negotiatedContentType}",
261
+ "Date": "{$request.headers.date}"
262
+ }
263
+ },
264
+ "errorCallback": {
265
+ "method": "put",
266
+ "path": "/participants/{ID}/error",
267
+ "pathPattern": "/participants/{$request.body.partyList[0].partyIdentifier}/error",
268
+ "headerOverride": {
269
+ "FSPIOP-Source": "{$config.FSPID}",
270
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
271
+ "Content-Type": "{$session.negotiatedContentType}",
272
+ "Date": "{$request.headers.date}"
273
+ }
274
+ }
275
+ }
276
+ },
277
+ "/participants/{Type}/{ID}": {
278
+ "get": {
279
+ "fspid": "{$request.headers.fspiop-source}",
280
+ "successCallback": {
281
+ "method": "put",
282
+ "path": "/participants/{Type}/{ID}",
283
+ "pathPattern": "/participants/{$request.params.Type}/{$request.params.ID}",
284
+ "headerOverride": {
285
+ "FSPIOP-Source": "{$config.FSPID}",
286
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
287
+ "Content-Type": "{$session.negotiatedContentType}",
288
+ "Date": "{$request.headers.date}"
289
+ }
290
+ },
291
+ "errorCallback": {
292
+ "method": "put",
293
+ "path": "/participants/{Type}/{ID}/error",
294
+ "pathPattern": "/participants/{$request.params.Type}/{$request.params.ID}/error",
295
+ "headerOverride": {
296
+ "FSPIOP-Source": "{$config.FSPID}",
297
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
298
+ "Content-Type": "{$session.negotiatedContentType}",
299
+ "Date": "{$request.headers.date}"
300
+ }
301
+ }
302
+ },
303
+ "post": {
304
+ "fspid": "{$request.headers.fspiop-source}",
305
+ "successCallback": {
306
+ "method": "put",
307
+ "path": "/participants/{Type}/{ID}",
308
+ "pathPattern": "/participants/{$request.params.Type}/{$request.params.ID}",
309
+ "headerOverride": {
310
+ "FSPIOP-Source": "{$config.FSPID}",
311
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
312
+ "Content-Type": "{$session.negotiatedContentType}",
313
+ "Date": "{$request.headers.date}"
314
+ }
315
+ },
316
+ "errorCallback": {
317
+ "method": "put",
318
+ "path": "/participants/{Type}/{ID}/error",
319
+ "pathPattern": "/participants/{$request.params.Type}/{$request.params.ID}/error",
320
+ "headerOverride": {
321
+ "FSPIOP-Source": "{$config.FSPID}",
322
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
323
+ "Content-Type": "{$session.negotiatedContentType}",
324
+ "Date": "{$request.headers.date}"
325
+ }
326
+ }
327
+ },
328
+ "delete": {
329
+ "fspid": "{$request.headers.fspiop-source}",
330
+ "successCallback": {
331
+ "method": "put",
332
+ "path": "/participants/{Type}/{ID}",
333
+ "pathPattern": "/participants/{$request.params.Type}/{$request.params.ID}",
334
+ "headerOverride": {
335
+ "FSPIOP-Source": "{$config.FSPID}",
336
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
337
+ "Content-Type": "{$session.negotiatedContentType}",
338
+ "Date": "{$request.headers.date}"
339
+ }
340
+ },
341
+ "errorCallback": {
342
+ "method": "put",
343
+ "path": "/participants/{Type}/{ID}/error",
344
+ "pathPattern": "/participants/{$request.params.Type}/{$request.params.ID}/error",
345
+ "headerOverride": {
346
+ "FSPIOP-Source": "{$config.FSPID}",
347
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
348
+ "Content-Type": "{$session.negotiatedContentType}",
349
+ "Date": "{$request.headers.date}"
350
+ }
351
+ }
352
+ }
353
+ },
354
+ "/participants/{Type}/{ID}/{SubId}": {
355
+ "get": {
356
+ "fspid": "{$request.headers.fspiop-source}",
357
+ "successCallback": {
358
+ "method": "put",
359
+ "path": "/participants/{Type}/{ID}/{SubId}",
360
+ "pathPattern": "/participants/{$request.params.Type}/{$request.params.ID}",
361
+ "headerOverride": {
362
+ "FSPIOP-Source": "{$config.FSPID}",
363
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
364
+ "Content-Type": "{$session.negotiatedContentType}",
365
+ "Date": "{$request.headers.date}"
366
+ }
367
+ },
368
+ "errorCallback": {
369
+ "method": "put",
370
+ "path": "/participants/{Type}/{ID}/{SubId}/error",
371
+ "pathPattern": "/participants/{$request.params.Type}/{$request.params.ID}/error",
372
+ "headerOverride": {
373
+ "FSPIOP-Source": "{$config.FSPID}",
374
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
375
+ "Content-Type": "{$session.negotiatedContentType}",
376
+ "Date": "{$request.headers.date}"
377
+ }
378
+ }
379
+ },
380
+ "post": {
381
+ "fspid": "{$request.headers.fspiop-source}",
382
+ "successCallback": {
383
+ "method": "put",
384
+ "path": "/participants/{Type}/{ID}/{SubId}",
385
+ "pathPattern": "/participants/{$request.params.Type}/{$request.params.ID}",
386
+ "headerOverride": {
387
+ "FSPIOP-Source": "{$config.FSPID}",
388
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
389
+ "Content-Type": "{$session.negotiatedContentType}",
390
+ "Date": "{$request.headers.date}"
391
+ }
392
+ },
393
+ "errorCallback": {
394
+ "method": "put",
395
+ "path": "/participants/{Type}/{ID}/{SubId}/error",
396
+ "pathPattern": "/participants/{$request.params.Type}/{$request.params.ID}/error",
397
+ "headerOverride": {
398
+ "FSPIOP-Source": "{$config.FSPID}",
399
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
400
+ "Content-Type": "{$session.negotiatedContentType}",
401
+ "Date": "{$request.headers.date}"
402
+ }
403
+ }
404
+ }
405
+ },
406
+ "/authorizations/{ID}": {
407
+ "get": {
408
+ "fspid": "{$request.headers.fspiop-source}",
409
+ "successCallback": {
410
+ "method": "put",
411
+ "path": "/authorizations/{ID}",
412
+ "pathPattern": "/authorizations/{$request.params.ID}",
413
+ "headerOverride": {
414
+ "FSPIOP-Source": "{$config.FSPID}",
415
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
416
+ "Content-Type": "{$session.negotiatedContentType}",
417
+ "Date": "{$request.headers.date}"
418
+ }
419
+ },
420
+ "errorCallback": {
421
+ "method": "put",
422
+ "path": "/authorizations/{ID}/error",
423
+ "pathPattern": "/authorizations/{$request.params.ID}/error",
424
+ "headerOverride": {
425
+ "FSPIOP-Source": "{$config.FSPID}",
426
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
427
+ "Content-Type": "{$session.negotiatedContentType}",
428
+ "Date": "{$request.headers.date}"
429
+ }
430
+ }
431
+ }
432
+ },
433
+ "/transactions/{ID}": {
434
+ "get": {
435
+ "fspid": "{$request.headers.fspiop-source}",
436
+ "successCallback": {
437
+ "method": "put",
438
+ "path": "/transactions/{ID}",
439
+ "pathPattern": "/transactions/{$request.params.ID}",
440
+ "headerOverride": {
441
+ "FSPIOP-Source": "{$config.FSPID}",
442
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
443
+ "Content-Type": "{$session.negotiatedContentType}",
444
+ "Date": "{$request.headers.date}"
445
+ }
446
+ },
447
+ "errorCallback": {
448
+ "method": "put",
449
+ "path": "/transactions/{ID}/error",
450
+ "pathPattern": "/transactions/{$request.params.ID}/error",
451
+ "headerOverride": {
452
+ "FSPIOP-Source": "{$config.FSPID}",
453
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
454
+ "Content-Type": "{$session.negotiatedContentType}",
455
+ "Date": "{$request.headers.date}"
456
+ }
457
+ }
458
+ }
459
+ },
460
+ "/bulkQuotes": {
461
+ "post": {
462
+ "fspid": "{$request.headers.fspiop-source}",
463
+ "successCallback": {
464
+ "method": "put",
465
+ "path": "/bulkQuotes/{ID}",
466
+ "pathPattern": "/bulkQuotes/{$request.body.bulkQuoteId}",
467
+ "headerOverride": {
468
+ "FSPIOP-Source": "{$config.FSPID}",
469
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
470
+ "Content-Type": "{$session.negotiatedContentType}",
471
+ "Date": "{$request.headers.date}"
472
+ }
473
+ },
474
+ "errorCallback": {
475
+ "method": "put",
476
+ "path": "/bulkQuotes/{ID}/error",
477
+ "pathPattern": "/bulkQuotes/{$request.body.bulkQuoteId}/error",
478
+ "headerOverride": {
479
+ "FSPIOP-Source": "{$config.FSPID}",
480
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
481
+ "Content-Type": "{$session.negotiatedContentType}",
482
+ "Date": "{$request.headers.date}"
483
+ }
484
+ }
485
+ }
486
+ },
487
+ "/bulkQuotes/{ID}": {
488
+ "get": {
489
+ "fspid": "{$request.headers.fspiop-source}",
490
+ "successCallback": {
491
+ "method": "put",
492
+ "path": "/bulkQuotes/{ID}",
493
+ "pathPattern": "/bulkQuotes/{$request.params.ID}",
494
+ "headerOverride": {
495
+ "FSPIOP-Source": "{$config.FSPID}",
496
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
497
+ "Content-Type": "{$session.negotiatedContentType}",
498
+ "Date": "{$request.headers.date}"
499
+ }
500
+ },
501
+ "errorCallback": {
502
+ "method": "put",
503
+ "path": "/bulkQuotes/{ID}/error",
504
+ "pathPattern": "/bulkQuotes/{$request.params.ID}/error",
505
+ "headerOverride": {
506
+ "FSPIOP-Source": "{$config.FSPID}",
507
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
508
+ "Content-Type": "{$session.negotiatedContentType}",
509
+ "Date": "{$request.headers.date}"
510
+ }
511
+ }
512
+ }
513
+ },
514
+ "/bulkTransfers": {
515
+ "post": {
516
+ "fspid": "{$request.headers.fspiop-source}",
517
+ "successCallback": {
518
+ "method": "put",
519
+ "path": "/bulkTransfers/{ID}",
520
+ "pathPattern": "/bulkTransfers/{$request.body.bulkTransferId}",
521
+ "headerOverride": {
522
+ "FSPIOP-Source": "{$config.FSPID}",
523
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
524
+ "Content-Type": "{$session.negotiatedContentType}",
525
+ "Date": "{$request.headers.date}"
526
+ }
527
+ },
528
+ "errorCallback": {
529
+ "method": "put",
530
+ "path": "/bulkTransfers/{ID}/error",
531
+ "pathPattern": "/bulkTransfers/{$request.body.bulkTransferId}/error",
532
+ "headerOverride": {
533
+ "FSPIOP-Source": "{$config.FSPID}",
534
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
535
+ "Content-Type": "{$session.negotiatedContentType}",
536
+ "Date": "{$request.headers.date}"
537
+ }
538
+ }
539
+ }
540
+ },
541
+ "/bulkTransfers/{ID}": {
542
+ "get": {
543
+ "fspid": "{$request.headers.fspiop-source}",
544
+ "successCallback": {
545
+ "method": "put",
546
+ "path": "/bulkTransfers/{ID}",
547
+ "pathPattern": "/bulkTransfers/{$request.params.ID}",
548
+ "headerOverride": {
549
+ "FSPIOP-Source": "{$config.FSPID}",
550
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
551
+ "Content-Type": "{$session.negotiatedContentType}",
552
+ "Date": "{$request.headers.date}"
553
+ }
554
+ },
555
+ "errorCallback": {
556
+ "method": "put",
557
+ "path": "/bulkTransfers/{ID}/error",
558
+ "pathPattern": "/bulkTransfers/{$request.params.ID}/error",
559
+ "headerOverride": {
560
+ "FSPIOP-Source": "{$config.FSPID}",
561
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
562
+ "Content-Type": "{$session.negotiatedContentType}",
563
+ "Date": "{$request.headers.date}"
564
+ }
565
+ }
566
+ }
567
+ }
568
+ }
@@ -0,0 +1,83 @@
1
+ [
2
+ {
3
+ "id": "party.personalInfo.complexName.firstName",
4
+ "pattern": "John|David|Michael|Chris|Mike|Mark|Paul|Daniel|James|Maria"
5
+ },
6
+ {
7
+ "id": "party.personalInfo.complexName.middleName",
8
+ "pattern": "G|P|N|S"
9
+ },
10
+ {
11
+ "id": "party.personalInfo.complexName.lastName",
12
+ "pattern": "Smith|Jones|Johnson|Lee|Brown|Williams|Rodriguez|Garcia|Gonzalez|Lopez"
13
+ },
14
+ {
15
+ "id": "party.personalInfo.dateOfBirth",
16
+ "pattern": "^(19)\\d\\d[-](0[1-9]|1[012])[-](0[1-9]|[12][0-9]|2[0-8])$"
17
+ },
18
+ {
19
+ "id": "transferId",
20
+ "faker": "internet.email"
21
+ },
22
+ {
23
+ "id": "transferState",
24
+ "pattern": "COMMITTED|RESERVED|ABORTED|RECEIVED"
25
+ },
26
+ {
27
+ "id": "fulfilment",
28
+ "pattern": "[A-Fa-f0-9]{64}"
29
+ },
30
+ {
31
+ "id": "condition",
32
+ "pattern": "[A-Fa-f0-9]{64}"
33
+ },
34
+ {
35
+ "id": "ilpPacket",
36
+ "pattern": "[A-Fa-f0-9]{256}"
37
+ },
38
+ {
39
+ "id": "transferAmount.currency",
40
+ "pattern": "USD"
41
+ },
42
+ {
43
+ "id": "transferAmount.amount",
44
+ "pattern": "123"
45
+ },
46
+ {
47
+ "id": "payeeReceiveAmount.currency",
48
+ "pattern": "USD"
49
+ },
50
+ {
51
+ "id": "payeeReceiveAmount.amount",
52
+ "pattern": "123"
53
+ },
54
+ {
55
+ "id": "payeeFspFee.currency",
56
+ "pattern": "USD"
57
+ },
58
+ {
59
+ "id": "payeeFspFee.amount",
60
+ "pattern": "2"
61
+ },
62
+ {
63
+ "id": "payeeFspCommission.currency",
64
+ "pattern": "USD"
65
+ },
66
+ {
67
+ "id": "payeeFspCommission.amount",
68
+ "pattern": "3"
69
+ },
70
+
71
+ {
72
+ "id": "errorInformation.errorCode",
73
+ "pattern": "600[1-9]"
74
+ },
75
+ {
76
+ "id": "errorInformation.errorDescription",
77
+ "pattern": "This is a mock error description"
78
+ },
79
+ {
80
+ "id": "Content-Length",
81
+ "pattern": "123"
82
+ }
83
+ ]