Schema formatting.

Ylian Saint-Hilaire committed May 2, 2022 at 12:05 UTC b15a511493e331ea46cbc6732b4722879c6e58a1
1 file changed +10 -42
meshcentral-config-schema.json
+10 -42
@@ -39,52 +39,20 @@
39 "type": "object",
40 "description": "Add this section to connect MeshCentral to a MySQL database instance.",
41 "properties": {
42 - "host": {
43 - "type": "string",
44 - "description": "MySQL hostname"
45 - },
46 - "port": {
47 - "type": "number",
48 - "description": "MySQL port number"
49 - },
50 - "user": {
51 - "type": "string",
52 - "description": "MySQL username"
53 - },
54 - "password": {
55 - "type": "string",
56 - "description": "MySQL password"
57 - },
58 - "database": {
59 - "type": "string",
60 - "default": "meshcentral",
61 - "description": "Name of MySQL database used"
62 - },
63 - "awsrds": {
64 - "type": "boolean",
65 - "default": false,
66 - "description": "Set true to resolve LOCK TABLE permissions on AWS RDS."
67 - },
42 + "host": { "type": "string", "description": "MySQL hostname" },
43 + "port": { "type": "number", "description": "MySQL port number" },
44 + "user": { "type": "string", "description": "MySQL username" },
45 + "password": { "type": "string", "description": "MySQL password" },
46 + "database": { "type": "string", "default": "meshcentral", "description": "Name of MySQL database used" },
47 + "awsrds": { "type": "boolean", "default": false, "description": "Set true to resolve LOCK TABLE permissions on AWS RDS." },
48 "ssl": {
49 "type": "object",
50 "description": "SSL Options. Set to true (boolean) for default options.",
51 "properties": {
72 - "caCertPath": {
73 - "type": "string",
74 - "description": "Absolute path to the CA certificate. Required for self-signed certificates"
75 - },
76 - "clientCertPath": {
77 - "type": "string",
78 - "description": "Absolute path to the client certificate. Required for two-way SSL Authentication"
79 - },
80 - "clientKeyPath": {
81 - "type": "string",
82 - "description": "Absolute path to the client key. Required for two-way SSL Authentication"
83 - },
84 - "dontCheckServerIdentity": {
85 - "type": "boolean",
86 - "description": "Set true to not check the server hostname during verification"
87 - }
52 + "caCertPath": { "type": "string", "description": "Absolute path to the CA certificate. Required for self-signed certificates" },
53 + "clientCertPath": { "type": "string", "description": "Absolute path to the client certificate. Required for two-way SSL Authentication" },
54 + "clientKeyPath": { "type": "string", "description": "Absolute path to the client key. Required for two-way SSL Authentication" },
55 + "dontCheckServerIdentity": { "type": "boolean", "description": "Set true to not check the server hostname during verification" }
56 }
57 }
58 }