JSON Schema definition for array of objects
You have defined your schema correctly, except that it doesn’t match the data you say you are validating. If you change the property names to match the schema, you still have one issue. If you want to allow “toll” and “message” to be null, you can do the following. { “type”: “array”, “items”: { “type”: … Read more