Advanced JSON Schema Validation (AJV)
While standard validation checks for syntax, **JSON Schema Validation** checks if your data meets specific business rules. Using the industry-standard **AJV engine**, SUDT helps you ensure your objects have the correct types, required fields, and value ranges.
How to Use
- Define your **JSON Schema** (rules) in the left editor.
- Paste your **JSON Data** (the object to check) in the right editor.
- Click **Validate** to run the comparison.
- SUDT will report specific path violations if the data doesn't match the schema.
Why use JSON Schema?
It acts as a "contract" between services. It ensures that when you send a User object, the recipient gets exactly what they expect (e.g., email is a string, age is a positive number).