Properties
| Name | Type | Description |
|---|---|---|
| name | string | Updated rotation name. |
| type | string | Updated rotation type. |
| startDate | string | Updated start date. |
| endDate | string | Updated end date. |
| length | integer | Updated rotation length. |
| participants | array | Updated participants. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/UpdateRotationRequest",
"title": "UpdateRotationRequest",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Updated rotation name."
},
"type": {
"type": "string",
"enum": [
"daily",
"weekly",
"hourly"
],
"description": "Updated rotation type."
},
"startDate": {
"type": "string",
"format": "date-time",
"description": "Updated start date."
},
"endDate": {
"type": "string",
"format": "date-time",
"description": "Updated end date."
},
"length": {
"type": "integer",
"description": "Updated rotation length."
},
"participants": {
"type": "array",
"description": "Updated participants.",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Participant type."
},
"id": {
"type": "string",
"description": "Participant ID."
},
"username": {
"type": "string",
"description": "Username for user participants."
}
}
}
}
}
}