-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathsettings.schema.json
88 lines (88 loc) · 3.73 KB
/
settings.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://raw.githubusercontent.com/danecreekphotography/node-deepstackai-trigger/main/src/schemas/settings.schema.json",
"type": "object",
"title": "Settings for the trigger engine.",
"description": "Configures options for various system-level controls.",
"uniqueItems": true,
"additionalProperties": false,
"required": ["deepstackUri"],
"properties": {
"$schema": {
"type": "string",
"description": "Reference to the schema for the JSON. Set this to the example value to get full Intellisense support in editors that support it.",
"examples": [
"https://raw.githubusercontent.com/danecreekphotography/node-deepstackai-trigger/main/src/schemas/settings.schema.json"
]
},
"awaitWriteFinish": {
"type": "boolean",
"description": "Waits for writes to finish before analyzing images. This is useful if the images live on a network drive that's mounted to Docker, but comes with a performance penalty. Disabled by default.",
"default": false,
"examples": [true]
},
"enableAnnotations": {
"type": "boolean",
"description": "Enables generation of annotated images. Disabled by default.",
"default": false,
"examples": [true]
},
"enableWebServer": {
"type": "boolean",
"description": "Enables the local web server. Disabled by default.",
"default": false,
"examples": [true]
},
"deepstackUri": {
"type": "string",
"description": "The address of the Deepstack AI processing server.",
"examples": ["http://deepstack-ai:5000/"]
},
"port": {
"type": "number",
"description": "The port the local web server attaches to. Only used when enableAnnotations is true, and also requires the port be exposed in the Docker configuration.",
"default": 4242,
"examples": [9050]
},
"processExistingImages": {
"type": "boolean",
"description": "Enables processing of images that exist in the input folder at startup. Primarily useful during development. Disabled by default.",
"default": false,
"examples": [true]
},
"purgeAge": {
"type": "number",
"description": "Sets the time, in minutes, an image can go without being accessed before it is purged from local storage. Only used when enableAnnotations is true.",
"default": 30,
"examples": [true]
},
"purgeInterval": {
"type": "number",
"description": "Sets the frequency, in minutes, that the purge process runs. Only used when enableAnnotations is true.",
"default": 60,
"examples": [300]
},
"verbose": {
"type": "boolean",
"description": "Enables verbose logging.",
"default": false,
"examples": [true]
},
"mqtt": {
"description": "Enables and configures MQTT events.",
"$ref": "https://raw.githubusercontent.com/danecreekphotography/node-deepstackai-trigger/main/src/schemas/mqttManagerConfiguration.schema.json"
},
"telegram": {
"description": "Enables and configures Telegram bot messages.",
"$ref": "https://raw.githubusercontent.com/danecreekphotography/node-deepstackai-trigger/main/src/schemas/telegramManagerConfiguration.schema.json"
},
"pushbullet": {
"description": "Enables and configures Pushbullet messages.",
"$ref": "https://raw.githubusercontent.com/danecreekphotography/node-deepstackai-trigger/main/src/schemas/pushbulletManagerConfiguration.schema.json"
},
"pushover": {
"description": "Enables and configures Pushover messages.",
"$ref": "https://raw.githubusercontent.com/danecreekphotography/node-deepstackai-trigger/main/src/schemas/pushoverManagerConfiguration.schema.json"
}
}
}