From b15a511493e331ea46cbc6732b4722879c6e58a1 Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Mon, 2 May 2022 12:05:53 -0700 Subject: [PATCH] Schema formatting. --- meshcentral-config-schema.json | 52 +++++++--------------------------- 1 file changed, 10 insertions(+), 42 deletions(-) diff --git a/meshcentral-config-schema.json b/meshcentral-config-schema.json index c4dbb760..3aa49475 100644 --- a/meshcentral-config-schema.json +++ b/meshcentral-config-schema.json @@ -39,52 +39,20 @@ "type": "object", "description": "Add this section to connect MeshCentral to a MySQL database instance.", "properties": { - "host": { - "type": "string", - "description": "MySQL hostname" - }, - "port": { - "type": "number", - "description": "MySQL port number" - }, - "user": { - "type": "string", - "description": "MySQL username" - }, - "password": { - "type": "string", - "description": "MySQL password" - }, - "database": { - "type": "string", - "default": "meshcentral", - "description": "Name of MySQL database used" - }, - "awsrds": { - "type": "boolean", - "default": false, - "description": "Set true to resolve LOCK TABLE permissions on AWS RDS." - }, + "host": { "type": "string", "description": "MySQL hostname" }, + "port": { "type": "number", "description": "MySQL port number" }, + "user": { "type": "string", "description": "MySQL username" }, + "password": { "type": "string", "description": "MySQL password" }, + "database": { "type": "string", "default": "meshcentral", "description": "Name of MySQL database used" }, + "awsrds": { "type": "boolean", "default": false, "description": "Set true to resolve LOCK TABLE permissions on AWS RDS." }, "ssl": { "type": "object", "description": "SSL Options. Set to true (boolean) for default options.", "properties": { - "caCertPath": { - "type": "string", - "description": "Absolute path to the CA certificate. Required for self-signed certificates" - }, - "clientCertPath": { - "type": "string", - "description": "Absolute path to the client certificate. Required for two-way SSL Authentication" - }, - "clientKeyPath": { - "type": "string", - "description": "Absolute path to the client key. Required for two-way SSL Authentication" - }, - "dontCheckServerIdentity": { - "type": "boolean", - "description": "Set true to not check the server hostname during verification" - } + "caCertPath": { "type": "string", "description": "Absolute path to the CA certificate. Required for self-signed certificates" }, + "clientCertPath": { "type": "string", "description": "Absolute path to the client certificate. Required for two-way SSL Authentication" }, + "clientKeyPath": { "type": "string", "description": "Absolute path to the client key. Required for two-way SSL Authentication" }, + "dontCheckServerIdentity": { "type": "boolean", "description": "Set true to not check the server hostname during verification" } } } }