JSON Schema definitions for all pipeline handover contracts including issue analysis, research, enhancement, and sync flows. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
72 lines
1.7 KiB
JSON
72 lines
1.7 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "GitHub Issue Enhancement Results",
|
|
"description": "Schema for GitHub issue enhancement execution results",
|
|
"type": "object",
|
|
"required": ["enhanced_issues", "total_attempted", "total_successful"],
|
|
"properties": {
|
|
"enhanced_issues": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"required": ["issue_number", "success", "changes_made", "url"],
|
|
"properties": {
|
|
"issue_number": {
|
|
"type": "integer",
|
|
"minimum": 1
|
|
},
|
|
"success": {
|
|
"type": "boolean"
|
|
},
|
|
"changes_made": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "List of changes successfully applied"
|
|
},
|
|
"title_updated": {
|
|
"type": "boolean"
|
|
},
|
|
"body_updated": {
|
|
"type": "boolean"
|
|
},
|
|
"labels_added": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"comment_added": {
|
|
"type": "boolean"
|
|
},
|
|
"error": {
|
|
"type": "string",
|
|
"description": "Error message if enhancement failed"
|
|
},
|
|
"url": {
|
|
"type": "string",
|
|
"format": "uri"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"total_attempted": {
|
|
"type": "integer",
|
|
"minimum": 0
|
|
},
|
|
"total_successful": {
|
|
"type": "integer",
|
|
"minimum": 0
|
|
},
|
|
"total_failed": {
|
|
"type": "integer",
|
|
"minimum": 0
|
|
},
|
|
"timestamp": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
}
|
|
}
|
|
}
|