From 73df1f40e704827ced091fcadea829108c437b87 Mon Sep 17 00:00:00 2001 From: niclaz <83479948+niclaz@users.noreply.github.com> Date: Thu, 5 Sep 2024 16:16:05 +0200 Subject: [PATCH] Updated schema - replaced regex pattern for country in index.yaml The previous regex pattern under country was `^\\w{2}$` and this seemed to not work with the submission of two letter country codes replaced it with the regex `^[a-z]{2}$` which is used for the same two letter code within the schema already --- schema/index.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schema/index.yaml b/schema/index.yaml index 3ca8398..09af8be 100644 --- a/schema/index.yaml +++ b/schema/index.yaml @@ -63,7 +63,7 @@ $defs: type: string country: type: string - pattern: "^\\w{2}$" + pattern: "^[a-z]{2}$" place: type: string place-address: @@ -118,7 +118,7 @@ $defs: type: string country: type: string - pattern: '^[a-z]{2}$' + pattern: "^[a-z]{2}$" refs: type: object additionalProperties: false