I suggest defining our validation rules (e.g., required, minLength/maxLength, type, regex, etc.) for our data (e.g., layout name, layout set name, etc.) in new JSON schemas and using them in both frontend and backend to ensure a single source of truth.
Description
I suggest defining our validation rules (e.g., required, minLength/maxLength, type, regex, etc.) for our data (e.g., layout name, layout set name, etc.) in new JSON schemas and using them in both frontend and backend to ensure a single source of truth.
This would potentially help to fix :