Hi @Naatl,
There is a conceptual issue with your request: JSON Schema validation and visibility are evaluated separately from each other, therefore the visibility can not influence the validation.
Some potential solutions:
- Aligning JSON Schema validation with the UI Schema rules and then working around a potential dynamic required issues, OR
- Instead of using UI Schema rules, you evaluate your rules outside of JSON Forms and hand in a modified JSON Schema to JSON Forms which includes / excludes the fields you would like to see, OR
- Filter errors for invisible fields