Object
Object Schema Reference
Properties
| Property | Type | Required | Description |
|---|---|---|---|
| name | string | ✅ | Machine name (snake_case) |
| label | string | optional | Singular Label (e.g. "Account") |
| pluralLabel | string | optional | Plural Label (e.g. "Accounts") |
| description | string | optional | Internal description |
| icon | string | optional | Lucide icon name |
| datasource | string | optional | Target Datasource ID (e.g. "postgres", "salesforce"). references sys_datasource. |
| tableName | string | optional | Physical table/collection name in the target datasource |
| isSystem | boolean | optional | Is system object (protected) |
| fields | Record<string, object> | ✅ | Map of field definitions |
| indexes | object[] | optional | Database indexes definition |
| nameField | string | optional | Which field represents the record name/title (usually "name") |
| enable | object | optional | Enabled system capabilities |