A worked example, rendered from real sample data. Sign in to run the tool on your own input.
{"name":"Alice","age":30,"email":"alice@example.com","active":true,"tags":["developer","lead"]}{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"age": {
"type": "integer"
},
"email": {
"type": "string"
},
"active": {
"type": "boolean"
},
"tags": {
"type": "array"
}
},
"required": [
"name",
"age",
"email",
"active",
"tags"
]
}
Build and validate JSON schema interactively with property definitions and constraints. Part of the DevTools Surf developer suite. Browse more tools in the API / Config collection.