{ "$id": "instanceData", "title": "Instance Object", "description": "Instance object", "type": "object", "properties": { "instance_data": { "$ref": "#/definitions/randomObject" } }, "required": [ "instance_data" ], "definitions": { "randomObject": { "type": "object", "description": "JSON Object", "patternProperties": { "[a-zA-Z]+": { "type": "string" } }, "minProperties": 5 }, "randomList": { "type": "array", "description": "JSON Array", "items": [ { "patternProperties": { "[a-zA-Z]+": { "anyOf": [ { "$ref": "#/definitions/randomObject" } ] } } } ] } } }