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

How to Handle Case Sensitivity Issues When Validating CSV Against JSON Schema in Data Curator? #1052

Open
megin1989 opened this issue Dec 4, 2024 · 0 comments

Comments

@megin1989
Copy link

I am using Data Curator to validate CSV files against a predefined JSON schema. However, I am encountering a case sensitivity issue during validation.

Problem:

  • The CSV data contains values like Other, but the corresponding enum field in the JSON schema defines the valid value as other.
  • When the validation runs, it throws an error stating that the value doesn't conform to the enum because of the case mismatch.

Questions:

  1. Is there a way to handle or ignore case sensitivity when validating CSV data against an enum in the JSON schema?
  2. Can Data Curator be configured to treat values like Other and other as equivalent, or should I manually update the CSV or schema to match case?
  3. Are there best practices for managing case sensitivity in enum fields for consistent validation?

Any advice or solutions would be really helpful. Thank you!

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