summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorPaul Buetow <pbuetow@mimecast.com>2020-07-02 14:20:10 +0100
committerPaul Buetow <pbuetow@mimecast.com>2020-07-02 14:20:10 +0100
commit9cf2c732ff08e9b4dc0d4ce80d33cc1811028dc6 (patch)
tree4a2237708825f968caf72b2e885aae333b35664b /samples
parenta6756c55c5fc73e7fb8dddaa49b9b3d23fee358a (diff)
parent4e8d24644651b3fa5009891616b02af4acfab280 (diff)
merge
Diffstat (limited to 'samples')
-rwxr-xr-xsamples/dtail.schema.json119
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"
+ ]
+}