44 lines
897 B
JSON
44 lines
897 B
JSON
{
|
|
"type": "object",
|
|
"required": ["status", "summary", "new_errors", "resolved_errors", "existing_errors"],
|
|
"properties": {
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"summary": {
|
|
"type": "object",
|
|
"properties": {
|
|
"total": {
|
|
"type": "integer"
|
|
},
|
|
"resolved": {
|
|
"type": "integer"
|
|
},
|
|
"errored": {
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"required": ["total", "resolved", "errored"]
|
|
},
|
|
"new_errors": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "codequality_degradation.json"
|
|
}
|
|
},
|
|
"resolved_errors": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "codequality_degradation.json"
|
|
}
|
|
},
|
|
"existing_errors": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "codequality_degradation.json"
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|