Skip to content

Commit

Permalink
Attempt to fix schema
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-senechal committed Nov 21, 2024
1 parent a8590ce commit 07af17a
Showing 1 changed file with 4 additions and 27 deletions.
31 changes: 4 additions & 27 deletions schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 07af17a

Please sign in to comment.