# EditSchedulableResourceInput

input type

Edit-input for a SchedulableResource. Every field optional, at least ONE required; supplied fields REPLACE, omitted fields are preserved (no clearing semantic) EXCEPT userId, where null explicitly CLEARS the staff link (the EditPlugin.apiKeyId nullish-clear law). The parent LF and resourceType are IMMUTABLE at birth (re-home/re-kind = create + doom). A supplied workingHours array REPLACES wholesale.

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `caption` | [String](/types/#scalars) | no | No further notes. |
| `userId` | [ID](/types/#scalars) | no | Set (staff-kind only — CONFLICT/REF_STATE else) or null-CLEAR the staff link. |
| `capacity` | [Int](/types/#scalars) | no | 1..100 — raising/lowering re-gates NOTHING retroactively (existing reservations stand; the ceiling applies at future confirms). |
| `workingHours` | [WorkingHoursWindowInput](/types/WorkingHoursWindowInput/) `[WorkingHoursWindowInput!]` | no | The wholesale replacement (strips every window). |
| `code` | [String](/types/#scalars) | no | No further notes. |

## Used by

- [updateSchedulableResource](/reference/schedulable-resource/updateSchedulableResource/)
