summaryrefslogtreecommitdiffstats
path: root/schema/json/hint.json
diff options
context:
space:
mode:
Diffstat (limited to 'schema/json/hint.json')
-rw-r--r--schema/json/hint.json61
1 files changed, 61 insertions, 0 deletions
diff --git a/schema/json/hint.json b/schema/json/hint.json
new file mode 100644
index 0000000..94cea0a
--- /dev/null
+++ b/schema/json/hint.json
@@ -0,0 +1,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"
+}