debian-mirror-gitlab/app/validators/json_schemas/codeclimate.json
2021-02-22 17:27:13 +05:30

35 lines
842 B
JSON

{
"description": "Codequality used by codeclimate parser",
"type": "object",
"required": ["description", "fingerprint", "severity", "location"],
"properties": {
"description": { "type": "string" },
"fingerprint": { "type": "string" },
"severity": { "type": "string" },
"location": {
"type": "object",
"properties": {
"path": { "type": "string" },
"lines": {
"type": "object",
"properties": {
"begin": { "type": "integer" }
}
},
"positions": {
"type": "object",
"properties": {
"begin": {
"type": "object",
"properties": {
"line": { "type": "integer" }
}
}
}
}
}
}
},
"additionalProperties": true
}