summaryrefslogtreecommitdiffstats
path: root/schema/json/item.json
diff options
context:
space:
mode:
Diffstat (limited to 'schema/json/item.json')
-rw-r--r--schema/json/item.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/schema/json/item.json b/schema/json/item.json
new file mode 100644
index 0000000..3784964
--- /dev/null
+++ b/schema/json/item.json
@@ -0,0 +1,21 @@
+{
+ "$id": "https://lintian.debian.org/schema/json/lintian/item.json",
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "description": "A Lintian item",
+ "properties": {
+ "index": {
+ "description": "Index holding the item",
+ "type": "string"
+ },
+ "name": {
+ "description": "Path without a leading slash",
+ "type": "string"
+ }
+ },
+ "required": [
+ "index",
+ "name"
+ ],
+ "title": "Lintian Item",
+ "type": "object"
+}