# EditTrainingRequirementInput

input type

Edit-input for a TrainingRequirement. Every field optional, at least ONE required; supplied fields REPLACE graceDays, passMark, note and/or caption — at least one; the pair (roleTemplateKey, courseKey) never moves — write a new rule instead.

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `caption` | [String](/types/#scalars) | no | No further notes. |
| `graceDays` | [Int](/types/#scalars) | no | 0..365. |
| `passMark` | [Int](/types/#scalars) | no | 1..100. |
| `note` | [String](/types/#scalars) | no | At most 400 characters; set-only. |

## Used by

- [updateTrainingRequirement](/reference/training-requirement/updateTrainingRequirement/)
