mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-12-03 00:47:18 +00:00
71 lines
1.9 KiB
JSON
71 lines
1.9 KiB
JSON
{
|
|
"type": "object",
|
|
"required": ["findings"],
|
|
"properties": {
|
|
"findings": {
|
|
"type": "array",
|
|
"maxItems": 25,
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"file",
|
|
"start_line",
|
|
"end_line",
|
|
"summary",
|
|
"short_summary",
|
|
"failure_scenario",
|
|
"category",
|
|
"issue_type",
|
|
"severity",
|
|
"confidence"
|
|
],
|
|
"properties": {
|
|
"file": { "type": "string" },
|
|
"line": {
|
|
"type": "integer",
|
|
"description": "Deprecated single-line anchor; use start_line and end_line."
|
|
},
|
|
"start_line": { "type": "integer", "minimum": 1 },
|
|
"end_line": { "type": "integer", "minimum": 1 },
|
|
"rule_id": { "type": "string" },
|
|
"summary": { "type": "string" },
|
|
"short_summary": { "type": "string", "maxLength": 60 },
|
|
"failure_scenario": { "type": "string" },
|
|
"suggestion_code": { "type": "string", "maxLength": 8000 },
|
|
"category": {
|
|
"type": "string",
|
|
"enum": [
|
|
"correctness",
|
|
"reuse",
|
|
"simplification",
|
|
"efficiency",
|
|
"altitude",
|
|
"conventions",
|
|
"test-coverage"
|
|
]
|
|
},
|
|
"issue_type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"bug",
|
|
"security",
|
|
"performance",
|
|
"maintainability",
|
|
"test",
|
|
"style",
|
|
"documentation"
|
|
]
|
|
},
|
|
"severity": {
|
|
"type": "string",
|
|
"enum": ["HIGH", "MEDIUM", "LOW"]
|
|
},
|
|
"confidence": {
|
|
"type": "string",
|
|
"enum": ["HIGH", "MEDIUM", "LOW"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|