In the Graphical Data Mapping editor, you can reuse JSON objects and JSON arrays that you define by using the Add User-Defined function. You can also define reusable JSON structures with an XML schema.
You can use any of the following methods to define a JSON message, a JSON object, or a JSON array that you plan to reuse in a map:
Deploy the message map and verify that the output message is valid. For more information, see Troubleshooting a message map.