Demo Staff schema — System Protocol reference
Demo Staff schemas of the ObjectStack System Protocol: DemoStaff — each property with its type, default and a TypeScript example.
Source: packages/spec/src/system/demo-staff.zod.ts
TypeScript Usage
import { DemoStaffSchema } from '@objectstack/spec/system';
import type { DemoStaff } from '@objectstack/spec/system';
// Validate data
const result = DemoStaffSchema.parse(data);DemoStaff
Properties
| Property | Type | Required | Description |
|---|---|---|---|
| name | string | ✅ | Display name of the demo account — the value a seed dataset names it by in a sys_user reference such as owner_id |
string | ✅ | Sign-in address of the demo account | |
| position | string | optional | A position this application declares in positions, assigned to the demo account |
| permissionSets | string[] | optional | Permission sets this application declares in permissions, granted to the demo account |