I want to have a JSON Schema with unknown property names in an array of objects. A good example is the meta-data of a web page:
\"meta\": {
\"typ
The Solution of @jruizaranguren works for me. Though I am the same who defines the schema, i choosed another solution
"meta": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
}
}
}
}
}
I converted the object to an array of name-value objects An example of a valid JSON:
"meta": [
[
{
"name": "http-equiv",
"value": "Content-Type"
},
{
"name": "content",
"value": "text/html; charset=UTF-8"
}
],
[
{
"name": "name",
"value": "author"
},
{
"name": "content",
"value": "Astrid Florence Cassing"
}
]
]