lnav/docs/schemas/event-file-format-detected-v1.schema.json
Timothy Stack 6c52760cc9 [events] initial events work
Related to #811
2022-06-09 12:49:06 -07:00

27 lines
888 B
JSON

{
"$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
}