IBM Support

How to validate an IBM MQ CCDT JSON file against the schema

Question & Answer


Question

You are experimenting with the CCDT JSON text files to connect IBM MQ Client applications with queue managers.
You have successfully tested 2 files that have only 1 channel, and now you want to create another file that has 2 channels, but the 2nd channel does not seem to be found.
.
Now you want to know:
a) How to validate that the contents has a valid JSON format?
b) How to validate that the contents has the proper syntax for a CCDT file in JSON?
+ Note for MQ 9.4 (no change to the schema):
The file ccdt_schema.json delivered in MQ 9.4 has the same contents as in MQ 9.3
 

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"ARM Category":[{"code":"a8m0z00000008QJAAY","label":"Connectivity-\u003EClient Channels"}],"ARM Case Number":"TS012463556","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"},{"Product":{"code":"SSKM59","label":"IBM MQ for HPE NonStop"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}},{"Product":{"code":"SS5K6E","label":"IBM MQ Appliance"},"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
28 April 2025

UID

ibm16964482