diff options
| author | Paul Buetow <pbuetow@mimecast.com> | 2020-07-02 14:20:10 +0100 |
|---|---|---|
| committer | Paul Buetow <pbuetow@mimecast.com> | 2020-07-02 14:20:10 +0100 |
| commit | 51998506b2f51eba9b6d82d07003c4f27928ae7f (patch) | |
| tree | 4a2237708825f968caf72b2e885aae333b35664b /samples | |
| parent | 27824a01dfd5e5cf2d77ab90a23e209c9851d91a (diff) | |
| parent | 894749cfa25ff1eee06d204b118a3a39559c9592 (diff) | |
merge
Diffstat (limited to 'samples')
| -rwxr-xr-x | samples/dtail.schema.json | 119 |
1 files changed, 119 insertions, 0 deletions
diff --git a/samples/dtail.schema.json b/samples/dtail.schema.json new file mode 100755 index 0000000..68db788 --- /dev/null +++ b/samples/dtail.schema.json @@ -0,0 +1,119 @@ +{ + "$schema": "https://json-schema.org/2019-09/schema", + "description": "Schema for dtail.json", + "type": "object", + "properties": { + "Client": { + "properties": {}, + "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" + } + } + } + }, + "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" + }, + "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" + ] +} |
