forked from Scribery/tlog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.json
93 lines (88 loc) · 2.64 KB
/
schema.json
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"title": "Tlog message",
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"ver": {
"description": "Message format version",
"type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?$"
},
"host": {
"description": "Name of the host recording was made on",
"type": "string"
},
"rec": {
"description": "ID of the recording on the host",
"type": "string"
},
"user": {
"description": "Recorded user name",
"type": "string"
},
"term": {
"description": "Terminal type name",
"type": "string"
},
"session": {
"description": "Audit session ID",
"type": "integer",
"minimum": 1
},
"id": {
"description": "ID of the message within the recording",
"type": "integer",
"minimum": 1
},
"pos": {
"description": "Message position in the recording, milliseconds",
"type": "integer",
"minimum": 0
},
"time": {
"description": "System clock timestamp of the message",
"type": "double"
},
"timing": {
"description": "Distribution of this message's events in time",
"type": "string"
},
"in_txt": {
"description": "Input text with invalid characters scrubbed",
"type": "string"
},
"in_bin": {
"description": "Scrubbed invalid input characters as bytes",
"type": "array",
"items": {
"type": "integer",
"minimum": 0,
"maximum": 255
}
},
"out_txt": {
"description": "Output text with invalid characters scrubbed",
"type": "string"
},
"out_bin": {
"description": "Scrubbed invalid output characters as bytes",
"type": "array",
"items": {
"type": "integer",
"minimum": 0,
"maximum": 255
}
}
},
"required": [
"ver",
"host",
"rec",
"user",
"term",
"session",
"id",
"pos",
"timing"
]
}