{"type": "object", "title": "Generated schema for Root", "$schema": "http://json-schema.org/draft-07/schema#", "required": ["type", "campaignTypes"], "x-unique": ["type"], "properties": {"type": {"type": "string"}, "campaignTypes": {"type": "array", "items": {"type": "object", "required": ["campaignType", "fields"], "x-unique": ["campaignType"], "properties": {"fields": {"type": "array", "items": {"type": "object", "required": ["name", "type", "orderNo"], "x-unique": ["orderNo"], "properties": {"name": {"type": "string"}, "type": {"type": "string"}, "orderNo": {"type": "number"}, "validations": {"type": "object", "properties": {"maximum": {"type": "number"}, "minimum": {"type": "number"}, "maxLength": {"type": "number"}}}}}}, "campaignType": {"type": "string"}}}}}}