update schema #6900

Signed-off-by: si458 <simonsmith5521@gmail.com>

si458 committed Feb 25, 2026 at 16:31 UTC f4cac7a405be0fb7d0cf2fb1ac8bb58ae066ee54
1 file changed +23 -15
meshcentral-config-schema.json
+23 -15
@@ -96,10 +96,14 @@
96 }
97 },
98 "sqlite3": {
99 - "type": [ "boolean", "string", "object" ],
99 + "type": [
100 + "boolean",
101 + "string",
102 + "object"
103 + ],
104 "default": false,
105 "description": "Set boolean true to use SQLite3 as a local MeshCentral database with default db filename 'meshcentral' or enter a string for a different db filename. Extension .sqlite is appended",
102 - "properties":{
106 + "properties": {
107 "name": {
108 "type": "string",
109 "default": "meshcentral",
@@ -931,7 +935,7 @@
935 "default": 10,
936 "description": "How many days of backups should the autobackup keep? Default is 10 Days worth"
937 },
934 - "zipCompression" : {
938 + "zipCompression": {
939 "type": "integer",
940 "default": "5",
941 "description": "Set the zip compression level, 1=fast/less small file to 9=slow/smallest file."
@@ -967,7 +971,7 @@
971 "default": [],
972 "description": "Glob for ignoring files in the data directory. For example [\"**/*.log\"] !! If a string instead of an array is passed, it will be split by ',' so *{.txt,.log} won't work in that case !! Don't do string..."
973 },
970 - "backupSkipFoldersGlob":{
974 + "backupSkipFoldersGlob": {
975 "type": "array",
976 "default": [],
977 "description": "Glob for ignoring directories in the data directory. For example [\"**/signedagents\"]"
@@ -1374,7 +1378,7 @@
1378 "items": {
1379 "type": "string"
1380 },
1377 - "description": "When set, new accounts will be added to these siteadmin rights."
1381 + "description": "Default server rights assigned to newly created accounts. Accepted values (comma-separated): fulladmin, manageusers, serverbackup, serverrestore, serverupdate, fileaccess, locked, nonewgroups, nonewdevices, notools, usergroups, recordings, locksettings, allevents"
1382 },
1383 "allowedOrigin": {
1384 "type": [
@@ -1820,7 +1824,11 @@
1824 "fidopininput": {
1825 "type": "string",
1826 "default": "preferred",
1823 - "enum": ["preferred", "required", "discouraged"],
1827 + "enum": [
1828 + "preferred",
1829 + "required",
1830 + "discouraged"
1831 + ],
1832 "description": "Controls FIDO PIN prompt behavior: 'preferred' (asks only if key requires PIN), 'required' (always asks for PIN), or 'discouraged' (never asks for PIN). Default: 'preferred'."
1833 },
1834 "allowaccountreset": {
@@ -3236,7 +3244,7 @@
3244 "items": {
3245 "type": "string"
3246 },
3239 - "description": "When set, new accounts will be added to these siteadmin rights."
3247 + "description": "Default server rights assigned to newly created accounts. Accepted values (comma-separated): fulladmin, manageusers, serverbackup, serverrestore, serverupdate, fileaccess, locked, nonewgroups, nonewdevices, notools, usergroups, recordings, locksettings, allevents"
3248 },
3249 "clientid": {
3250 "type": "string",
@@ -3288,7 +3296,7 @@
3296 "items": {
3297 "type": "string"
3298 },
3291 - "description": "When set, new accounts will be added to these siteadmin rights."
3299 + "description": "Default server rights assigned to newly created accounts. Accepted values (comma-separated): fulladmin, manageusers, serverbackup, serverrestore, serverupdate, fileaccess, locked, nonewgroups, nonewdevices, notools, usergroups, recordings, locksettings, allevents"
3300 },
3301 "clientid": {
3302 "type": "string",
@@ -3340,7 +3348,7 @@
3348 "items": {
3349 "type": "string"
3350 },
3343 - "description": "When set, new accounts will be added to these siteadmin rights."
3351 + "description": "Default server rights assigned to newly created accounts. Accepted values (comma-separated): fulladmin, manageusers, serverbackup, serverrestore, serverupdate, fileaccess, locked, nonewgroups, nonewdevices, notools, usergroups, recordings, locksettings, allevents"
3352 },
3353 "clientid": {
3354 "type": "string",
@@ -3412,7 +3420,7 @@
3420 "items": {
3421 "type": "string"
3422 },
3415 - "description": "When set, new accounts will be added to these siteadmin rights."
3423 + "description": "Default server rights assigned to newly created accounts. Accepted values (comma-separated): fulladmin, manageusers, serverbackup, serverrestore, serverupdate, fileaccess, locked, nonewgroups, nonewdevices, notools, usergroups, recordings, locksettings, allevents"
3424 },
3425 "clientid": {
3426 "type": "string",
@@ -3469,7 +3477,7 @@
3477 "items": {
3478 "type": "string"
3479 },
3472 - "description": "When set, new accounts will be added to these siteadmin rights."
3480 + "description": "Default server rights assigned to newly created accounts. Accepted values (comma-separated): fulladmin, manageusers, serverbackup, serverrestore, serverupdate, fileaccess, locked, nonewgroups, nonewdevices, notools, usergroups, recordings, locksettings, allevents"
3481 },
3482 "entityid": {
3483 "type": "string",
@@ -3532,7 +3540,7 @@
3540 "items": {
3541 "type": "string"
3542 },
3535 - "description": "When set, new accounts will be added to these siteadmin rights."
3543 + "description": "Default server rights assigned to newly created accounts. Accepted values (comma-separated): fulladmin, manageusers, serverbackup, serverrestore, serverupdate, fileaccess, locked, nonewgroups, nonewdevices, notools, usergroups, recordings, locksettings, allevents"
3544 },
3545 "entityid": {
3546 "type": "string",
@@ -3614,7 +3622,7 @@
3622 "items": {
3623 "type": "string"
3624 },
3617 - "description": "When set, new accounts will be added to these siteadmin rights."
3625 + "description": "Default server rights assigned to newly created accounts. Accepted values (comma-separated): fulladmin, manageusers, serverbackup, serverrestore, serverupdate, fileaccess, locked, nonewgroups, nonewdevices, notools, usergroups, recordings, locksettings, allevents"
3626 },
3627 "clientid": {
3628 "type": "string",
@@ -4099,7 +4107,7 @@
4107 "custom": {
4108 "type": "object",
4109 "description": "If this object is set, we will use a custom acme server with custom kid and hmackey for SSL creation instead of Let's Encrypt",
4102 - "required": [
4110 + "required": [
4111 "server",
4112 "kid",
4113 "hmackey"
@@ -4597,4 +4605,4 @@
4605 "errorMessage": "⚠️ DISABLED SECTION - This section is currently disabled. Remove the underscore (_) prefix to enable it."
4606 }
4607 }
4600 -}
4608 +}
\ No newline at end of file