{
"type": "object",
"properties": {
"commits": {
"type": "array",
"items": {
"type": "object",
"properties": {
"original_sha": { "type": "string", "description": "Short SHA of the original commit" },
"action": { "type": "string", "enum": ["pick", "reword", "squash", "drop"], "description": "Rebase action" },
"message": { "type": "string", "description": "New commit message header (type(scope): subject)" },
"body": { "type": "string", "description": "New commit body (optional)" },
"footer": { "type": "string", "description": "New commit footer (optional)" }
},
"required": ["original_sha", "action", "message"]
}
}
},
"required": ["commits"]
}