summaryrefslogtreecommitdiff
path: root/app/validators/json_schemas/security_scan_info.json
blob: c8932c1870d4730f3ed81e9dd71e4756c062c679 (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
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "title": "Security::Scan#info schema",
  "description": "The schema validates the content of the Security::Scan#info attribute",
  "additionalProperties": false,
  "properties": {
    "errors": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "type": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "message"
        ]
      }
    }
  }
}