summaryrefslogtreecommitdiffstats
path: root/docs/schemas/event-file-open-v1.schema.json
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:01:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:01:36 +0000
commit62e4c68907d8d33709c2c1f92a161dff00b3d5f2 (patch)
treeadbbaf3acf88ea08f6eeec4b75ee98ad3b07fbdc /docs/schemas/event-file-open-v1.schema.json
parentInitial commit. (diff)
downloadlnav-62e4c68907d8d33709c2c1f92a161dff00b3d5f2.tar.xz
lnav-62e4c68907d8d33709c2c1f92a161dff00b3d5f2.zip
Adding upstream version 0.11.2.upstream/0.11.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'docs/schemas/event-file-open-v1.schema.json')
-rw-r--r--docs/schemas/event-file-open-v1.schema.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/schemas/event-file-open-v1.schema.json b/docs/schemas/event-file-open-v1.schema.json
new file mode 100644
index 0000000..76a6bc1
--- /dev/null
+++ b/docs/schemas/event-file-open-v1.schema.json
@@ -0,0 +1,21 @@
+{
+ "$id": "https://lnav.org/event-file-open-v1.schema.json",
+ "title": "https://lnav.org/event-file-open-v1.schema.json",
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "description": "Event fired when a file is opened.",
+ "properties": {
+ "$schema": {
+ "title": "/$schema",
+ "type": "string",
+ "examples": [
+ "https://lnav.org/event-file-open-v1.schema.json"
+ ]
+ },
+ "filename": {
+ "title": "/filename",
+ "description": "The path of the file that was opened",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+}