gitlab-org--gitlab-foss/app/validators/json_schemas/codeclimate.json

35 lines
898 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"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
}