{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://velox.dev/schema/methods/settings.set.schema.json", "title": "settings.set", "description": "Write settings. Only the keys present in values change. Rejected with -32602 if a key is unknown or a value fails the Settings schema, and with -32011 if a directory key names a path that cannot be written. Emits event.settings.changed with exactly the keys that took effect.", "x-privileged": true, "x-transports": [ "uds" ], "x-deadlineMs": 5000, "x-errors": [ -32003, -32602, -32011 ], "type": "object", "properties": { "params": { "type": "object", "additionalProperties": false, "required": [ "values" ], "properties": { "values": { "$ref": "https://velox.dev/schema/types/Settings.schema.json" } } }, "result": { "type": "object", "additionalProperties": false, "description": "The stored values for the keys that were set, and the list of keys that actually changed.", "required": [ "values", "changed" ], "properties": { "values": { "$ref": "https://velox.dev/schema/types/Settings.schema.json" }, "changed": { "type": "array", "items": { "$ref": "https://velox.dev/schema/types/SettingKey.schema.json" } } } } } }