A Data Model allows you to represent complex objects that your application handles. Data models define a standard data structure using a JSON schema, providing a consistent way to store, exchange, and process data throughout an application.
Data models are particularly useful when interacting with internal or external services that return or require data in a specific structure, which can be used to define a standard structure for application data using JSON schema, represent a complex business objects in a consistent format, or simplify integration with internal and external services that use structured data.
The following is an example of a data model: a customer onboarding application uses a data model to define customer information.
{
"customerId": "C-10045",
"customerName": "Contoso Ltd.",
"status": "Active",
"primaryContact": {
"firstName": "Jane",
"lastName": "Doe",
"email": "jane.doe@contoso.com"
}
}
-
Data Models
Use a data model when you want to represent the data that is processed by the workflow.
-
Content Types
Use a content model when you need to define metadata for the repository content. For more information, see Content Types.
For next steps, see: