"items": {
"description": "A sequence offoo object",
"type": "object",
"name": {
"description": "A foo object",
"type": "string"
},
"type": {
"description": "The type of the foo, 'compressed', 'scan', 'peg', etc",
"type": "string"
}
}
Hi Toby,
You have to put the properties of your object in a properties key word.
The properties key word defines what properties of the object are to be validated (or stuff).
Take a look at the example at http://json-schema.org/examples.html
The value of "items" must be a JSON schema, which means the example schema could be the value of "items" in your schema.
Make sense?
(Feel free to join the slack if not)
Cheers
Ben