使用方法
- Paste the JSON data into the left panel。
- Paste the JSON Schema into the right panel。
- Read the valid or invalid badge and the list of violations with their property paths。
- Note: supported keywords are type, required, properties, enum, pattern, minimum/maximum, minLength/maxLength。
範例
- A schema requiring "name" as a string and "age" as a number flags {"name": 42} with two violations: wrong type for name and missing age。
- A schema with pattern "^\\d{5}$" on a zip field reports a violation when the value is "1234" (only 4 digits)。