From 9c4503889941823997abf393997efdf1794c843e Mon Sep 17 00:00:00 2001 From: niclaz <83479948+niclaz@users.noreply.github.com> Date: Thu, 5 Sep 2024 16:08:16 +0200 Subject: [PATCH 1/2] Removed empty 'country' field in pie-man.yaml --- src/people/pie-man.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/src/people/pie-man.yaml b/src/people/pie-man.yaml index 7edc3bc..d045873 100644 --- a/src/people/pie-man.yaml +++ b/src/people/pie-man.yaml @@ -1,5 +1,4 @@ name: Pie Man caption: Cofounder of [Fairblock Network](https://www.fairblock.network/) -country: refs: twitter: Pememoni 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 2/2] 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