summaryrefslogtreecommitdiffstats
path: root/schema/json/hint.json
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
commit75808db17caf8b960b351e3408e74142f4c85aac (patch)
tree7989e9c09a4240248bf4658a22208a0a52d991c4 /schema/json/hint.json
parentInitial commit. (diff)
downloadlintian-75808db17caf8b960b351e3408e74142f4c85aac.tar.xz
lintian-75808db17caf8b960b351e3408e74142f4c85aac.zip
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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"
+}