@burgan-tech/morph-idm-runtime 0.0.0

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 (206) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +245 -0
  3. package/burgan-tech-morph-idm-runtime-0.0.0.tgz +0 -0
  4. package/morph-idm/Extensions/.gitkeep +0 -0
  5. package/morph-idm/Functions/.gitkeep +0 -0
  6. package/morph-idm/Functions/user/function-validate-user.json +31 -0
  7. package/morph-idm/Functions/user/src/ValidateUser.csx +39 -0
  8. package/morph-idm/Mappings/device-register-evaluate-get-device-request.mapper.json +319 -0
  9. package/morph-idm/Mappings/device-register-evaluate-get-device-response.mapper.json +761 -0
  10. package/morph-idm/Mappings/device-register-new-device-call-device-start-request.mapper.json +762 -0
  11. package/morph-idm/Mappings/device-register-start.mapper.json +971 -0
  12. package/morph-idm/Mappings/device-start-request.mapper.json +20 -0
  13. package/morph-idm/Mappings/device-start.mapper.json +896 -0
  14. package/morph-idm/Mappings/device-update-request.mapper.json +883 -0
  15. package/morph-idm/Mappings/token-start-request.mapper.json +436 -0
  16. package/morph-idm/Schemas/approval-matrix/approval-matrix-master-1.0.0.json +98 -0
  17. package/morph-idm/Schemas/approval-matrix/approval-matrix-update-1.0.0.json +85 -0
  18. package/morph-idm/Schemas/client/client-master-1.0.0.json +293 -0
  19. package/morph-idm/Schemas/client/client-update-master-1.0.0.json +201 -0
  20. package/morph-idm/Schemas/consent/consent-master-1.0.0.json +151 -0
  21. package/morph-idm/Schemas/device/device-master-1.0.0.json +433 -0
  22. package/morph-idm/Schemas/device/device-register-master-1.0.0.json +300 -0
  23. package/morph-idm/Schemas/device/device-register-start-1.0.0.json +270 -0
  24. package/morph-idm/Schemas/device/device-start-1.0.0.json +281 -0
  25. package/morph-idm/Schemas/device/device-update-1.0.0.json +275 -0
  26. package/morph-idm/Schemas/headers-1.0.0.json +245 -0
  27. package/morph-idm/Schemas/organization/organization-master-1.0.0.json +386 -0
  28. package/morph-idm/Schemas/organization/organization-update-1.0.0.json +60 -0
  29. package/morph-idm/Schemas/privilege/privilege-master-1.0.0.json +84 -0
  30. package/morph-idm/Schemas/privilege/privilege-update-1.0.0.json +76 -0
  31. package/morph-idm/Schemas/scope/scope-group-master-1.0.0.json +52 -0
  32. package/morph-idm/Schemas/scope/scope-master-1.0.0.json +120 -0
  33. package/morph-idm/Schemas/token/token-master-1.0.0.json +346 -0
  34. package/morph-idm/Schemas/token/token-start-1.0.0.json +50 -0
  35. package/morph-idm/Schemas/transaction-limit/transaction-limit-master-1.0.0.json +175 -0
  36. package/morph-idm/Schemas/transaction-limit/transaction-limit-update-1.0.0.json +90 -0
  37. package/morph-idm/Schemas/user/person-master-1.0.0.json +211 -0
  38. package/morph-idm/Schemas/user/user-master-1.0.0.json +121 -0
  39. package/morph-idm/Tasks/.gitkeep +0 -0
  40. package/morph-idm/Tasks/call-device-start-1.0.0.json +21 -0
  41. package/morph-idm/Tasks/call-device-update-1.0.0.json +21 -0
  42. package/morph-idm/Tasks/client/client-create-rsa.json +26 -0
  43. package/morph-idm/Tasks/client/client-password-generator.json +14 -0
  44. package/morph-idm/Tasks/client/get-client-by-task.json +18 -0
  45. package/morph-idm/Tasks/consent/get-consent-by-task.json +18 -0
  46. package/morph-idm/Tasks/consent/get-multi-consents-by-task.json +25 -0
  47. package/morph-idm/Tasks/device/get-device-by-task.json +18 -0
  48. package/morph-idm/Tasks/get-device-1.0.0.json +20 -0
  49. package/morph-idm/Tasks/scope/get-scope-by-task.json +17 -0
  50. package/morph-idm/Tasks/scope/scope-by-user-task.json +25 -0
  51. package/morph-idm/Tasks/scope/scope-details-task.json +25 -0
  52. package/morph-idm/Tasks/token/send-token-to-main.json +20 -0
  53. package/morph-idm/Tasks/token/token-create-jwt.json +27 -0
  54. package/morph-idm/Tasks/user/get-user-by-task.json +18 -0
  55. package/morph-idm/Tasks/user/send-otp-task.json +25 -0
  56. package/morph-idm/Tasks/user/send-push-task.json +22 -0
  57. package/morph-idm/Tasks/user/user-password-generator.json +26 -0
  58. package/morph-idm/Tasks/user/verify-otp-task.json +22 -0
  59. package/morph-idm/Tasks/user/verify-push-task.json +22 -0
  60. package/morph-idm/Views/.gitkeep +0 -0
  61. package/morph-idm/Workflows/.gitkeep +0 -0
  62. package/morph-idm/Workflows/approval-matrix/approval-1.0.0.json +452 -0
  63. package/morph-idm/Workflows/approval-matrix/approval-matrix-1.0.0.json +184 -0
  64. package/morph-idm/Workflows/client/client-1.0.0.json +257 -0
  65. package/morph-idm/Workflows/client/client-update-1.0.0.json +202 -0
  66. package/morph-idm/Workflows/client/execute/client.http +377 -0
  67. package/morph-idm/Workflows/client/src/ClientCreateRsa.csx +198 -0
  68. package/morph-idm/Workflows/client/src/ClientCreateRsaByScript.csx +118 -0
  69. package/morph-idm/Workflows/client/src/CreateRsaByHttpCallMapping.csx +223 -0
  70. package/morph-idm/Workflows/client/src/PasswordGeneratorMapping.csx +26 -0
  71. package/morph-idm/Workflows/client/src/RsaExistsRule.csx +44 -0
  72. package/morph-idm/Workflows/client-manager/client-manager-1.0.0.json +217 -0
  73. package/morph-idm/Workflows/client-manager/execute/client-manager.http +214 -0
  74. package/morph-idm/Workflows/client-manager/src/ClientCreatedRule.csx +28 -0
  75. package/morph-idm/Workflows/client-manager/src/ClientExistsRule.csx +25 -0
  76. package/morph-idm/Workflows/client-manager/src/CreateClientSubFlowMapping.csx +63 -0
  77. package/morph-idm/Workflows/client-manager/src/GetClientForManagerMapping.csx +59 -0
  78. package/morph-idm/Workflows/consent/consent-1.0.0.json +424 -0
  79. package/morph-idm/Workflows/consent/execute/README.md +167 -0
  80. package/morph-idm/Workflows/consent/execute/consent-invitation-flow.http +283 -0
  81. package/morph-idm/Workflows/consent/execute/create-consent.http +780 -0
  82. package/morph-idm/Workflows/consent/src/AutoConsentRule.csx +29 -0
  83. package/morph-idm/Workflows/consent/src/ConsentTimeoutTimer.csx +14 -0
  84. package/morph-idm/Workflows/consent-selection/consent-selection-1.0.0.json +331 -0
  85. package/morph-idm/Workflows/consent-selection/src/AutoConsentCreatedRule.csx +28 -0
  86. package/morph-idm/Workflows/consent-selection/src/ConsentFetchMapping.csx +82 -0
  87. package/morph-idm/Workflows/consent-selection/src/ConsentSelectedMapping.csx +70 -0
  88. package/morph-idm/Workflows/consent-selection/src/CreateAutoConsentMapping.csx +150 -0
  89. package/morph-idm/Workflows/consent-selection/src/MultipleConsentsRule.csx +31 -0
  90. package/morph-idm/Workflows/consent-selection/src/NoConsentEligibleRule.csx +44 -0
  91. package/morph-idm/Workflows/consent-selection/src/SingleConsentRule.csx +45 -0
  92. package/morph-idm/Workflows/device/device-1.0.0.json +261 -0
  93. package/morph-idm/Workflows/device/device-migration-1.0.0.json +213 -0
  94. package/morph-idm/Workflows/device/device-register-1.0.0-documentation.md +646 -0
  95. package/morph-idm/Workflows/device/device-register-1.0.0-documentation.svg +36 -0
  96. package/morph-idm/Workflows/device/device-register-1.0.0.json +185 -0
  97. package/morph-idm/Workflows/device/execute/device-android.http +260 -0
  98. package/morph-idm/Workflows/device/execute/device-huawei.http +219 -0
  99. package/morph-idm/Workflows/device/execute/device-ios.http +325 -0
  100. package/morph-idm/Workflows/device/execute/device-web.http +284 -0
  101. package/morph-idm/Workflows/device/src/DeviceCreatedRule.csx +32 -0
  102. package/morph-idm/Workflows/device/src/DeviceFoundRule.csx +32 -0
  103. package/morph-idm/Workflows/device/src/DeviceNotFoundRule.csx +28 -0
  104. package/morph-idm/Workflows/device/src/DeviceUpdatedRule.csx +26 -0
  105. package/morph-idm/Workflows/device/src/NoUpdateRule.csx +19 -0
  106. package/morph-idm/Workflows/device/src/ReInstallRule.csx +19 -0
  107. package/morph-idm/Workflows/document-validation/_FF_document-validation.json +423 -0
  108. package/morph-idm/Workflows/document-validation/src/ApproveRule.csx +16 -0
  109. package/morph-idm/Workflows/document-validation/src/ClassifyRule.csx +16 -0
  110. package/morph-idm/Workflows/document-validation/src/ExtractRule.csx +16 -0
  111. package/morph-idm/Workflows/document-validation/src/HitlRule.csx +16 -0
  112. package/morph-idm/Workflows/document-validation/src/RejectRule.csx +16 -0
  113. package/morph-idm/Workflows/document-validation/src/RunOcrRule.csx +16 -0
  114. package/morph-idm/Workflows/document-validation/src/StartRule.csx +16 -0
  115. package/morph-idm/Workflows/document-validation/src/ToAggregateRule.csx +16 -0
  116. package/morph-idm/Workflows/document-validation/src/ToFraudRule.csx +16 -0
  117. package/morph-idm/Workflows/document-validation/src/ToReferentialRule.csx +16 -0
  118. package/morph-idm/Workflows/document-validation/src/ToSemanticRule.csx +16 -0
  119. package/morph-idm/Workflows/document-validation/src/ToStructuralRule.csx +16 -0
  120. package/morph-idm/Workflows/organization/execute/create-organization.http +280 -0
  121. package/morph-idm/Workflows/organization/organization-1.0.0-documentation.md +616 -0
  122. package/morph-idm/Workflows/organization/organization-1.0.0.json +181 -0
  123. package/morph-idm/Workflows/privilege/privilege-1.0.0.json +185 -0
  124. package/morph-idm/Workflows/scope/execute/scope-24-7-access.http +131 -0
  125. package/morph-idm/Workflows/scope/execute/scope-business-hours.http +138 -0
  126. package/morph-idm/Workflows/scope/execute/scope-corporate.http +165 -0
  127. package/morph-idm/Workflows/scope/execute/scope-individual.http +133 -0
  128. package/morph-idm/Workflows/scope/execute/scope-lifecycle-test.http +133 -0
  129. package/morph-idm/Workflows/scope/execute/scope-multi-systems.http +159 -0
  130. package/morph-idm/Workflows/scope/execute/scope-restricted.http +143 -0
  131. package/morph-idm/Workflows/scope/scope-1.0.0.json +142 -0
  132. package/morph-idm/Workflows/scope/scope-group-1.0.0.json +144 -0
  133. package/morph-idm/Workflows/scope-group/execute/create-scope-group.http +222 -0
  134. package/morph-idm/Workflows/token/execute/README.md +450 -0
  135. package/morph-idm/Workflows/token/execute/token.http +236 -0
  136. package/morph-idm/Workflows/token/oauth-authentication-workflow.json +406 -0
  137. package/morph-idm/Workflows/token/password-subflow.json +173 -0
  138. package/morph-idm/Workflows/token/scope-cdc-worker.1.0.0.json +46 -0
  139. package/morph-idm/Workflows/token/src/CreateRsaJwtMapping.csx +208 -0
  140. package/morph-idm/Workflows/token/src/ExpireTokenTimer.csx +14 -0
  141. package/morph-idm/Workflows/token/src/PrepareAuthorizationCodeRule.csx +16 -0
  142. package/morph-idm/Workflows/token/src/RequestInappropriateRule.csx +16 -0
  143. package/morph-idm/Workflows/token/src/SendJwtToMainMapping.csx +167 -0
  144. package/morph-idm/Workflows/token/token-1.0.0.json +356 -0
  145. package/morph-idm/Workflows/token/token-1.0.0.openapi.json.md +707 -0
  146. package/morph-idm/Workflows/token/token-exchange.1.0.0.json +45 -0
  147. package/morph-idm/Workflows/transaction-limit/transaction-limit-1.0.0.json +244 -0
  148. package/morph-idm/Workflows/transaction-limit/transaction-limit-authorization.json +502 -0
  149. package/morph-idm/Workflows/transaction-limit/transaction-limit-capture.json +142 -0
  150. package/morph-idm/Workflows/user/execute/README-LOGIN.md +535 -0
  151. package/morph-idm/Workflows/user/execute/create-user-1234567890.http +116 -0
  152. package/morph-idm/Workflows/user/execute/create-user-minimal.http +22 -0
  153. package/morph-idm/Workflows/user/execute/create-user-person-password.http +130 -0
  154. package/morph-idm/Workflows/user/execute/create-user-person.http +249 -0
  155. package/morph-idm/Workflows/user/execute/create-user-system.http +16 -0
  156. package/morph-idm/Workflows/user/execute/user-login.http +583 -0
  157. package/morph-idm/Workflows/user/execute/user-requests.http +51 -0
  158. package/morph-idm/Workflows/user/person-1.0.0.json +140 -0
  159. package/morph-idm/Workflows/user/person-cdc-worker.1.0.0.json +46 -0
  160. package/morph-idm/Workflows/user/person-upsert-1.0.0.json +129 -0
  161. package/morph-idm/Workflows/user/src/ApproveRule.csx +16 -0
  162. package/morph-idm/Workflows/user/src/AutoConsentCreatedRule.csx +20 -0
  163. package/morph-idm/Workflows/user/src/AutoConsentRequiredRule.csx +77 -0
  164. package/morph-idm/Workflows/user/src/CheckDeviceByUserReferenceMapping.csx +66 -0
  165. package/morph-idm/Workflows/user/src/ClientValidationFailRule.csx +28 -0
  166. package/morph-idm/Workflows/user/src/ClientValidationRule.csx +25 -0
  167. package/morph-idm/Workflows/user/src/ConsentSelectedRule.csx +24 -0
  168. package/morph-idm/Workflows/user/src/ConsentValidationRule.csx +36 -0
  169. package/morph-idm/Workflows/user/src/CreateAutoConsentMapping.csx +171 -0
  170. package/morph-idm/Workflows/user/src/DeviceFoundForLoginRule.csx +32 -0
  171. package/morph-idm/Workflows/user/src/DeviceNotFoundForLoginRule.csx +31 -0
  172. package/morph-idm/Workflows/user/src/GetClientMapping.csx +45 -0
  173. package/morph-idm/Workflows/user/src/GetConsentMapping.csx +27 -0
  174. package/morph-idm/Workflows/user/src/GetDeviceMapping.csx +52 -0
  175. package/morph-idm/Workflows/user/src/GetScopeMapping.csx +139 -0
  176. package/morph-idm/Workflows/user/src/GetScopesByUserMapping.csx +137 -0
  177. package/morph-idm/Workflows/user/src/GetUserMapping.csx +39 -0
  178. package/morph-idm/Workflows/user/src/GrantValidationFailRule.csx +48 -0
  179. package/morph-idm/Workflows/user/src/GrantValidationRule.csx +45 -0
  180. package/morph-idm/Workflows/user/src/IsIbWebClientWithDeviceRule.csx +42 -0
  181. package/morph-idm/Workflows/user/src/NonIbWebClientWithDeviceRule.csx +42 -0
  182. package/morph-idm/Workflows/user/src/OtpSentRule.csx +31 -0
  183. package/morph-idm/Workflows/user/src/OtpVerifiedRule.csx +31 -0
  184. package/morph-idm/Workflows/user/src/PushSentRule.csx +31 -0
  185. package/morph-idm/Workflows/user/src/PushVerifiedRule.csx +31 -0
  186. package/morph-idm/Workflows/user/src/RejectRule.csx +16 -0
  187. package/morph-idm/Workflows/user/src/ScopeFetchedRule.csx +35 -0
  188. package/morph-idm/Workflows/user/src/ScopeValidationFailRule.csx +67 -0
  189. package/morph-idm/Workflows/user/src/ScopeValidationRule.csx +67 -0
  190. package/morph-idm/Workflows/user/src/SendOtpMapping.csx +94 -0
  191. package/morph-idm/Workflows/user/src/SendPushMapping.csx +90 -0
  192. package/morph-idm/Workflows/user/src/TokenGenerationSuccessRule.csx +28 -0
  193. package/morph-idm/Workflows/user/src/TriggerConsentSelectionAsSubFlowMapping.csx +63 -0
  194. package/morph-idm/Workflows/user/src/TriggerTokenWorkflowAsSubFlowMapping.csx +42 -0
  195. package/morph-idm/Workflows/user/src/UserPasswordGeneratorMapping.csx +190 -0
  196. package/morph-idm/Workflows/user/src/UserValidationFailRule.csx +36 -0
  197. package/morph-idm/Workflows/user/src/UserValidationRule.csx +38 -0
  198. package/morph-idm/Workflows/user/src/VerifyOtpMapping.csx +65 -0
  199. package/morph-idm/Workflows/user/src/VerifyPushMapping.csx +65 -0
  200. package/morph-idm/Workflows/user/user-1.0.0.json +400 -0
  201. package/morph-idm/Workflows/user/user-force-update.1.0.0.json +46 -0
  202. package/morph-idm/Workflows/user/user-login-certificate.1.0.0.json +46 -0
  203. package/morph-idm/Workflows/user/user-login.1.0.0.json +1144 -0
  204. package/morph-idm/Workflows/user/user-password-reset.1.0.0.json +45 -0
  205. package/package.json +21 -0
  206. package/vnext.config.json +58 -0
@@ -0,0 +1,971 @@
1
+ {
2
+ "version": "1.0",
3
+ "metadata": {
4
+ "name": "device-register-start",
5
+ "description": "device-register-start mapper",
6
+ "version": "1.0.0",
7
+ "source": "none",
8
+ "target": "none",
9
+ "createdAt": "2025-11-08T05:18:21.404Z",
10
+ "tags": [
11
+ "new"
12
+ ]
13
+ },
14
+ "schemas": {
15
+ "source": "none",
16
+ "target": "none"
17
+ },
18
+ "nodes": [],
19
+ "edges": [
20
+ {
21
+ "id": "automap_1762580100653_0",
22
+ "source": "source-schema",
23
+ "sourceHandle": "$.header.device.deviceId",
24
+ "target": "target-schema",
25
+ "targetHandle": "$.instance.deviceId"
26
+ },
27
+ {
28
+ "id": "automap_1762580100653_1",
29
+ "source": "source-schema",
30
+ "sourceHandle": "$.header.device.installationId",
31
+ "target": "target-schema",
32
+ "targetHandle": "$.instance.installationId"
33
+ },
34
+ {
35
+ "id": "automap_1762580100653_2",
36
+ "source": "source-schema",
37
+ "sourceHandle": "$.transition.appVersion",
38
+ "target": "target-schema",
39
+ "targetHandle": "$.instance.appVersion"
40
+ },
41
+ {
42
+ "id": "automap_1762580100653_3",
43
+ "source": "source-schema",
44
+ "sourceHandle": "$.transition.attribution.attributionProvider",
45
+ "target": "target-schema",
46
+ "targetHandle": "$.instance.attribution.attributionProvider"
47
+ },
48
+ {
49
+ "id": "automap_1762580100653_4",
50
+ "source": "source-schema",
51
+ "sourceHandle": "$.transition.attribution.campaign",
52
+ "target": "target-schema",
53
+ "targetHandle": "$.instance.attribution.campaign"
54
+ },
55
+ {
56
+ "id": "automap_1762580100653_5",
57
+ "source": "source-schema",
58
+ "sourceHandle": "$.transition.attribution.clickId",
59
+ "target": "target-schema",
60
+ "targetHandle": "$.instance.attribution.clickId"
61
+ },
62
+ {
63
+ "id": "automap_1762580100653_6",
64
+ "source": "source-schema",
65
+ "sourceHandle": "$.transition.attribution.installReferrer",
66
+ "target": "target-schema",
67
+ "targetHandle": "$.instance.attribution.installReferrer"
68
+ },
69
+ {
70
+ "id": "automap_1762580100653_7",
71
+ "source": "source-schema",
72
+ "sourceHandle": "$.transition.attribution.medium",
73
+ "target": "target-schema",
74
+ "targetHandle": "$.instance.attribution.medium"
75
+ },
76
+ {
77
+ "id": "automap_1762580100653_8",
78
+ "source": "source-schema",
79
+ "sourceHandle": "$.transition.attribution.referrerCode",
80
+ "target": "target-schema",
81
+ "targetHandle": "$.instance.attribution.referrerCode"
82
+ },
83
+ {
84
+ "id": "automap_1762580100653_9",
85
+ "source": "source-schema",
86
+ "sourceHandle": "$.transition.attribution.source",
87
+ "target": "target-schema",
88
+ "targetHandle": "$.instance.attribution.source"
89
+ },
90
+ {
91
+ "id": "automap_1762580100653_10",
92
+ "source": "source-schema",
93
+ "sourceHandle": "$.transition.attribution.utmParameters.utm_campaign",
94
+ "target": "target-schema",
95
+ "targetHandle": "$.instance.attribution.utmParameters.utm_campaign"
96
+ },
97
+ {
98
+ "id": "automap_1762580100653_11",
99
+ "source": "source-schema",
100
+ "sourceHandle": "$.transition.attribution.utmParameters.utm_content",
101
+ "target": "target-schema",
102
+ "targetHandle": "$.instance.attribution.utmParameters.utm_content"
103
+ },
104
+ {
105
+ "id": "automap_1762580100653_12",
106
+ "source": "source-schema",
107
+ "sourceHandle": "$.transition.attribution.utmParameters.utm_medium",
108
+ "target": "target-schema",
109
+ "targetHandle": "$.instance.attribution.utmParameters.utm_medium"
110
+ },
111
+ {
112
+ "id": "automap_1762580100653_13",
113
+ "source": "source-schema",
114
+ "sourceHandle": "$.transition.attribution.utmParameters.utm_source",
115
+ "target": "target-schema",
116
+ "targetHandle": "$.instance.attribution.utmParameters.utm_source"
117
+ },
118
+ {
119
+ "id": "automap_1762580100653_14",
120
+ "source": "source-schema",
121
+ "sourceHandle": "$.transition.attribution.utmParameters.utm_term",
122
+ "target": "target-schema",
123
+ "targetHandle": "$.instance.attribution.utmParameters.utm_term"
124
+ },
125
+ {
126
+ "id": "automap_1762580100653_15",
127
+ "source": "source-schema",
128
+ "sourceHandle": "$.transition.deviceCertificatePublicKey",
129
+ "target": "target-schema",
130
+ "targetHandle": "$.instance.deviceCertificatePublicKey"
131
+ },
132
+ {
133
+ "id": "automap_1762580100653_16",
134
+ "source": "source-schema",
135
+ "sourceHandle": "$.transition.deviceInfo.deviceModel",
136
+ "target": "target-schema",
137
+ "targetHandle": "$.instance.deviceInfo.deviceModel"
138
+ },
139
+ {
140
+ "id": "automap_1762580100653_17",
141
+ "source": "source-schema",
142
+ "sourceHandle": "$.transition.deviceInfo.language",
143
+ "target": "target-schema",
144
+ "targetHandle": "$.instance.deviceInfo.language"
145
+ },
146
+ {
147
+ "id": "automap_1762580100653_18",
148
+ "source": "source-schema",
149
+ "sourceHandle": "$.transition.deviceInfo.manufacturer",
150
+ "target": "target-schema",
151
+ "targetHandle": "$.instance.deviceInfo.manufacturer"
152
+ },
153
+ {
154
+ "id": "automap_1762580100653_19",
155
+ "source": "source-schema",
156
+ "sourceHandle": "$.transition.deviceInfo.osName",
157
+ "target": "target-schema",
158
+ "targetHandle": "$.instance.deviceInfo.osName"
159
+ },
160
+ {
161
+ "id": "automap_1762580100653_20",
162
+ "source": "source-schema",
163
+ "sourceHandle": "$.transition.deviceInfo.osVersion",
164
+ "target": "target-schema",
165
+ "targetHandle": "$.instance.deviceInfo.osVersion"
166
+ },
167
+ {
168
+ "id": "automap_1762580100653_21",
169
+ "source": "source-schema",
170
+ "sourceHandle": "$.transition.deviceInfo.screenResolution",
171
+ "target": "target-schema",
172
+ "targetHandle": "$.instance.deviceInfo.screenResolution"
173
+ },
174
+ {
175
+ "id": "automap_1762580100653_22",
176
+ "source": "source-schema",
177
+ "sourceHandle": "$.transition.deviceInfo.timezone",
178
+ "target": "target-schema",
179
+ "targetHandle": "$.instance.deviceInfo.timezone"
180
+ },
181
+ {
182
+ "id": "automap_1762580100653_24",
183
+ "source": "source-schema",
184
+ "sourceHandle": "$.transition.pushToken",
185
+ "target": "target-schema",
186
+ "targetHandle": "$.instance.pushToken"
187
+ }
188
+ ],
189
+ "schemaParts": {
190
+ "source": {
191
+ "header": {
192
+ "schemaRef": "custom",
193
+ "schema": {
194
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
195
+ "$id": "https://vnext.io/schemas/core/headers.json",
196
+ "title": "HTTP Headers",
197
+ "description": "Runtime HTTP request headers and metadata available in all transition mappings. Automatically populated by platform from incoming requests.",
198
+ "type": "object",
199
+ "properties": {
200
+ "acceptLanguage": {
201
+ "type": "string",
202
+ "description": "Client's preferred display language (Accept-Language header). Example: 'en-US', 'tr-TR'."
203
+ },
204
+ "client": {
205
+ "type": "object",
206
+ "description": "Client connection information (IP address and port).",
207
+ "properties": {
208
+ "ipAddress": {
209
+ "type": "string",
210
+ "description": "Client's IP address (IPv4 or IPv6). Example: '192.168.1.100', '2001:db8::1'."
211
+ },
212
+ "port": {
213
+ "type": "integer",
214
+ "description": "Client's source port number. Example: 54321."
215
+ }
216
+ }
217
+ },
218
+ "geolocation": {
219
+ "type": "object",
220
+ "description": "Client's geographic location if device location sharing is enabled.",
221
+ "properties": {
222
+ "latitude": {
223
+ "type": "number",
224
+ "description": "Latitude coordinate."
225
+ },
226
+ "longitude": {
227
+ "type": "number",
228
+ "description": "Longitude coordinate."
229
+ },
230
+ "accuracy": {
231
+ "type": "number",
232
+ "description": "Accuracy in meters."
233
+ },
234
+ "altitude": {
235
+ "type": "number",
236
+ "description": "Altitude in meters above sea level."
237
+ },
238
+ "timestamp": {
239
+ "type": "string",
240
+ "format": "date-time",
241
+ "description": "When location was captured."
242
+ }
243
+ }
244
+ },
245
+ "traceparent": {
246
+ "type": "object",
247
+ "description": "W3C Trace Context for distributed tracing. Replaces X-Request-Id. Format: {version}-{trace-id}-{parent-id}-{trace-flags}",
248
+ "properties": {
249
+ "raw": {
250
+ "type": "string",
251
+ "description": "Raw traceparent header value. Example: '00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-01'"
252
+ },
253
+ "version": {
254
+ "type": "string",
255
+ "description": "Trace context version. Typically '00'."
256
+ },
257
+ "traceId": {
258
+ "type": "string",
259
+ "description": "Unique trace ID for the entire operation chain. 32 hex characters."
260
+ },
261
+ "parentId": {
262
+ "type": "string",
263
+ "description": "Parent span ID. 16 hex characters."
264
+ },
265
+ "traceFlags": {
266
+ "type": "string",
267
+ "description": "Trace flags (sampled, etc.). 2 hex characters."
268
+ }
269
+ }
270
+ },
271
+ "userAgent": {
272
+ "type": "object",
273
+ "description": "Parsed User-Agent information. Format: {application-name}/{version} ({platform}; {device-info}) {engine}",
274
+ "properties": {
275
+ "raw": {
276
+ "type": "string",
277
+ "description": "Raw User-Agent header. Example: 'amorphie-ib-mobile/2.2.1 (Android 13; Galaxy S22) WebKit/537.36'"
278
+ },
279
+ "applicationName": {
280
+ "type": "string",
281
+ "description": "Application name (client-id recommended). Example: 'amorphie-ib-mobile', 'amorphie-cc-web'"
282
+ },
283
+ "version": {
284
+ "type": "string",
285
+ "description": "Application version. Example: '2.2.1', '0.8.1'"
286
+ },
287
+ "platform": {
288
+ "type": "string",
289
+ "description": "Operating system/platform. Example: 'Android 13', 'Windows 10', 'macOS 13.6'"
290
+ },
291
+ "deviceInfo": {
292
+ "type": "string",
293
+ "description": "Device model or browser. Example: 'Galaxy S22', 'Chrome 117', 'Safari 17'"
294
+ },
295
+ "engine": {
296
+ "type": "string",
297
+ "description": "Rendering engine. Example: 'WebKit/537.36', 'WebKit/605.1.15'"
298
+ }
299
+ }
300
+ },
301
+ "device": {
302
+ "type": "object",
303
+ "description": "Parsed X-Device header. Format: {device-id},{installation-id}",
304
+ "properties": {
305
+ "raw": {
306
+ "type": "string",
307
+ "description": "Raw X-Device header. Example: '32941871-b1e8-722e-bfef-6aa0221970b5,77941871-a1e8-712e-bfef-6aa0221970a8'"
308
+ },
309
+ "deviceId": {
310
+ "type": "string",
311
+ "format": "uuid",
312
+ "description": "Unique device identifier from hardware."
313
+ },
314
+ "installationId": {
315
+ "type": "string",
316
+ "format": "uuid",
317
+ "description": "Unique identifier for this app installation."
318
+ }
319
+ }
320
+ },
321
+ "workflow": {
322
+ "type": "object",
323
+ "description": "Parsed X-Workflow header. Format: {runtime-version},{domain},{workflow},{workflow-version},{instance-id}",
324
+ "properties": {
325
+ "raw": {
326
+ "type": "string",
327
+ "description": "Raw X-Workflow header. Example: '1.0,account,new-saving-account,1.1,77941871-a1e8-712e-bfef-6aa0221970a8'"
328
+ },
329
+ "runtimeVersion": {
330
+ "type": "string",
331
+ "description": "Amorphie runtime version. Example: '1.0', '2.1'"
332
+ },
333
+ "domain": {
334
+ "type": "string",
335
+ "description": "Workflow domain. Example: 'account', 'idm', 'payment'"
336
+ },
337
+ "workflow": {
338
+ "type": "string",
339
+ "description": "Workflow key. Example: 'new-saving-account', 'device-register'"
340
+ },
341
+ "workflowVersion": {
342
+ "type": "string",
343
+ "description": "Workflow version. Example: '1.1', '1.0.0'"
344
+ },
345
+ "instanceId": {
346
+ "type": "string",
347
+ "format": "uuid",
348
+ "description": "Unique workflow instance ID."
349
+ }
350
+ }
351
+ },
352
+ "actor": {
353
+ "type": "object",
354
+ "description": "Parsed X-Actor header. Format: {user-id},{user-reference},{scope-id},{scope-reference},{consent-id}",
355
+ "properties": {
356
+ "raw": {
357
+ "type": "string",
358
+ "description": "Raw X-Actor header. Example: '01941871-005f-7140-a321-93d38f385dc2,38512019001,01941871-a1e8-712e-bfef-6aa0221970a8,38512019001,02941871-c2f9-823f-c432-94e49f486ed3'"
359
+ },
360
+ "user": {
361
+ "type": "string",
362
+ "description": "User business reference (e.g., national ID '38512019001', employee number, username). Extracted from position 2 of X-Actor header."
363
+ },
364
+ "scope": {
365
+ "type": "string",
366
+ "description": "Scope (customer) business reference (e.g., customer number '38512019001', CIF). Extracted from position 4 of X-Actor header."
367
+ },
368
+ "consentId": {
369
+ "type": "string",
370
+ "description": "Consent fact ID (ULID) that authorizes this operation. Extracted from position 5 of X-Actor header."
371
+ }
372
+ }
373
+ },
374
+ "requestSource": {
375
+ "type": "object",
376
+ "description": "Parsed X-Request-Source header. Format: {component-type}:{target-info}",
377
+ "properties": {
378
+ "raw": {
379
+ "type": "string",
380
+ "description": "Raw X-Request-Source header. Example: 'router-navigation:dashboard-home', 'workflow-transition:loan-application'"
381
+ },
382
+ "componentType": {
383
+ "type": "string",
384
+ "enum": [
385
+ "router-navigation",
386
+ "workflow-transition",
387
+ "dynamic-view-render",
388
+ "static-view-load",
389
+ "webview-request",
390
+ "search-query",
391
+ "data-manager-fetch",
392
+ "user-action",
393
+ "background-sync",
394
+ "cache-refresh"
395
+ ],
396
+ "description": "Component that initiated the request."
397
+ },
398
+ "targetInfo": {
399
+ "type": "string",
400
+ "description": "Context-specific target information. Example: route name, workflow name, view key, action type, etc."
401
+ }
402
+ }
403
+ },
404
+ "ifNoneMatch": {
405
+ "type": "string",
406
+ "description": "ETag value from client cache (If-None-Match header). ULID format. Used for cache validation."
407
+ },
408
+ "requestTimestamp": {
409
+ "type": "string",
410
+ "format": "date-time",
411
+ "description": "When the request was received by the server (ISO-8601)."
412
+ },
413
+ "serverTimestamp": {
414
+ "type": "string",
415
+ "format": "date-time",
416
+ "description": "Current server time when processing the request (ISO-8601)."
417
+ }
418
+ },
419
+ "additionalProperties": false
420
+ },
421
+ "schemaSourcePath": "morph-idm/morph-idm/Schemas/headers-1.0.0.json",
422
+ "schemaHash": "a24a8f742f43ec179f877a8c3fd273e9b4a92289875da3579360071913c93e90",
423
+ "label": "header"
424
+ },
425
+ "transition": {
426
+ "schemaRef": "custom",
427
+ "schema": {
428
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
429
+ "$id": "https://example.com/schemas/device-register-start.schema.json",
430
+ "title": "Device Register Start",
431
+ "description": "Device registration initiation data. Contains device identification, hardware info, and optional marketing attribution data captured on app launch.",
432
+ "type": "object",
433
+ "properties": {
434
+ "deviceInfo": {
435
+ "type": "object",
436
+ "description": "Detailed information about the device and operating system.",
437
+ "properties": {
438
+ "osName": {
439
+ "type": "string",
440
+ "description": "Operating system name (e.g., iOS, Android, HarmonyOS, Windows, macOS)."
441
+ },
442
+ "osVersion": {
443
+ "type": "string",
444
+ "description": "Operating system version (e.g., 17.2.1, API 33, Windows 11)."
445
+ },
446
+ "deviceModel": {
447
+ "type": "string",
448
+ "description": "Device model (e.g., iPhone 14 Pro, Pixel 7, Galaxy S22, MacBook Pro)."
449
+ },
450
+ "manufacturer": {
451
+ "type": "string",
452
+ "description": "Device manufacturer (e.g., Apple, Samsung, Xiaomi, Huawei, Google)."
453
+ },
454
+ "screenResolution": {
455
+ "type": "string",
456
+ "description": "Device screen resolution (e.g., 1920x1080, 2532x1170)."
457
+ },
458
+ "language": {
459
+ "type": "string",
460
+ "description": "Device language setting (e.g., en-US, tr-TR)."
461
+ },
462
+ "timezone": {
463
+ "type": "string",
464
+ "description": "Device timezone (e.g., Europe/Istanbul, America/New_York)."
465
+ }
466
+ },
467
+ "required": [
468
+ "osName",
469
+ "osVersion",
470
+ "deviceModel",
471
+ "manufacturer"
472
+ ]
473
+ },
474
+ "deviceCertificatePublicKey": {
475
+ "type": "string",
476
+ "description": "Device-specific base public key. Used during initial device registration for device attestation. This is the root device identity, independent of user/consent."
477
+ },
478
+ "pushToken": {
479
+ "description": "Platform-specific push notification token. Device can have only ONE active push token based on its platform. Use 'platform' field to determine which push service to use.",
480
+ "oneOf": [
481
+ {
482
+ "type": "object",
483
+ "description": "Apple Push Notification Service (APNS) for iOS/iPadOS/macOS devices.",
484
+ "required": [
485
+ "platform",
486
+ "token"
487
+ ],
488
+ "properties": {
489
+ "platform": {
490
+ "type": "string",
491
+ "const": "apns",
492
+ "description": "Platform identifier (discriminator field)."
493
+ },
494
+ "token": {
495
+ "type": "string",
496
+ "description": "APNS device token (hex string, 64 characters)."
497
+ },
498
+ "environment": {
499
+ "type": "string",
500
+ "enum": [
501
+ "production",
502
+ "sandbox"
503
+ ],
504
+ "description": "APNS environment. production (App Store), sandbox (Development/TestFlight)."
505
+ },
506
+ "bundleId": {
507
+ "type": "string",
508
+ "description": "iOS app bundle identifier (e.g., 'com.burgan.mobilebanking')."
509
+ }
510
+ }
511
+ },
512
+ {
513
+ "type": "object",
514
+ "description": "Firebase Cloud Messaging (FCM) for Android devices with Google Play Services.",
515
+ "required": [
516
+ "platform",
517
+ "token"
518
+ ],
519
+ "properties": {
520
+ "platform": {
521
+ "type": "string",
522
+ "const": "fcm",
523
+ "description": "Platform identifier (discriminator field)."
524
+ },
525
+ "token": {
526
+ "type": "string",
527
+ "description": "FCM registration token."
528
+ },
529
+ "projectId": {
530
+ "type": "string",
531
+ "description": "Firebase project ID."
532
+ },
533
+ "packageName": {
534
+ "type": "string",
535
+ "description": "Android app package name."
536
+ }
537
+ }
538
+ },
539
+ {
540
+ "type": "object",
541
+ "description": "Huawei Mobile Services (HMS) Push for Huawei devices without Google Play Services.",
542
+ "required": [
543
+ "platform",
544
+ "token"
545
+ ],
546
+ "properties": {
547
+ "platform": {
548
+ "type": "string",
549
+ "const": "hms",
550
+ "description": "Platform identifier (discriminator field)."
551
+ },
552
+ "token": {
553
+ "type": "string",
554
+ "description": "HMS Push token."
555
+ },
556
+ "appId": {
557
+ "type": "string",
558
+ "description": "Huawei AppGallery app ID."
559
+ },
560
+ "packageName": {
561
+ "type": "string",
562
+ "description": "Android app package name."
563
+ }
564
+ }
565
+ },
566
+ {
567
+ "type": "object",
568
+ "description": "Web Push API for Progressive Web Apps and browsers.",
569
+ "required": [
570
+ "platform",
571
+ "endpoint"
572
+ ],
573
+ "properties": {
574
+ "platform": {
575
+ "type": "string",
576
+ "const": "webpush",
577
+ "description": "Platform identifier (discriminator field)."
578
+ },
579
+ "endpoint": {
580
+ "type": "string",
581
+ "description": "Push service endpoint URL."
582
+ },
583
+ "keys": {
584
+ "type": "object",
585
+ "properties": {
586
+ "p256dh": {
587
+ "type": "string",
588
+ "description": "Client public key for encryption (base64)."
589
+ },
590
+ "auth": {
591
+ "type": "string",
592
+ "description": "Authentication secret (base64)."
593
+ }
594
+ }
595
+ },
596
+ "browser": {
597
+ "type": "string",
598
+ "description": "Browser name/version (e.g., 'Chrome 120')."
599
+ }
600
+ }
601
+ }
602
+ ]
603
+ },
604
+ "appVersion": {
605
+ "type": "string",
606
+ "description": "Version of the application installed on this device (e.g., 2.5.1, 3.0.0-beta)."
607
+ },
608
+ "attribution": {
609
+ "type": "object",
610
+ "description": "App installation attribution and referral tracking data. Captured during first app install from app stores or marketing campaigns. Only sent on FIRST launch, null on subsequent launches.",
611
+ "properties": {
612
+ "referrerCode": {
613
+ "type": "string",
614
+ "description": "Referral code used during app installation. Could be from friend invite, affiliate program, or promotion code."
615
+ },
616
+ "source": {
617
+ "type": "string",
618
+ "description": "Installation source (e.g., 'organic', 'google_ads', 'facebook_ads', 'app_store', 'play_store', 'sms_campaign', 'email_campaign', 'qr_code')."
619
+ },
620
+ "campaign": {
621
+ "type": "string",
622
+ "description": "Marketing campaign identifier that led to this installation (e.g., 'summer_2024', 'new_year_promo', 'branch_opening')."
623
+ },
624
+ "medium": {
625
+ "type": "string",
626
+ "description": "Marketing medium (e.g., 'cpc', 'social', 'email', 'sms', 'banner', 'outdoor')."
627
+ },
628
+ "utmParameters": {
629
+ "type": "object",
630
+ "description": "UTM parameters from marketing URLs. Standard tracking parameters for digital campaigns.",
631
+ "properties": {
632
+ "utm_source": {
633
+ "type": "string",
634
+ "description": "Traffic source (e.g., 'google', 'facebook', 'newsletter')."
635
+ },
636
+ "utm_medium": {
637
+ "type": "string",
638
+ "description": "Marketing medium (e.g., 'cpc', 'banner', 'email')."
639
+ },
640
+ "utm_campaign": {
641
+ "type": "string",
642
+ "description": "Campaign name (e.g., 'spring_sale', 'app_launch')."
643
+ },
644
+ "utm_term": {
645
+ "type": "string",
646
+ "description": "Paid search keywords."
647
+ },
648
+ "utm_content": {
649
+ "type": "string",
650
+ "description": "Ad variation identifier (A/B testing)."
651
+ }
652
+ }
653
+ },
654
+ "clickId": {
655
+ "type": "string",
656
+ "description": "Ad click identifier from ad networks (e.g., Google Click ID 'gclid', Facebook Click ID 'fbclid')."
657
+ },
658
+ "installReferrer": {
659
+ "type": "string",
660
+ "description": "Google Play Install Referrer or App Store attribution data. Raw referrer string from app store."
661
+ },
662
+ "attributionProvider": {
663
+ "type": "string",
664
+ "description": "Attribution SDK/service used (e.g., 'AppsFlyer', 'Adjust', 'Branch', 'Firebase', 'native')."
665
+ },
666
+ "attributionData": {
667
+ "type": "object",
668
+ "description": "Raw attribution data from third-party attribution provider. Provider-specific tracking data.",
669
+ "additionalProperties": true
670
+ }
671
+ }
672
+ }
673
+ },
674
+ "required": [
675
+ "deviceInfo",
676
+ "deviceCertificatePublicKey",
677
+ "appVersion"
678
+ ],
679
+ "additionalProperties": false
680
+ },
681
+ "schemaSourcePath": "morph-idm/morph-idm/Schemas/device-register-start-1.0.0.json",
682
+ "schemaHash": "7a3db3c0052a59b66c93bc4687b38bf9856be1e534dabd467479acea1a424d66",
683
+ "label": "transition"
684
+ }
685
+ },
686
+ "target": {
687
+ "instance": {
688
+ "schemaRef": "custom",
689
+ "schema": {
690
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
691
+ "$id": "https://example.com/schemas/device-register-master.schema.json",
692
+ "title": "Device Register",
693
+ "description": "Device registration operational flow data. Stores device information during registration process before transferring to device fact.",
694
+ "type": "object",
695
+ "properties": {
696
+ "deviceId": {
697
+ "type": "string",
698
+ "description": "Hardware or system-level unique identifier of the device (e.g., UUID, Vendor ID, IMEI)."
699
+ },
700
+ "installationId": {
701
+ "type": "string",
702
+ "format": "uuid",
703
+ "description": "Unique identifier generated for each installation of the application on the device. Distinguishes different installations on the same device."
704
+ },
705
+ "deviceInfo": {
706
+ "type": "object",
707
+ "description": "Detailed information about the device and operating system.",
708
+ "properties": {
709
+ "osName": {
710
+ "type": "string",
711
+ "description": "Operating system name (e.g., iOS, Android, HarmonyOS, Windows, macOS)."
712
+ },
713
+ "osVersion": {
714
+ "type": "string",
715
+ "description": "Operating system version (e.g., 17.2.1, API 33, Windows 11)."
716
+ },
717
+ "deviceModel": {
718
+ "type": "string",
719
+ "description": "Device model (e.g., iPhone 14 Pro, Pixel 7, Galaxy S22, MacBook Pro)."
720
+ },
721
+ "manufacturer": {
722
+ "type": "string",
723
+ "description": "Device manufacturer (e.g., Apple, Samsung, Xiaomi, Huawei, Google)."
724
+ },
725
+ "userAgent": {
726
+ "type": "string",
727
+ "description": "User-Agent string from browser or application."
728
+ },
729
+ "screenResolution": {
730
+ "type": "string",
731
+ "description": "Device screen resolution (e.g., 1920x1080, 2532x1170)."
732
+ },
733
+ "language": {
734
+ "type": "string",
735
+ "description": "Device language setting (e.g., en-US, tr-TR)."
736
+ },
737
+ "timezone": {
738
+ "type": "string",
739
+ "description": "Device timezone (e.g., Europe/Istanbul, America/New_York)."
740
+ }
741
+ },
742
+ "required": [
743
+ "osName",
744
+ "osVersion",
745
+ "deviceModel",
746
+ "manufacturer"
747
+ ]
748
+ },
749
+ "deviceCertificatePublicKey": {
750
+ "type": "string",
751
+ "description": "Device-specific base public key. Used during initial device registration for device attestation. This is the root device identity, independent of user/consent."
752
+ },
753
+ "pushToken": {
754
+ "description": "Platform-specific push notification token. Device can have only ONE active push token based on its platform. Use 'platform' field to determine which push service to use.",
755
+ "oneOf": [
756
+ {
757
+ "type": "object",
758
+ "description": "Apple Push Notification Service (APNS) for iOS/iPadOS/macOS devices.",
759
+ "required": [
760
+ "platform",
761
+ "token"
762
+ ],
763
+ "properties": {
764
+ "platform": {
765
+ "type": "string",
766
+ "const": "apns",
767
+ "description": "Platform identifier (discriminator field)."
768
+ },
769
+ "token": {
770
+ "type": "string",
771
+ "description": "APNS device token (hex string, 64 characters)."
772
+ },
773
+ "environment": {
774
+ "type": "string",
775
+ "enum": [
776
+ "production",
777
+ "sandbox"
778
+ ],
779
+ "description": "APNS environment. production (App Store), sandbox (Development/TestFlight)."
780
+ },
781
+ "bundleId": {
782
+ "type": "string",
783
+ "description": "iOS app bundle identifier (e.g., 'com.burgan.mobilebanking')."
784
+ }
785
+ }
786
+ },
787
+ {
788
+ "type": "object",
789
+ "description": "Firebase Cloud Messaging (FCM) for Android devices with Google Play Services.",
790
+ "required": [
791
+ "platform",
792
+ "token"
793
+ ],
794
+ "properties": {
795
+ "platform": {
796
+ "type": "string",
797
+ "const": "fcm",
798
+ "description": "Platform identifier (discriminator field)."
799
+ },
800
+ "token": {
801
+ "type": "string",
802
+ "description": "FCM registration token."
803
+ },
804
+ "projectId": {
805
+ "type": "string",
806
+ "description": "Firebase project ID."
807
+ },
808
+ "packageName": {
809
+ "type": "string",
810
+ "description": "Android app package name."
811
+ }
812
+ }
813
+ },
814
+ {
815
+ "type": "object",
816
+ "description": "Huawei Mobile Services (HMS) Push for Huawei devices without Google Play Services.",
817
+ "required": [
818
+ "platform",
819
+ "token"
820
+ ],
821
+ "properties": {
822
+ "platform": {
823
+ "type": "string",
824
+ "const": "hms",
825
+ "description": "Platform identifier (discriminator field)."
826
+ },
827
+ "token": {
828
+ "type": "string",
829
+ "description": "HMS Push token."
830
+ },
831
+ "appId": {
832
+ "type": "string",
833
+ "description": "Huawei AppGallery app ID."
834
+ },
835
+ "packageName": {
836
+ "type": "string",
837
+ "description": "Android app package name."
838
+ }
839
+ }
840
+ },
841
+ {
842
+ "type": "object",
843
+ "description": "Web Push API for Progressive Web Apps and browsers.",
844
+ "required": [
845
+ "platform",
846
+ "endpoint"
847
+ ],
848
+ "properties": {
849
+ "platform": {
850
+ "type": "string",
851
+ "const": "webpush",
852
+ "description": "Platform identifier (discriminator field)."
853
+ },
854
+ "endpoint": {
855
+ "type": "string",
856
+ "description": "Push service endpoint URL."
857
+ },
858
+ "keys": {
859
+ "type": "object",
860
+ "properties": {
861
+ "p256dh": {
862
+ "type": "string",
863
+ "description": "Client public key for encryption (base64)."
864
+ },
865
+ "auth": {
866
+ "type": "string",
867
+ "description": "Authentication secret (base64)."
868
+ }
869
+ }
870
+ },
871
+ "browser": {
872
+ "type": "string",
873
+ "description": "Browser name/version (e.g., 'Chrome 120')."
874
+ }
875
+ }
876
+ }
877
+ ]
878
+ },
879
+ "appVersion": {
880
+ "type": "string",
881
+ "description": "Version of the application installed on this device (e.g., 2.5.1, 3.0.0-beta)."
882
+ },
883
+ "attribution": {
884
+ "type": "object",
885
+ "description": "App installation attribution and referral tracking data. Captured during first app install from app stores or marketing campaigns. Only sent on FIRST launch, null on subsequent launches.",
886
+ "properties": {
887
+ "referrerCode": {
888
+ "type": "string",
889
+ "description": "Referral code used during app installation. Could be from friend invite, affiliate program, or promotion code."
890
+ },
891
+ "source": {
892
+ "type": "string",
893
+ "description": "Installation source (e.g., 'organic', 'google_ads', 'facebook_ads', 'app_store', 'play_store', 'sms_campaign', 'email_campaign', 'qr_code')."
894
+ },
895
+ "campaign": {
896
+ "type": "string",
897
+ "description": "Marketing campaign identifier that led to this installation (e.g., 'summer_2024', 'new_year_promo', 'branch_opening')."
898
+ },
899
+ "medium": {
900
+ "type": "string",
901
+ "description": "Marketing medium (e.g., 'cpc', 'social', 'email', 'sms', 'banner', 'outdoor')."
902
+ },
903
+ "utmParameters": {
904
+ "type": "object",
905
+ "description": "UTM parameters from marketing URLs. Standard tracking parameters for digital campaigns.",
906
+ "properties": {
907
+ "utm_source": {
908
+ "type": "string",
909
+ "description": "Traffic source (e.g., 'google', 'facebook', 'newsletter')."
910
+ },
911
+ "utm_medium": {
912
+ "type": "string",
913
+ "description": "Marketing medium (e.g., 'cpc', 'banner', 'email')."
914
+ },
915
+ "utm_campaign": {
916
+ "type": "string",
917
+ "description": "Campaign name (e.g., 'spring_sale', 'app_launch')."
918
+ },
919
+ "utm_term": {
920
+ "type": "string",
921
+ "description": "Paid search keywords."
922
+ },
923
+ "utm_content": {
924
+ "type": "string",
925
+ "description": "Ad variation identifier (A/B testing)."
926
+ }
927
+ }
928
+ },
929
+ "clickId": {
930
+ "type": "string",
931
+ "description": "Ad click identifier from ad networks (e.g., Google Click ID 'gclid', Facebook Click ID 'fbclid')."
932
+ },
933
+ "installReferrer": {
934
+ "type": "string",
935
+ "description": "Google Play Install Referrer or App Store attribution data. Raw referrer string from app store."
936
+ },
937
+ "attributionProvider": {
938
+ "type": "string",
939
+ "description": "Attribution SDK/service used (e.g., 'AppsFlyer', 'Adjust', 'Branch', 'Firebase', 'native')."
940
+ },
941
+ "attributionData": {
942
+ "type": "object",
943
+ "description": "Raw attribution data from third-party attribution provider. Provider-specific tracking data.",
944
+ "additionalProperties": true
945
+ }
946
+ }
947
+ }
948
+ },
949
+ "required": [
950
+ "deviceId",
951
+ "installationId",
952
+ "deviceInfo",
953
+ "deviceCertificatePublicKey",
954
+ "appVersion"
955
+ ],
956
+ "additionalProperties": false
957
+ },
958
+ "schemaSourcePath": "morph-idm/morph-idm/Schemas/device-register-master-1.0.0.json",
959
+ "schemaHash": "26deef703852a2af8335004b3245f60971977ef28847489f811b1ce02c6c7bfe",
960
+ "label": "instance"
961
+ }
962
+ },
963
+ "sourceOrder": [
964
+ "header",
965
+ "transition"
966
+ ],
967
+ "targetOrder": [
968
+ "instance"
969
+ ]
970
+ }
971
+ }