You can create a new Data Model to represent the structured
business data used in your application. By default, a newly created data model is available
only within the current project.
By default, data models are scoped to the current project. If you need to reuse a
data model across projects, it can later be configured as a global data model.
To create a data model:
-
Select how to create the data model:
- Click .
- Click the vertical ellipsis (
) button next to the
Data Models drop-down button in the left-hand
pane, then select Create.
The Create Data Model window is displayed.
-
Enter a name in the Data Model name field.
-
Optional: Enter a description in the Data Model
description field.
-
Click Create Data Model.
The data model is opened as a new tab.
-
Define the data model properties in the properties pane on the right. The
following are available:
| Property |
Description |
| Description |
Describes the purpose of the data model. |
| Custom attributes |
User-defined attributes that provide additional data
model definitions. This field lists all custom attributes
that are defined in the data model. |
| additionalProperties |
Controls whether an object can contain properties that
are not explicitly defined in the data model. When enabled,
additional properties beyond those defined in the schema are
allowed. When disabled, only the properties defined in the
schema are permitted. JSON Schema also allows additional
properties to be validated against a specific schema
definition. |
-
Select the type of the data model from the Type
drop-down menu.
The following types are available:
| Data Model Type |
Description |
| JSON schema types |
Defines structured data using standard JSON Schema data
types such as arrays, booleans, integers, objects, numbers,
or strings. Use this type to model business entities and
validate data structures used throughout a process. |
| Modeling app |
References definitions created within Studio Modeler and
allows data structures to be reused across project assets,
such as date, datetime, file, and folder. The selected type
determines how the data model is represented and consumed
within the application. |
| Enumeration |
Defines a predefined list of allowed values that can be
reused throughout a data model. Enumerations are useful when
a property should be limited to a fixed set of options, such
as statuses, categories, or priorities. |
| Composition |
Combines multiple definitions into a single reusable
structure. Compositions help build complex business
objects from smaller data model definitions. The
possible options are:
-
allOf, in which the object
must match all referenced schemas
-
anyOf, in which the object
must match at least one of the schemas
-
oneOf, in which the object
must match exactly one of the schemas
-
ref, which reuses an existing
match by reference
|
-
Optional: Define properties of the data model in the
Properties pane. The displayed properties depend on the
data model type and are available for the following types:
-
Use the + button to add a definition to the data
model.
Tip: Definitions are added as nodes in a tree
form. When adding multiple properties and definitions, be mindful of their
location within that tree.
-
Optional: Change the default definition. You can use this field to give the
definition a custom, easily-recognizable name.
-
Select the definition type from the Type drop-down
menu.
-
Optional: Enter the definition title in the Title
field.
-
When you are done editing, use the save (
) button to save the model
in your project.
-
Optional: Simulate behavior of the data model. For more information, see Simulating Data Models.
The use of this data model is limited to the current project. To change this setting,
see Setting Global Data Models.
The following example defines a data model with properties of different JSON Schema
types, including string, integer, number, boolean, date, and date-time.
{
"name": "dataModel",
"key": "datamodel-tvlep",
"title": "Data Model",
"$defs": {},
"additionalProperties": false,
"type": "object",
"properties": {
"customerName": {
"type": "string",
"title": "Customer Name",
"name": "customerName"
},
"itemCount": {
"name": "itemCount",
"type": "integer",
"title": "Item No."
},
"totalPrice": {
"name": "totalPrice",
"type": "number",
"title": "Total Price"
},
"isPriority": {
"name": "isPriority",
"type": "boolean",
"title": "Priority"
},
"orderDate": {
"name": "orderDate",
"type": "string",
"format": "date"
},
"lastUpdated": {
"name": "lastUpdated",
"type": "string",
"format": "date-time",
"title": "Last Updated"
}
}
}
At process runtime, a variable based on this data model might contain the following
values:
{
"customerName": "Acme Corp",
"itemCount": 42,
"totalPrice": 1299.99,
"isPriority": true,
"orderDate": "2026-08-19",
"lastUpdated": "2026-08-19T10:30:00Z"
}