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.
- Click Open libraries from the Assembly Editor to open the Library page.
- Click New library +.
- In the New schema library window, enter the name of the library, and then click Add.
- Select the library that you created, and then click Add resource to import the JSON file.
- Select the JSON file from the list of files. The file type can be .json, .jsn or .jsd
- Click Close to close the Libraries page. The contract library derives an XML schema from the JSON file.