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

Case Sensitivity in enum Constraint #1663

Open
megin1989 opened this issue Jun 25, 2024 · 0 comments
Open

Case Sensitivity in enum Constraint #1663

megin1989 opened this issue Jun 25, 2024 · 0 comments

Comments

@megin1989
Copy link

Overview

We are encountering an issue with the enum constraint in the JSON schema. The constraint is case-sensitive, meaning that if we define the enum constraint with specific case-sensitive values, it will not accept variations in case. For example, if we define "enum": ["AMB"], it will not accept "amb" or "Amb".

Expected Behavior:
Is there an option to make the enum constraint case-insensitive, so that "AMB" would match "amb" or "Amb"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant