summaryrefslogtreecommitdiffstats
path: root/schema/json/hint.json
blob: 94cea0a02e57d7631cd77247c30e77f6af162f60 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
  "$id": "https://lintian.debian.org/schema/json/lintian/hint.json",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "A Lintian packaging hint",
  "properties": {
    "masks": {
      "anyOf": [
        {
          "description": "Automated exemption as part of a class",
          "items": {
            "$ref": "/schema/json/lintian/mask.json"
          },
          "type": [
            "array"
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "note": {
      "description": "Annotation to aid understanding",
      "type": "string"
    },
    "override": {
      "anyOf": [
        {
          "$ref": "/schema/json/lintian/override.json"
        },
        {
          "type": "null"
        }
      ]
    },
    "pointer": {
      "anyOf": [
        {
          "$ref": "/schema/json/lintian/item-pointer.json"
        },
        {
          "type": "null"
        }
      ]
    },
    "tag": {
      "description": "Name of Lintian tag",
      "type": "string"
    },
    "visibility": {
      "description": "User-facing visibility",
      "type": "string"
    }
  },
  "required": [
    "tag",
    "visibility"
  ],
  "title": "Lintian Hint",
  "type": "object"
}