framework icon indicating copy to clipboard operation
framework copied to clipboard

Case Sensitivity in enum Constraint

Open megin1989 opened this issue 1 year ago • 0 comments

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"?

megin1989 avatar Jun 25 '24 12:06 megin1989