{
	"fillkite": 1,
	"exported": "2026-10-07T00:00:00+00:00",
	"forms": [
		{
			"title": "Leave request",
			"status": "published",
			"schema": {
				"schemaVersion": 1,
				"fields": [
					{
						"id": "f_employee",
						"type": "name",
						"label": "Employee",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "full"
					},
					{
						"id": "f_work_email",
						"type": "email",
						"label": "Work email",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "full"
					},
					{
						"id": "f_type",
						"type": "select",
						"label": "Type of leave",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "full",
						"options": [
							{
								"label": "Annual leave",
								"value": "Annual leave"
							},
							{
								"label": "Sick leave",
								"value": "Sick leave"
							},
							{
								"label": "Parental leave",
								"value": "Parental leave"
							},
							{
								"label": "Unpaid leave",
								"value": "Unpaid leave"
							},
							{
								"label": "Other",
								"value": "Other"
							}
						]
					},
					{
						"id": "f_first_day",
						"type": "date",
						"label": "First day",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "half"
					},
					{
						"id": "f_last_day",
						"type": "date",
						"label": "Last day",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "half"
					},
					{
						"id": "f_who_will_cover_for_you",
						"type": "text",
						"label": "Who will cover for you?",
						"placeholder": "",
						"helpText": "",
						"required": false,
						"width": "full",
						"logic": {
							"action": "show",
							"match": "all",
							"rules": [
								{
									"field": "f_type",
									"operator": "is",
									"value": "Annual leave"
								}
							]
						}
					},
					{
						"id": "f_do_you_have_a_doctor_s_note",
						"type": "radio",
						"label": "Do you have a doctor’s note?",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "full",
						"options": [
							{
								"label": "Yes",
								"value": "Yes"
							},
							{
								"label": "I will bring it",
								"value": "I will bring it"
							},
							{
								"label": "Not needed",
								"value": "Not needed"
							}
						],
						"logic": {
							"action": "show",
							"match": "all",
							"rules": [
								{
									"field": "f_type",
									"operator": "is",
									"value": "Sick leave"
								}
							]
						}
					},
					{
						"id": "f_due_or_adoption_date",
						"type": "date",
						"label": "Due or adoption date",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "full",
						"logic": {
							"action": "show",
							"match": "all",
							"rules": [
								{
									"field": "f_type",
									"operator": "is",
									"value": "Parental leave"
								}
							]
						}
					},
					{
						"id": "f_reason",
						"type": "textarea",
						"label": "Reason",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "full",
						"logic": {
							"action": "show",
							"match": "any",
							"rules": [
								{
									"field": "f_type",
									"operator": "is",
									"value": "Unpaid leave"
								},
								{
									"field": "f_type",
									"operator": "is",
									"value": "Other"
								}
							]
						}
					}
				],
				"submit": {
					"label": "Request leave",
					"align": "left"
				}
			},
			"settings": {
				"confirmation": {
					"type": "message",
					"message": "Thanks! Your manager will reply.",
					"redirectUrl": "",
					"downloadUrl": "",
					"downloadLabel": ""
				}
			}
		}
	]
}
