Examples
Last updated
Was this helpful?
Last updated
Was this helpful?
The is the essence of your . Created using JSON, Data Schemas can be as simple or complex as your needs demand. Several examples of this powerful Contextual capability are provided.
An example of a Customer Object Type typical to a simple business or CRM system.
ID
customer
Display Name
Customer
Display Name (Plural)
Customers
Description
Customers of my company.
Category
Data
This schema defines an object for storing customer data, using customerId
as the primary key, which is generated as a UUID version 4 string. The schema includes properties such as firstName
, lastName
, email
(which must be a valid email format), and phone
, each requiring a minimum length of one character. It also details an address
object with mandatory properties like street
, city
, state
, and zip
, each also requiring a minimum length of one. All these properties are required for the object to be valid. Additionally, the schema disallows any properties not explicitly defined (additionalProperties
is set to false).
prompts you might consider to modify this schema:
prompts you might consider to modify this schema: