summaryrefslogtreecommitdiffstats
path: root/docs/schemas/event-file-format-detected-v1.schema.json
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/schemas/event-file-format-detected-v1.schema.json26
1 files changed, 26 insertions, 0 deletions
diff --git a/docs/schemas/event-file-format-detected-v1.schema.json b/docs/schemas/event-file-format-detected-v1.schema.json
new file mode 100644
index 0000000..edb8531
--- /dev/null
+++ b/docs/schemas/event-file-format-detected-v1.schema.json
@@ -0,0 +1,26 @@
+{
+ "$id": "https://lnav.org/event-file-format-detected-v1.schema.json",
+ "title": "https://lnav.org/event-file-format-detected-v1.schema.json",
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "description": "Event fired when a log format is detected for a file.",
+ "properties": {
+ "$schema": {
+ "title": "/$schema",
+ "type": "string",
+ "examples": [
+ "https://lnav.org/event-file-format-detected-v1.schema.json"
+ ]
+ },
+ "filename": {
+ "title": "/filename",
+ "description": "The path of the file for which a matching format was found",
+ "type": "string"
+ },
+ "format": {
+ "title": "/format",
+ "description": "The name of the format",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+}