Prepare a JSON schema
When you want to create a JSON schema that can be used from multiple projects (scripts), create the schema as a schema resource.
In this scenario, create a JSON schema with the following structure:
[ { "id":"1", "first_name":"John", "last_name":"Smith", "email":"jsmith@example.com", "division":"Sales", "ip_address":"198.51.100.0" } ]
Procedures
-
Select
> HULFT INTEGRATE > Schemas.
-
On the Schemas page, select Add.
-
In step General on the Schemas > Add New page, set the schema information as shown below.
Field name
Setting (example)
Name
Employee JSON Schema
Workspace
Personal
Description
(Optional)
Type
JSON
JSON definition
Enter the text described in Description.
NoteTo import a JSON file with Import, use UTF-8 as the character code of the JSON file.
-
Select Validate. If you have validation errors, fix them.
-
Select Next.
-
In step Summary, confirm that the settings are correct, and then select Finish.