NewTeamInput
input type
Create-input for a Team. The tenant is derived SERVER-SIDE; ⚠ the caption IS the team name and is REQUIRED at the boundary (an unnamed team is meaningless). Members validate in-tenant + ACTIVE; the lead must be among the supplied members.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
caption | String | no | Optional: when omitted the per-type default applies — NONE — the CsCase divergence class: the caption IS the team name, and an omitted caption refuses VALIDATION/INVALID at the boundary instead of defaulting; when supplied it must be non-blank. |
memberUserIds | ID [ID!] | no | ≤100 distinct in-tenant ACTIVE Users; omit = an empty team (named before staffed). |
leadUserId | ID | no | Must be among the supplied members. |