summaryrefslogtreecommitdiff
path: root/app/validators/json_schemas/codeclimate.json
blob: 56056c62c4e02b3045c13eb5e2d4a07a1d67757a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
  "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
}