Creating a JSON schema in the schema library

You can create a library and import the JSON file to create a JSON schema.

If you select a JSON instance, the contract library derives an XML schema from the JSON instance and imports the derived schema into the contract library.
  1. Click Open libraries from the Assembly Editor to open the Library page.
  2. Click New library +.
  3. In the New schema library window, enter the name of the library, and then click Add.
  4. Select the library that you created, and then click Add resource to import the JSON file.
  5. Select the JSON file from the list of files. The file type can be .json, .jsn or .jsd
  6. Click Close to close the Libraries page.
    The contract library derives an XML schema from the JSON file.