{ "$schema": "http://json-schema.org/draft-04/schema#", "$id": "https://example.com/product.schema.json", "title": "Form", "description": "A form", "type": "object", "required": ["form_type", "start_year", "end_year", "sections"], "properties": { "form_type": { "description": "", "type": "string" }, "start_year": { "description": "", "type": "integer" }, "end_year": { "description": "", "type": "integer" }, "sections": { "description": "", "type": "object", "patternProperties": { "^[0-9]+$": { "description": "", "type": "string" }, "label": { "description": "", "type": "string" }, "subsections": { "description": "", "type": "object", "patternProperties": { "^[0-9]+$": { "description": "", "type": "string" }, "label": { "description": "", "type": "string" }, "subsections": { "description": "", "type": "object", "patternProperties": { "^[0-9]+$": { "description": "", "type": "string" }, "label": { "description": "", "type": "string" }, "pages": { "description": "", "type": "object", "patternProperties": { "^[0-9]+$": { "description": "", "type": "string" } }, "questions": { "description": "", "type": "object", "patternProperties": { "^[0-9]+$": { "description": "", "type": "string" }, "conditional_for": { "type": "object", "properties": "" } } }, "conditional_route_to": { "type": "object", "properties": "" }, "default_next_page": { "type" : "string" } } } } } } } } } }