Very new to json schema. I was wondering if the spec allows multiple
'$schema' attributes? The php version of the validator seems to be
complaining about the following:
{
"$schema" : {
"properties" : {
"name" : {
"type" : "string"
},
"age" : {
"type" : "number",
"maximum" : 125,
"optional" : true
},
"auto" : {
"type" : "object"
}
},
"additionalProperties" : false,
"type" : "object"
},
"name" : "John Doe",
"age" : 13,
"auto" : {
"$schema" : {
"properties" : {
"make" : {
"type" : "string",
"optional" : false
},
"model" : {
"type" : "string"
}
},
"additionalProperties" : false,
"type" : "object"
},
"model" : "caravan"
}
}
It looks like the php code doesn't know how to handle multiple
'$schema'. Thanks in advance for any suggestions.