CustomSchemaDeleteV1
Occurs when a custom schema is deleted.
Webhook Payload
The webhook event is encapsulated within a common wrapper structure providing general information about the event.
| Property | Type | Description |
|---|---|---|
| id | string | Unique event id. The same event will have the same id |
| version | string | Event version |
| occurredAt | string | Timestamp of the event |
| tenantId | string | Tenant unique id (GUID) |
| tenantName | string | Tenant name |
| application | string | Application |
| productArea | string | Product area |
| data | object | The container of the event details data object details |
data object details
| Property | Type | Description |
|---|---|---|
| schemaId | string | Unique schema id (GUID) |
| schemaName | string | Schema name |
| schemaDescription | string | Schema description |
| status | N/A | Schema status |
| spaceIds | array | Space unique ids |
| fields | array of objects | Schema fields fields array object details |
| version | object | Version version object details |
| createdAt | string | Created at |
| updatedAt | string | Updated at |
fields array object details
| Property | Type | Description |
|---|---|---|
| schemaFieldId | string | Unique schema field id |
| optional | boolean | Is field optional |
| schemaFieldName | string | Schema field name |
| schemaFieldDescription | string | Schema field description |
| schemaFieldType | N/A | Schema field type |
| hasDomainOfValues | boolean | Has domain of values |
| allowMultipleValues | boolean | Allow multiple values |
| valueType | N/A | Value type |
| ext | ['object', 'null'] | Ext |
version object details
| Property | Type | Description |
|---|---|---|
| versionId | string | Unique version id |
| versionNumber | object | Version number versionNumber object details |
| previousVersionNumber | ['object', 'null'] | Previous version number |
| latest | boolean | Is latest version |
versionNumber object details
| Property | Type | Description |
|---|---|---|
| major | integer | Major version |
| minor | integer | Minor version |
| tag | string | Version tag |
Example
{
"id": "6E1BA5A357E49757F62B48770BA2FA3130B374D1CEB2B6380A8E68E9B134A797",
"version": "CustomSchemaDeleteV1",
"occurredAt": "2024-04-28T14:37:03.734Z",
"tenantId": "234b9f0d-853d-4210-b5d2-b0574e003fcc",
"tenantName": "demo",
"data": {
"schemaId": "6e950235-0105-4f73-a10b-f64c7e17f31d",
"schemaName": "demo2",
"schemaDescription": "",
"status": "draft",
"spaceIds": [],
"fields": [
{
"schemaFieldId": "118a6155-eb26-4603-b213-f3f20d9a7f5e",
"optional": true,
"schemaFieldName": "name2",
"schemaFieldDescription": "",
"schemaFieldType": "text",
"hasDomainOfValues": false,
"allowMultipleValues": false,
"valueType": "string",
"ext": {
"possibleValues": [],
"placeHolder": "",
"max": 2200,
"min": 0
}
}
],
"version": {
"versionId": "b1fd8eee-921e-434a-8486-1ad9ac98f30c",
"versionNumber": {
"major": 1,
"minor": 0,
"tag": "v1.0"
},
"previousVersionNumber": null,
"latest": true
},
"createdAt": "2024-04-28T14:35:37.923Z",
"updatedAt": "2024-04-28T14:35:37.996Z"
},
"application": "CustomSchemaService",
"productArea": "CustomContent"
}
Updated about 13 hours ago