{
	"fillkite": 1,
	"exported": "2026-10-07T00:00:00+00:00",
	"forms": [
		{
			"title": "School trip permission",
			"status": "published",
			"schema": {
				"schemaVersion": 1,
				"fields": [
					{
						"id": "f_child_s_name",
						"type": "text",
						"label": "Child’s name",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "full"
					},
					{
						"id": "f_trip",
						"type": "select",
						"label": "Trip",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "full",
						"options": [
							{
								"label": "Science museum",
								"value": "Science museum"
							},
							{
								"label": "Farm visit",
								"value": "Farm visit"
							},
							{
								"label": "Swimming day",
								"value": "Swimming day"
							}
						]
					},
					{
						"id": "f_parent_or_guardian",
						"type": "name",
						"label": "Parent or guardian",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "full"
					},
					{
						"id": "f_emergency_phone",
						"type": "phone",
						"label": "Emergency phone",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "full"
					},
					{
						"id": "f_alg",
						"type": "radio",
						"label": "Does your child have allergies?",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "full",
						"options": [
							{
								"label": "Yes",
								"value": "Yes"
							},
							{
								"label": "No",
								"value": "No"
							}
						]
					},
					{
						"id": "f_which_allergies",
						"type": "textarea",
						"label": "Which allergies?",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "full",
						"logic": {
							"action": "show",
							"match": "all",
							"rules": [
								{
									"field": "f_alg",
									"operator": "is",
									"value": "Yes"
								}
							]
						}
					},
					{
						"id": "f_med",
						"type": "radio",
						"label": "Does your child need medicine during the day?",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "full",
						"options": [
							{
								"label": "Yes",
								"value": "Yes"
							},
							{
								"label": "No",
								"value": "No"
							}
						]
					},
					{
						"id": "f_medicine_and_dose",
						"type": "text",
						"label": "Medicine and dose",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "full",
						"logic": {
							"action": "show",
							"match": "all",
							"rules": [
								{
									"field": "f_med",
									"operator": "is",
									"value": "Yes"
								}
							]
						}
					},
					{
						"id": "f_may_we_take_photos_on_the_trip",
						"type": "radio",
						"label": "May we take photos on the trip?",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "full",
						"options": [
							{
								"label": "Yes",
								"value": "Yes"
							},
							{
								"label": "No",
								"value": "No"
							}
						]
					},
					{
						"id": "f_consent",
						"type": "consent",
						"label": "Consent",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "full",
						"content": "I give permission for my child to go on this trip."
					}
				],
				"submit": {
					"label": "Give permission",
					"align": "left"
				}
			},
			"settings": {
				"confirmation": {
					"type": "message",
					"message": "Thank you. Permission received.",
					"redirectUrl": "",
					"downloadUrl": "",
					"downloadLabel": ""
				}
			}
		}
	]
}
