Json schema
The JSON Schema that defines an array of object and the object itself
{
"type": "object",
"properties": {
"mappinglist" : {
"type": "array",
"items": { "$ref": "#/definitions/mapping" }
}
},
"definitions": {
"mapping": {
"properties": {
"name": {
"type": "string"
}
}
}
}
}
The actual JSON file
{
"mappinglist": [
{
"name" : "bla1"
},
{
"name" : "bla2"
}
]
}