summaryrefslogtreecommitdiffstats
path: root/schema/remote/inbound/set.json
diff options
context:
space:
mode:
Diffstat (limited to 'schema/remote/inbound/set.json')
-rw-r--r--schema/remote/inbound/set.json19
1 files changed, 19 insertions, 0 deletions
diff --git a/schema/remote/inbound/set.json b/schema/remote/inbound/set.json
new file mode 100644
index 0000000..da29b4e
--- /dev/null
+++ b/schema/remote/inbound/set.json
@@ -0,0 +1,19 @@
+{
+ "title": "Set schema",
+ "description": "The client would like to change a setting on an existing process",
+ "properties": {
+ "command": { "type": "string", "pattern": "set", "required": true },
+ "id": { "type": "integer", "required": true },
+
+ "key": {
+ "type": "string",
+ "enum": ["priority", "oomAdjustment"],
+ "required": true
+ },
+
+ "value": {
+ "type": "integer",
+ "required": true
+ }
+ }
+}