summaryrefslogtreecommitdiffstats
path: root/docs/schemas/event-file-format-detected-v1.schema.json
blob: edb85312ad0521925241af6264bce4ba7ef9e745 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
}