{ "definitions": { "categoryEnum": { "title": "Category", "type": "string", "anyOf": [ "options_from_task_data_var:category_enum_list" ] } }, "title": "test", "description": "", "properties": { "start_date": { "type": "string", "title": "start date", "format": "date", "minimumDate": "today" }, "category": { "title": "the NOT date", "$ref": "#/definitions/categoryEnum", "default": "travel" }, "end_date": { "type": "string", "title": "end date", "format": "date", "minimumDate": "field:start_date,field:event_date" }, "event_date": { "type": "string", "title": "event date", "format": "date", "minimumDate": "field:start_date" } }, "required": [], "dependencies": { "category": { "oneOf": [ "properties": { "category": { "enum": [ "travel" ] }, "sub_category": { "enum":[ "Accomocations", "Flights", "Transportation", "Tickets", "Visas", "Other" ], "title": "Sub Category" } } } ] } }