{ "$id": "smartTemplateInstance", "title": "Instance object for dry run and provision", "type": "object", "properties": { "variables": { "type": "object", "patternProperties": { "[a-zA-Z]+": { "$ref": "#/definitions/randomList" } }, "minProperties": 1, "maxProperties": 1 }, "faml": { "type": "object", "oneOf": [ { "$ref": "famlObject#/definitions/famlLeaf" }, { "$ref": "famlObject#/definitions/famlContainer" }, { "$ref": "famlObject#/definitions/famlList" } ] }, "action": { "enum": [ "create" ] } }, "required": [ "variables", "faml", "action" ], "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" } ] } } } ] } } }