97 lines
2.1 KiB
JSON
97 lines
2.1 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "Agent Detector Results",
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"required": [
|
|
"schema_version",
|
|
"created_at",
|
|
"artifact_dir",
|
|
"registry_path",
|
|
"selected_detectors",
|
|
"artifact_counts",
|
|
"summary",
|
|
"results"
|
|
],
|
|
"properties": {
|
|
"schema_version": {
|
|
"const": "agent_detector_results_v1"
|
|
},
|
|
"created_at": {
|
|
"type": "string"
|
|
},
|
|
"artifact_dir": {
|
|
"type": "string"
|
|
},
|
|
"registry_path": {
|
|
"type": "string"
|
|
},
|
|
"issue_catalog_path": {
|
|
"type": "string"
|
|
},
|
|
"detector_candidates_path": {
|
|
"type": ["string", "null"]
|
|
},
|
|
"selected_detectors": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"artifact_counts": {
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
},
|
|
"summary": {
|
|
"type": "object",
|
|
"required": ["status", "detector_count"],
|
|
"additionalProperties": true,
|
|
"properties": {
|
|
"status": {
|
|
"type": "string",
|
|
"enum": ["pass", "fail", "skipped", "review"]
|
|
},
|
|
"detector_count": {
|
|
"type": "integer",
|
|
"minimum": 0
|
|
}
|
|
}
|
|
},
|
|
"results": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"required": ["detector", "kind", "automation_level", "status", "issue_codes", "message", "evidence"],
|
|
"properties": {
|
|
"detector": {
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"type": "string"
|
|
},
|
|
"automation_level": {
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": ["pass", "fail", "skipped", "review"]
|
|
},
|
|
"issue_codes": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"message": {
|
|
"type": "string"
|
|
},
|
|
"evidence": {
|
|
"type": "array"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|