{ "$schema": "https://json-schema.org/2019-09/schema", "description": "Schema for dtail.json", "type": "object", "properties": { "Client": { "properties": { "TermColorsEnable": { "type": "boolean" }, "TermColors": { "type": "object", "properties": { "ClientErrorAttr": { "type": "string" }, "ClientErrorBg": { "type": "string" }, "ClientErrorFg": { "type": "string" }, "ClientWarnAttr": { "type": "string" }, "ClientWarnBg": { "type": "string" }, "ClientWarnFg": { "type": "string" }, "RemoteDebugAttr": { "type": "string" }, "RemoteDebugBg": { "type": "string" }, "RemoteDebugFg": { "type": "string" }, "RemoteErrorAttr": { "type": "string" }, "RemoteErrorBg": { "type": "string" }, "RemoteErrorFg": { "type": "string" }, "RemoteFatalAttr": { "type": "string" }, "RemoteFatalBg": { "type": "string" }, "RemoteFatalFg": { "type": "string" }, "RemoteStatsOkAttr": { "type": "string" }, "RemoteStatsOkBg": { "type": "string" }, "RemoteStatsOkFg": { "type": "string" }, "RemoteStatsWarnAttr": { "type": "string" }, "RemoteStatsWarnBg": { "type": "string" }, "RemoteStatsWarnFg": { "type": "string" }, "RemoteTextAttr": { "type": "string" }, "RemoteTextBg": { "type": "string" }, "RemoteTextFg": { "type": "string" }, "RemoteTraceAttr": { "type": "string" }, "RemoteTraceBg": { "type": "string" }, "RemoteTraceFg": { "type": "string" }, "RemoteWarnAttr": { "type": "string" }, "RemoteWarnBg": { "type": "string" }, "RemoteWarnFg": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "Server": { "properties": { "Schedule": { "type": "array", "items": { "type": "object", "properties": { "Name": { "type": "string" }, "Enable": { "type": "boolean" }, "TimeRange": { "type": "array", "items": [ { "type": "integer" }, { "type": "integer" } ] }, "Files": { "type": "string" }, "Outfile": { "type": "string" }, "Query": { "type": "string" } } } }, "Continuous": { "type": "array", "items": { "type": "object", "properties": { "Name": { "type": "string" }, "Enable": { "type": "boolean" }, "RestartOnDayChange": { "type": "boolean" }, "Files": { "type": "string" }, "Outfile": { "type": "string" }, "Query": { "type": "string" } } } }, "HostKeyFile": { "type": "string" }, "HostKeyBits": { "type": "integer", "minimum": 2048 }, "MapreduceLogFormat": { "type": "string" }, "SSHBindAddress": { "type": "string" }, "MaxConcurrentCats": { "type": "integer", "minimum": 1, "maximum": 20 }, "MaxConcurrentTails": { "type": "integer", "minimum": 1, "maximum": 100 }, "MaxConnections": { "type": "integer", "minimum": 1, "maximum": 100 }, "Permissions": { "type": "object", "properties": {} } }, "additionalProperties": false }, "Common": { "properties": { "LogDir": { "type": "string" }, "LogLevel": { "type": "string" }, "CacheDir": { "type": "string" }, "TmpDir": { "type": "string" }, "LogStrategy": { "type": "string" }, "SSHPort": { "type": "integer", "minimum": 2, "maximum": 16000 }, "DebugEnable": { "type": "boolean" }, "ExperimentalFeaturesEnable": { "type": "boolean" }, "TraceEnable": { "type": "boolean" } }, "additionalProperties": false } }, "additionalProperties": false, "required": [ "Client", "Server", "Common" ] }