{
	"fillkite": 1,
	"exported": "2026-10-07T00:00:00+00:00",
	"forms": [
		{
			"title": "Dental appointment",
			"status": "published",
			"schema": {
				"schemaVersion": 1,
				"fields": [
					{
						"id": "f_your_name",
						"type": "name",
						"label": "Your name",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "full"
					},
					{
						"id": "f_email",
						"type": "email",
						"label": "Email",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "half"
					},
					{
						"id": "f_phone",
						"type": "phone",
						"label": "Phone",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "half"
					},
					{
						"id": "f_why",
						"type": "select",
						"label": "Reason for visit",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "full",
						"options": [
							{
								"label": "Check-up and clean",
								"value": "Check-up and clean"
							},
							{
								"label": "Toothache",
								"value": "Toothache"
							},
							{
								"label": "Filling",
								"value": "Filling"
							},
							{
								"label": "Crown or bridge",
								"value": "Crown or bridge"
							},
							{
								"label": "Something else",
								"value": "Something else"
							}
						]
					},
					{
						"id": "f_when_was_your_last_visit",
						"type": "select",
						"label": "When was your last visit?",
						"placeholder": "",
						"helpText": "",
						"required": false,
						"width": "full",
						"options": [
							{
								"label": "Under 6 months ago",
								"value": "Under 6 months ago"
							},
							{
								"label": "6 to 12 months ago",
								"value": "6 to 12 months ago"
							},
							{
								"label": "Over a year ago",
								"value": "Over a year ago"
							},
							{
								"label": "Never",
								"value": "Never"
							}
						],
						"logic": {
							"action": "show",
							"match": "all",
							"rules": [
								{
									"field": "f_why",
									"operator": "is",
									"value": "Check-up and clean"
								}
							]
						}
					},
					{
						"id": "f_pain",
						"type": "range",
						"label": "How bad is the pain?",
						"placeholder": "",
						"helpText": "",
						"required": false,
						"width": "full",
						"min": 1,
						"max": 10,
						"step": 1,
						"default": 5,
						"logic": {
							"action": "show",
							"match": "all",
							"rules": [
								{
									"field": "f_why",
									"operator": "is",
									"value": "Toothache"
								}
							]
						}
					},
					{
						"id": "f_notice_1240932565",
						"type": "html",
						"label": "Notice",
						"placeholder": "",
						"helpText": "",
						"required": false,
						"width": "full",
						"content": "<p><strong>Severe pain: please call us and we will find you an earlier slot.</strong></p>",
						"logic": {
							"action": "show",
							"match": "all",
							"rules": [
								{
									"field": "f_pain",
									"operator": "gt",
									"value": "7"
								}
							]
						}
					},
					{
						"id": "f_new",
						"type": "radio",
						"label": "Are you a new patient?",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "full",
						"options": [
							{
								"label": "Yes",
								"value": "Yes"
							},
							{
								"label": "No",
								"value": "No"
							}
						]
					},
					{
						"id": "f_who_referred_you_optional",
						"type": "text",
						"label": "Who referred you? (optional)",
						"placeholder": "",
						"helpText": "",
						"required": false,
						"width": "full",
						"logic": {
							"action": "show",
							"match": "all",
							"rules": [
								{
									"field": "f_new",
									"operator": "is",
									"value": "Yes"
								}
							]
						}
					},
					{
						"id": "f_preferred_date",
						"type": "date",
						"label": "Preferred date",
						"placeholder": "",
						"helpText": "",
						"required": true,
						"width": "half"
					},
					{
						"id": "f_preferred_time",
						"type": "time",
						"label": "Preferred time",
						"placeholder": "",
						"helpText": "",
						"required": false,
						"width": "half"
					}
				],
				"submit": {
					"label": "Request an appointment",
					"align": "left"
				}
			},
			"settings": {
				"confirmation": {
					"type": "message",
					"message": "Thanks! We will confirm your appointment.",
					"redirectUrl": "",
					"downloadUrl": "",
					"downloadLabel": ""
				}
			}
		}
	]
}
