cern-sis / cern-sis/react-formule

validation schema for field types

Open
#119 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
16
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Create or design a way to automatically generate a validation JSON schema to validate the fieldTypes specification. This would be useful to
- Validate AI-generated forms, be able to show errors to users or even to send the errors back to the LLM to get a correct response
- Clean up generated forms (remove stuff such as `isRequired` that are intermediate properties that are not used in the final form)
- Group and validate schema settings/ui settings

We should maintain only either fieldTypes or the validation schema. The best way might be to automatically generate the validation schema from fieldTypes via a script.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.