From d2af6d662a75925e7647423f7dc549620ec10010 Mon Sep 17 00:00:00 2001
From: Daniel <d.hornung@indiscale.com>
Date: Mon, 15 Nov 2021 13:37:49 +0100
Subject: [PATCH] MAINT: Enclosed yaml strings into quotes when they contain
 colons.

See discussion of problems for example here: https://pyyaml.org/wiki/YAMLColonInFlowContext
---
 src/caosdb/schema-pycaosdb-ini.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/caosdb/schema-pycaosdb-ini.yml b/src/caosdb/schema-pycaosdb-ini.yml
index 2653aece..bfe8fe7c 100644
--- a/src/caosdb/schema-pycaosdb-ini.yml
+++ b/src/caosdb/schema-pycaosdb-ini.yml
@@ -17,7 +17,7 @@ schema-pycaosdb-ini:
           description: URL of the CaosDB server
           type: string
           pattern: https://[-a-zA-Z0-9\.]+(:[0-9]+)?(/)?
-          examples: [https://demo.indiscale.com/, https://localhost:10443/]
+          examples: ["https://demo.indiscale.com/", "https://localhost:10443/"]
         username:
           type: string
           description: User name used for authentication with the server
@@ -52,7 +52,7 @@ schema-pycaosdb-ini:
           enum: [0, 1, 2]
           description: The debug key allows control the verbosity. Set it to 1 or 2 in case you  want to see debugging output or if you want to learn more about the internals of the protocol.  0 disables debugging output.
         socket_proxy:
-          examples: [localhost:12345]
+          examples: ["localhost:12345"]
           type: string
           description: You can define a socket proxy to be used. This is for the case that the server sits behind a firewall which is being tunnelled with a socket proxy (SOCKS4 or SOCKS5) (e.g. via ssh's -D option or a dedicated proxy server).
         implementation:
-- 
GitLab