Repository navigation
Expand file tree
/
Copy pathschema.json
More file actions
61 lines (61 loc) · 2.06 KB
/
Copy pathschema.json
File metadata and controls
61 lines (61 loc) · 2.06 KB
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
{
"$id": "cli-config-schema",
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"output": {
"type": "object",
"properties": {
"pretty": {
"type": "boolean",
"default": false,
"description": "Defines whether to show data in table view in pretty mode or not"
},
"dateFormat": {
"type": "string",
"enum": ["default", "date", "datetime", "date-diff"],
"default": "default",
"description": "Defines date format. Choices: [\"date\", \"datetime\", \"date-diff\", \"default\"] (default for resource)"
}
}
},
"request": {
"type": "object",
"properties": {
"timeout": {
"type": "integer",
"default": 30000,
"description": "Defines request timeout in ms"
},
"maxAttempts": {
"type": "integer",
"default": 10,
"description": "Defines how many times request will be retried in case of network error"
},
"retryDelay": {
"type": "integer",
"default": 500,
"description": "Defines delay between retries in ms"
}
}
},
"logs": {
"type": "object",
"properties": {
"fallback": {
"type": "object",
"properties": {
"interval": {
"type": "integer",
"default": 5000
},
"maxAttempts": {
"type": "integer",
"default": 1000
}
}
}
}
}
}
}