Files
scopone/.github/schemas/review_report.schema.json
2026-04-10 22:35:01 +02:00

49 lines
1.3 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": ["iteration_number", "status"],
"properties": {
"iteration_number": {"type": "integer"},
"status": {"type": "string", "enum": ["ACCEPTED", "REJECTED"]},
"summary": {"type": "string"},
"evaluated_at": {"type": "string"},
"tasks_summary": {
"type": "object",
"properties": {
"total": {"type": "integer"},
"accepted": {"type": "integer"},
"rejected": {"type": "integer"}
}
},
"build_status": {
"type": "object",
"properties": {
"passed": {"type": "boolean"},
"command": {"type": "string"},
"output_summary": {"type": "string"}
}
},
"test_status": {
"type": "object",
"properties": {
"passed": {"type": "boolean"},
"command": {"type": "string"},
"total": {"type": "integer"},
"passed_count": {"type": "integer"},
"failed_count": {"type": "integer"},
"output_summary": {"type": "string"}
}
},
"criteria_evaluation": {
"type": "array",
"items": {
"type": "object",
"properties": {
"criterion": {"type": "string"},
"met": {"type": "boolean"}
}
}
},
"resolution_prompt": {"type": "string"}
}
}