-
Notifications
You must be signed in to change notification settings - Fork 176
/
settings_schema.json
65 lines (65 loc) · 2.43 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
{
"title": "RobotServerSettings",
"description": "Robot server settings.\n\nTo override any of these create an environment variable with prefix\nOT_ROBOT_SERVER_.",
"type": "object",
"properties": {
"simulator_configuration_file_path": {
"title": "Simulator Configuration File Path",
"description": "Path to a json file that describes the hardware simulator.",
"env_names": [
"ot_robot_server_simulator_configuration_file_path"
],
"type": "string"
},
"notification_server_subscriber_address": {
"title": "Notification Server Subscriber Address",
"description": "The endpoint to subscribe to notification server topics.",
"default": "tcp:https://localhost:5555",
"env_names": [
"ot_robot_server_notification_server_subscriber_address"
],
"type": "string"
},
"persistence_directory": {
"title": "Persistence Directory",
"description": "A directory for the server to store things persistently across boots. If this directory doesn't already exist, the server will create it. If this is the string `automatically_make_temporary`, the server will use a fresh temporary directory (effectively not persisting anything).\n\nNote that the `opentrons` library is also responsible for persisting certain things, and it has its own configuration.",
"default": "automatically_make_temporary",
"env_names": [
"ot_robot_server_persistence_directory"
],
"anyOf": [
{
"enum": [
"automatically_make_temporary"
],
"type": "string"
},
{
"type": "string",
"format": "path"
}
]
},
"maximum_runs": {
"title": "Maximum Runs",
"description": "The maximum number of runs to allow HTTP clients to create before auto-deleting old ones.",
"default": 20,
"exclusiveMinimum": 0,
"env_names": [
"ot_robot_server_maximum_runs"
],
"type": "integer"
},
"maximum_unused_protocols": {
"title": "Maximum Unused Protocols",
"description": "The maximum number of \"unused protocols\" to allow before auto-deleting old ones. A protocol is \"unused\" if it isn't used by any run that currently exists.",
"default": 5,
"exclusiveMinimum": 0,
"env_names": [
"ot_robot_server_maximum_unused_protocols"
],
"type": "integer"
}
},
"additionalProperties": false
}