Model Example
In this example, the Model syntax is introduced via the exemplary creation of a Model describing a Fabric (e.g. silk).
If you create a Model via API, a Post request is sent to an endpoint like https://[your_organization].datome.io/api/models/fabric/. In this case, it will indicate that a new model named Fabric is being created. You will get a response with the following structure:
{
"$id": "string",
"$schema": "string",
"additionalProperties": boolean,
"description": "string",
"label": "string",
"properties": {},
"required": [],
"search": [],
"states": {
"default_state": "string"
},
"title": "string",
"type": "object",
}
Last updated