Define a model schema
Define a schema for reuse by reference
The model object (entity) schemas can inherit schemas by reference from the model-level schemas.
-
Open the event model for which you want to define top-level schemas for reuse by model object entities.
-
From the left navigation menu, click
. -
Click + Add Schema.
The All Schemas in Event Model panel appears.
-
Enter a Name for the schema.
-
(Optional) Enter a Namespace.
-
In Schema Definition, select the Schema Type.
Depending on the selected schema type, you are prompted to define additional properties.
-
Define the additional properties as appropriate for your schema.
-
Click Save.
You can continue to add schemas within the panel.
Validate a sample JSON or EDN object against your schema right within the Schema panel. |