At title says, with 0.4.x (tested with .0 & .1) it fails to validate properly the example document at the end (it don't throw an error).
{
"links": {
"chains": "http://192.168.56.3:3000/api/services/nat/source/chains/{chains.name}"
},
"chains": [
{
"type": "source",
"name": "ifall",
"description": "",
"id": "539503ac1d58f1da7c608b26"
},
{
"type": "source",
"name": "ifall2",
"description": "",
"id": "5395055ea3c2d260053d3bfe"
},
{
"name": "ifall4",
"description": "interfaces",
"type": "source",
"interfaces": {
"out": "eth1"
},
"id": "5395098770a129630c1a6ead"
},
{
"description": "",
"name": "ifall3",
"type": "source",
"interfaces": "http://example.com/hamster.png",
"id": "5395062967350b410a022838"
}
],
"meta": {
"chains": {
"total": 4,
"limit": 10,
"offset": 0
}
}
}