Creating a JSON schema file

Create a JSON schema file to model your JSON format data.

Before you begin

Ensure that you have an application, library, or integration project in which to create your JSON schema file. If the JSON schema file will be used by multiple solutions, consider creating it in a shared library for ease of reuse.

About this task

You can create a JSON schema file either from scratch in your IBM® App Connect Enterprise Toolkit or by importing an existing JSON schema file into your IBM App Connect Enterprise Toolkit.

Procedure

  • Create a JSON schema file from scratch:
    1. Click File > New > Other.
      A window opens in which you can select a wizard.
    2. Expand General, select File, click Next.
      The Create New File window opens.
    3. Select a parent folder and enter a file name for your JSON schema file.
      Give the file an extension of .schema.json or ensure that the file contains the $schema property.
    4. Click Finish.
  • Import an existing JSON schema file from your file system.
    For information about importing files into the IBM App Connect Enterprise Toolkit from your file system, see Importing files from the file system into the IBM App Connect Enterprise Toolkit.

Results

Your JSON schema file is displayed under the appropriate application, library, or integration project in the Application Development view, and is opened in the JSON editor.

What to do next

  • Continue to edit your JSON schema file by using the JSON editor.