-
Notifications
You must be signed in to change notification settings - Fork 1
/
schema.json
69 lines (69 loc) · 1.75 KB
/
schema.json
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
62
63
64
65
66
67
68
69
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://files.serverless.industries/schemas/minimon.json",
"title": "JSON schema for minimon.sh",
"type": "object",
"properties": {
"checks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": { "type": "string", "enum": [ "icmp", "http", "tcp", "script" ] },
"proto": { "type": "string", "enum": [ "0", "4", "6" ] },
"url": { "type": "string" },
"alias": { "type": "string" }
},
"required":[ "type", "url" ]
}
},
"invalid-tls": {
"type": "boolean"
},
"unsafe-tls": {
"type": "boolean"
},
"interval": {
"type": "integer",
"minimum": 1
},
"parallel": {
"type": "integer",
"minimum": 1
},
"timeout": {
"type": "integer",
"minimum": 1
},
"connect-timeout": {
"type": "integer",
"minimum": 1
},
"time-spacer": {
"type": "integer",
"minimum": 0
},
"max-checks": {
"type": "integer",
"minimum": 1
},
"no-timestamps": {
"type": "boolean"
},
"short-timestamps": {
"type": "boolean"
},
"warnings": {
"type": "boolean"
},
"errors": {
"type": "boolean"
},
"verbose": {
"type": "boolean"
},
"no-redirect": {
"type": "boolean"
}
}
}