schematic-ipsum
schematic-ipsum copied to clipboard
Add support for draft 4 of the standard...
Great tool, unfortunately I already had to switch to draft 4 of the JSON Schema standard to use a library, which apparently keeps my schemas from working with your tool.
You can see the error by adding a "required" attribute (part of the v4 standard) to your sample document:
{
"type": "object",
"properties": {
"id": {
"type": "string",
"ipsum": "id"
},
"name": {
"type": "string",
"ipsum": "name"
},
"email": {
"type": "string",
"format": "email"
},
"bio": {
"type": "string",
"ipsum": "sentence"
},
"age": {
"type": "integer"
},
"avatar": {
"type": "string",
"ipsum": "small image"
}
},
"required": ["avatar"]
}
I just tested to confirm that the tool seems to completely ignore whatever $schema
is set to.