aboutsummaryrefslogtreecommitdiff
path: root/schema/daemon_event_schema.json
diff options
context:
space:
mode:
Diffstat (limited to 'schema/daemon_event_schema.json')
-rw-r--r--schema/daemon_event_schema.json67
1 files changed, 67 insertions, 0 deletions
diff --git a/schema/daemon_event_schema.json b/schema/daemon_event_schema.json
new file mode 100644
index 000000000..020b55161
--- /dev/null
+++ b/schema/daemon_event_schema.json
@@ -0,0 +1,67 @@
+{
+ "type": "object",
+ "required": [
+ "alias",
+ "source",
+ "thread_id",
+ "packet_id",
+ "daemon_event_id",
+ "daemon_event_name"
+ ],
+ "properties": {
+ "alias": {
+ "type": "string"
+ },
+ "source": {
+ "type": "string"
+ },
+ "thread_id": {
+ "type": "number",
+ "minimum": 0,
+ "maximum": 31
+ },
+ "packet_id": {
+ "type": "number",
+ "minimum": 1
+ },
+ "daemon_event_id": {
+ "type": "number",
+ "minimum": 0,
+ "maximum": 3
+ },
+ "daemon_event_name": {
+ "type": "string",
+ "enum": [
+ "invalid",
+ "init",
+ "reconnect",
+ "shutdown"
+ ]
+ },
+ "max-flows-per-thread": {
+ "type": "number"
+ },
+ "max-idle-flows-per-thread": {
+ "type": "number"
+ },
+ "tick-resolution": {
+ "type": "number"
+ },
+ "reader-thread-count": {
+ "type": "number"
+ },
+ "idle-scan-period": {
+ "type": "number"
+ },
+ "max-idle-time": {
+ "type": "number"
+ },
+ "tcp-max-post-end-flow-time": {
+ "type": "number"
+ },
+ "max-packets-per-flow-to-send": {
+ "type": "number"
+ }
+ },
+ "additionalProperties": false
+}