From 07af17ac9711b21353ea8c4f1dd75a50f6b77011 Mon Sep 17 00:00:00 2001 From: thomas-senechal Date: Thu, 21 Nov 2024 11:22:27 +0100 Subject: [PATCH] Attempt to fix schema --- schema.yaml | 31 ++++--------------------------- 1 file changed, 4 insertions(+), 27 deletions(-) diff --git a/schema.yaml b/schema.yaml index 64f7b79..44c9224 100644 --- a/schema.yaml +++ b/schema.yaml @@ -7,30 +7,7 @@ contact: email: str(required=False, regex='^[\\w\\.-]+@[\\w\\.-]+\\.[a-zA-Z]{2,}$') discord: str(required=False, regex='^[a-zA-Z0-9._-]{2,32}$') # Updated regex telegram: str(required=False, regex='^@\\w{5,32}$') -category: list( - enum( - 'Official', - 'Massa', - 'DeFi', - 'NFT', - 'GameFi', - 'Governance', - 'Social', - 'Art', - 'Tool', - 'E-Commerce', - 'Infrastructure', - 'Education', - 'Media', - 'Protocol', - 'Aggregator', - 'Marketplace', - 'Analytics', - 'Community', - 'Identity', - 'Other' - ), - required=True, - min=1, - max=5 -) +category: list(enum('Official', 'Massa', 'DeFi', 'NFT', 'GameFi', 'Governance', + 'Social', 'Art', 'Tool', 'E-Commerce', 'Infrastructure', + 'Education', 'Media', 'Protocol', 'Aggregator', 'Marketplace', + 'Analytics', 'Community', 'Identity', 'Other'), required=True, min=1, max=5)