add extra defaults and descriptions to schema

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

si458 committed Feb 14, 2024 at 13:44 UTC 02320562191c88e1218f9fbe94621d4a31ed6df0
1 file changed +21 -7
meshcentral-config-schema.json
+21 -7
@@ -803,24 +803,37 @@
803 },
804 "autoBackup": {
805 "type": "object",
806 + "description": "Enable automatic backups of your meshcentral-data",
807 "properties": {
808 "mongoDumpPath": {
808 - "type": "string"
809 + "type": "string",
810 + "default": "mongodump",
811 + "description": "The file path of where \"mongodump\" is located. Default is \"mongodump\""
812 },
813 "mysqlDumpPath": {
811 - "type": "string"
814 + "type": "string",
815 + "default": "mysqldump",
816 + "description": "The file path of where \"mysqldump\" is located. Default is \"mysqldump\""
817 },
818 "backupIntervalHours": {
814 - "type": "integer"
819 + "type": "integer",
820 + "default": 24,
821 + "description": "How often should the autobackup run in hours from the second meshcentral starts up? Default is every 24 hours"
822 },
823 "keepLastDaysBackup": {
817 - "type": "integer"
824 + "type": "integer",
825 + "default": 10,
826 + "description": "How many days of backups should the autobackup keep? Default is 10 Days worth"
827 },
828 "zipPassword": {
820 - "type": "string"
829 + "type": "string",
830 + "default": null,
831 + "description": "When specified, the ZIP backups will be password protected with the zipPassword"
832 },
833 "backupPath": {
823 - "type": "string"
834 + "type": "string",
835 + "default": "meshcentral-backups",
836 + "description": "The file path where backup files are kept. The default is \"meshcentral-backups\" which sits next to \"meshcentral-data\"."
837 },
838 "googleDrive": {
839 "type": "object",
@@ -2554,7 +2567,8 @@
2567 },
2568 "filepath": {
2569 "type": "string",
2557 - "description": "The file path where recording files are kept."
2570 + "default": "meshcentral-recordings",
2571 + "description": "The file path where recording files are kept. The default is \"meshcentral-recordings\" which sits next to \"meshcentral-data\"."
2572 },
2573 "index": {
2574 "type": "boolean",