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>
58 lines
1.2 KiB
JSON
58 lines
1.2 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "Issue Update Result",
|
|
"description": "Schema for the result of applying an issue update",
|
|
"type": "object",
|
|
"required": ["issue_number", "success", "changes_applied", "verification"],
|
|
"properties": {
|
|
"issue_number": {
|
|
"type": "integer",
|
|
"minimum": 1
|
|
},
|
|
"url": {
|
|
"type": "string",
|
|
"format": "uri"
|
|
},
|
|
"success": {
|
|
"type": "boolean"
|
|
},
|
|
"title_updated": {
|
|
"type": "boolean"
|
|
},
|
|
"body_updated": {
|
|
"type": "boolean"
|
|
},
|
|
"changes_applied": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"verification": {
|
|
"type": "object",
|
|
"required": ["title_matches", "body_matches"],
|
|
"properties": {
|
|
"title_matches": {
|
|
"type": "boolean"
|
|
},
|
|
"body_matches": {
|
|
"type": "boolean"
|
|
},
|
|
"discrepancies": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"staleness_assessment": {
|
|
"type": "string",
|
|
"enum": ["low", "medium", "high", "critical"]
|
|
},
|
|
"error": {
|
|
"type": ["string", "null"]
|
|
}
|
|
}
|
|
}
|