Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add round_id regex validation pattern #112

Open
annakrystalli opened this issue Oct 30, 2024 · 0 comments
Open

Add round_id regex validation pattern #112

annakrystalli opened this issue Oct 30, 2024 · 0 comments
Assignees
Labels
higher priority work to prioritize in the near future v4.0.0

Comments

@annakrystalli
Copy link
Member

In the round_id property, if round_id_from_variable: false add a regex pattern to ensure the round IDs conform to expected pattern of either:

  1. an ISO date
  2. any combination of letters, numbers or hyphen (_)

The following pattern should do: ^(\\d{4}-\\d{2}-\\d{2})|[A-Za-z0-9_]+$ but also consider: hubverse-org/hubValidations#135

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
higher priority work to prioritize in the near future v4.0.0
Projects
Status: Up Next
Development

No branches or pull requests

1 participant