{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"name": { "type": "string" },
"age": { "type": "integer" },
"is_student": { "type": "boolean" },
"address": {
"type": "object",
"properties": {
"street": { "type": "string" },
"city": { "type": "string" },
"postal_code": { "type": "string" }
},
"required": ["street", "city", "postal_code"]
},
"phone_numbers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": { "type": "string" },
"number": { "type": "string" }
},
"required": ["type", "number"]
}
},
"languages": {
"type": "array",
"items": { "type": "string" }
},
"hobbies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": { "type": "string" },
"frequency": { "type": "string" }
},
"required": ["name", "frequency"]
}
}
},
"required": ["name", "age", "is_student", "address", "phone_numbers", "languages", "hobbies"]
}