{ "$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." } } } } } }