Data that matches
Du skriver inn
- JSON-data
- {"name":"Ada","age":36}
- JSON Schema
- {"type":"object","required":["name","age"],"properties":{"name":{"type":"string","minLength":1},"age":{"type":"integer","minimum":0}},"additionalProperties":false}
Du får
- Resultat
- Valid · JSON matches the schema (draft 7; known formats checked).
Both required fields are present, the name is not empty, the age is a whole number of at least zero, and there are no extra properties. No $schema line was given, so draft 7 is used.
Kjørt med verktøyets egen kode.