{
	"form1": {
		"errorSummary": {
			"id": "summary",
			"title": "There are problems",
			"errors": [
				{
					"id": "your-name-error",
					"error": "Enter your name"
				},
				{
					"id": "checkbox-terms-error",
					"error": "Agree to the terms to continue"
				}
			]
		},
		"fields": [
			{
				"template": "globalFormFieldset",
				"legend": "Test, should not inherit",
				"fields": [
					{
						"template": "globalFormFieldset",
						"fields": [
							{
								"template": "globalFormRadios",
								"legend": "Animal",
								"id": "radios-animals",
								"name": "radios-animals",
								"inputs": [
									{
										"label": "Horse",
										"value": "Horse",
										"id": "radio-horse"
									},
									{
										"label": "Monkey",
										"value": "Monkey",
										"id": "radio-monkey",
										"fields": [
											{
												"template": "globalFormText",
												"label": "What type of monkey?",
												"id": "monkey-type",
												"name": "monkey-type",
												"hint": "Chimps are not monkeys",
												"error": "Choose a monkey already!"
											}
										]
									},
									{
										"label": "Platypus",
										"value": "Platypus",
										"id": "radio-platypus",
										"checked": true
									}
								]
							}
						]
					}
				]
			},
			{
				"template": "globalFormFieldset",
				"legend": "<h2>Text inputs</h2>",
				"fields": [
					{
						"template": "globalFormText",
						"label": "Your name (simple)",
						"id": "your-name",
						"name": "your-name",
						"dataAttrs": {
							"test": "someValue"
						}
					},
					{
						"template": "globalFormPassword",
						"name": "password",
						"label": "Your password",
						"id": "password",
						"value": "123456"
					},
					{
						"template": "globalFormText",
						"label": "Your name (with hint)",
						"hint": "Your name is on your passport",
						"id": "your-name-hint",
						"name": "your-name-hint"
					},
					{
						"template": "globalFormText",
						"label": "An unimportant field",
						"optional": true,
						"id": "unimportant",
						"name": "unimportant"
					},
					{
						"template": "globalFormHTML",
						"content": "<p>Here is some content appearing between fields. You can put any HTML here that you wish.</p>"
					},
					{
						"template": "globalFormText",
						"label": "Your name (with error)",
						"hint": "Your name is on your passport",
						"error": "Enter your name",
						"value": "987364",
						"id": "your-name-error",
						"name": "your-name-error"
					},
					{
						"template": "globalFormText",
						"label": "Your name (disabled)",
						"id": "your-name-disabled",
						"name": "your-name-disabled",
						"disabled": true
					}
				]
			}
		],
		"fieldsets": [
			{
				"legend": "<h2>Selects</h2>",
				"fields": [
					{
						"template": "globalFormSelect",
						"label": "Animal (simple)",
						"id": "select-animals",
						"name": "select-animals",
						"options": [
							{
								"label": "Please select an option",
								"value": "",
								"selected": true,
								"disabled": true
							},
							{
								"label": "Horse",
								"value": "Horse"
							},
							{
								"label": "Monkey",
								"value": "Monkey"
							},
							{
								"label": "Platypus",
								"value": "Platypus"
							}
						]
					},
					{
						"template": "globalFormSelect",
						"label": "Animal (with hint)",
						"id": "select-animals-hint",
						"name": "select-animals-hint",
						"hint": "Which is your favorite?",
						"options": [
							{
								"label": "Horse",
								"value": "Horse"
							},
							{
								"label": "Monkey",
								"value": "Monkey"
							},
							{
								"label": "Platypus",
								"value": "Platypus",
								"selected": true
							}
						]
					}
				]
			},
			{
				"legend": "<h2>Inline fields</h2>",
				"fields": [
					{
						"template": "globalFormInlineFields",
						"fields": [
							{
								"template": "globalFormText",
								"name": "search",
								"id": "search",
								"label": "Search",
								"hideLabel": true
							},
							{
								"template": "globalFormButton",
								"type": "submit",
								"label": "Search",
								"modifiers": ["primary"]
							}
						]
					},
					{
						"template": "globalFormInlineFields",
						"nowrap": true,
						"fields": [
							{
								"template": "globalFormText",
								"name": "day",
								"id": "day",
								"label": "Day",
								"hint": "In the format: DD"
							},
							{
								"template": "globalFormText",
								"name": "month",
								"id": "month",
								"label": "Month",
								"hint": "In the format: MM"
							},
							{
								"template": "globalFormText",
								"name": "year",
								"id": "year",
								"label": "Year",
								"hint": "In the format: YY"
							}
						]
					}
				]
			},
			{
				"legend": "<h2>Radios</h2>",
				"fields": [
					{
						"template": "globalFormRadios",
						"legend": "Animal",
						"id": "radios-animals",
						"name": "radios-animals",
						"inputs": [
							{
								"label": "Horse",
								"value": "Horse",
								"id": "radio-horse"
							},
							{
								"label": "Monkey",
								"value": "Monkey",
								"id": "radio-monkey",
								"fields": [
									{
										"template": "globalFormText",
										"label": "What type of monkey?",
										"id": "monkey-type",
										"name": "monkey-type",
										"hint": "Chimps are not monkeys",
										"error": "Choose a monkey already!"
									}
								]
							},
							{
								"label": "Platypus",
								"value": "Platypus",
								"id": "radio-platypus",
								"checked": true
							}
						]
					}
				]
			},
			{
				"legend": "<h2>Pictographic Radios</h2>",
				"fields": [
					{
						"template": "globalFormRadios",
						"label": "Rating (with error)",
						"groupDescription": "A scale of 5 feelings conveyed using images that range from terrible to great. The feelings represent how you feel about this page.",
						"id": "radios-rating",
						"name": "radios-rating",
						"pictographic": true,
						"boxed": true,
						"error": "Please select one rating",
						"inputs": [
							{
								"label": "Terrible",
								"value": "Terrible",
								"id": "radio-terrible",
								"svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"transparent\" stroke=\"currentColor\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 24 24\"> <defs> <clipPath id=\"crya\"> <path d=\"M24 0v24H0V0h24Z\"/> </clipPath> </defs> <g clip-path=\"url(#crya)\"> <path stroke-linecap=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.8\" stroke-linejoin=\"round\" d=\"M6.5 20.4A10 10 0 1 0 2 12\"/> <path stroke-linecap=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.8\" stroke-linejoin=\"round\" d=\"M9 17c1-2.7 5-2.7 6 0\"/> <path stroke-linecap=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.8\" stroke-linejoin=\"round\" d=\"M2.7 18.3a2 2 0 0 1-.7-2.8c.4-.6 1.5-1.1 3.2-1.5.6 1.7.7 2.9.3 3.5a2 2 0 0 1-2.8.8ZM9 10l-2 1M17 11l-2-1\"/> </g> </svg>",
								"showLabel": true,
								"imageDescription": "An image of a cartoon face that is crying."
							},
							{
								"label": "Bad",
								"value": "Bad",
								"id": "radio-bad",
								"svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"transparent\" stroke=\"currentColor\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 24 24\"> <defs> <clipPath id=\"frowna\"> <path d=\"M24 0v24H0V0h24Z\"/> </clipPath> <clipPath id=\"frownb\"> <path d=\"M1 0c.6 0 1 .4 1 1v2a1 1 0 1 1-2 0V1c0-.6.4-1 1-1Z\"/> </clipPath> </defs> <g clip-path=\"url(#frowna)\"> <path stroke-linecap=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.8\" stroke-linejoin=\"round\" d=\"M12 22a10 10 0 1 0 0-20 10 10 0 0 0 0 20Z\"/> <path stroke-linecap=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.8\" stroke-linejoin=\"round\" d=\"M9 17c1-2.7 5-2.7 6 0\"/> <g clip-path=\"url(#frownb)\" transform=\"translate(8 8)\"> <path stroke-linecap=\"round\" stroke-miterlimit=\"10\" stroke-width=\"2\" stroke-linejoin=\"round\" d=\"M0 0h2v4H0V0z\"/> </g> <g clip-path=\"url(#frownb)\" transform=\"translate(14 8)\"> <path stroke-linecap=\"round\" stroke-miterlimit=\"10\" stroke-width=\"2\" stroke-linejoin=\"round\" d=\"M0 0h2v4H0V0z\"/> </g> </g> </svg>",
								"showLabel":  false,
								"imageDescription": "An image of a cartoon face with a frown."

							},
							{
								"label": "OK",
								"value": "OK",
								"id": "radio-ok",
								"svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"transparent\" stroke=\"currentColor\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 24 24\"> <defs> <clipPath id=\"neutrala\"> <path d=\"M24 0v24H0V0h24Z\"/> </clipPath> <clipPath id=\"neutralb\"> <path d=\"M1 0c.6 0 1 .4 1 1v2a1 1 0 1 1-2 0V1c0-.6.4-1 1-1Z\"/> </clipPath> </defs> <g clip-path=\"url(#neutrala)\"> <path stroke-linecap=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.8\" stroke-linejoin=\"round\" d=\"M12 22a10 10 0 1 0 0-20 10 10 0 0 0 0 20Z\"/> <g clip-path=\"url(#neutralb)\" transform=\"translate(8 8)\"> <path stroke-linecap=\"round\" stroke-miterlimit=\"10\" stroke-width=\"2\" stroke-linejoin=\"round\" d=\"M0 0h2v4H0V0z\"/> </g> <g clip-path=\"url(#neutralb)\" transform=\"translate(14 8)\"> <path stroke-linecap=\"round\" stroke-miterlimit=\"10\" stroke-width=\"2\" stroke-linejoin=\"round\" d=\"M0 0h2v4H0V0z\"/> </g> <path stroke-linecap=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.8\" stroke-linejoin=\"round\" d=\"M9 16h6\"/> </g> </svg>",
								"showLabel":  false,
								"imageDescription": "An image of a cartoon face with a neutral expression."

							},
							{
								"label": "Good",
								"value": "Good",
								"id": "radio-good",
								"svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"transparent\" stroke=\"currentColor\"  aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 24 24\"> <defs> <clipPath id=\"smilea\"> <path d=\"M24 0v24H0V0h24Z\"/> </clipPath> <clipPath id=\"smileb\"> <path d=\"M1 0c.6 0 1 .4 1 1v2a1 1 0 1 1-2 0V1c0-.6.4-1 1-1Z\"/> </clipPath> </defs> <g clip-path=\"url(#smilea)\"> <path stroke-linecap=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.8\" stroke-linejoin=\"round\" d=\"M12 22a10 10 0 1 0 0-20 10 10 0 0 0 0 20Z\"/> <path stroke-linecap=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.8\" stroke-linejoin=\"round\" d=\"M9 15c1 2.7 5 2.7 6 0\"/> <g clip-path=\"url(#smileb)\" transform=\"translate(8 8)\"> <path stroke-linecap=\"round\" stroke-miterlimit=\"10\" stroke-width=\"2\" stroke-linejoin=\"round\" d=\"M0 0h2v4H0V0z\"/> </g> <g clip-path=\"url(#smileb)\" transform=\"translate(14 8)\"> <path stroke-linecap=\"round\" stroke-miterlimit=\"10\" stroke-width=\"2\" stroke-linejoin=\"round\" d=\"M0 0h2v4H0V0z\"/> </g> </g> </svg>",
								"showLabel":  false,
								"imageDescription": "An image of a cartoon face with a smile."

							},
							{
								"label": "Great",
								"value": "Great",
								"id": "radio-great",
								"svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"transparent\" stroke=\"currentColor\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 24 24\"> <defs> <clipPath id=\"grina\"> <path d=\"M24 0v24H0V0h24Z\"/> </clipPath> </defs> <g clip-path=\"url(#grina)\"> <path stroke-linecap=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.8\" stroke-linejoin=\"round\" d=\"M12 22a10 10 0 1 0 0-20 10 10 0 0 0 0 20Z\"/> <path stroke-linecap=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.8\" stroke-linejoin=\"round\" d=\"M17.5 10v-.5a1.7 1.7 0 0 0-3.5 0v.5M10 10v-.5a1.7 1.7 0 0 0-3.5 0v.5M8 14c.5 5 7.5 5 8 0H8Z\"/> </g> </svg>",
								"showLabel":  true,
								"imageDescription": "An image of a cartoon face with an open mouth grin."
							}
						]
					}
				]
			},
			{
				"legend": "<h2>Textareas</h2>",
				"fields": [
					{
						"template": "globalFormTextarea",
						"label": "Enter some text",
						"id": "textarea-example",
						"name": "textarea-example",
						"value": "This has been entered already",
						"rows": "5"
					}
				]
			},
			{
				"legend": "<h2>Checkboxes</h2>",
				"fields": [
					{
						"template": "globalFormCheckbox",
						"label": "Agree to our terms (with hint)",
						"hint": "You should have read these. Read them, then agree to them.",
						"id": "checkbox-terms-hint",
						"name": "checkbox-terms-hint"
					},
					{
						"template": "globalFormCheckbox",
						"label": "Agree to our terms (with error)",
						"error": "Agree to the terms to continue",
						"hint": "You should have read these. Read them, then agree to them.",
						"id": "checkbox-terms-error",
						"name": "checkbox-terms-error"
					},
					{
						"template": "globalFormCheckbox",
						"label": "Checkbox with supplementary field",
						"id": "checkbox-sup",
						"name": "checkbox-sup",
						"fields": [
							{
								"template": "globalFormText",
								"label": "What is your membership number?",
								"id": "checkbox-membership",
								"name": "checkbox-membership"
							}
						]
					}
				]
			},
			{
				"legend": "<h2>File upload</h2>",
				"fields": [
					{
						"template": "globalFormFile",
						"label": "Journal upload",
						"id": "file-upload",
						"name": "file-upload"
					}
				]
			},
			{
				"fields": [
					{
						"template": "globalFormButtons",
						"buttons": [
							{
								"type": "submit",
								"label": "Submit",
								"modifiers": ["primary"]
							},
							{
								"type": "cancel",
								"label": "Clear"
							}
						]
					}
				]
			}
		]
	},
	"dynamicPartials": {
		"globalFormField": "./toolkits/global/packages/global-forms/view/globalFormField.hbs",
		"globalFormFieldset": "./toolkits/global/packages/global-forms/view/globalFormFieldset.hbs",
		"globalFormInlineFields": "./toolkits/global/packages/global-forms/view/globalFormInlineFields.hbs",
		"globalFormLabel": "./toolkits/global/packages/global-forms/view/globalFormLabel.hbs",
		"globalFormError": "./toolkits/global/packages/global-forms/view/globalFormError.hbs",
		"globalFormErrorSummary": "./toolkits/global/packages/global-forms/view/globalFormErrorSummary.hbs",
		"globalFormAttributes": "./toolkits/global/packages/global-forms/view/globalFormAttributes.hbs",
		"globalFormText": "./toolkits/global/packages/global-forms/view/fields/globalFormText.hbs",
		"globalFormPassword": "./toolkits/global/packages/global-forms/view/fields/globalFormPassword.hbs",
		"globalFormEmail": "./toolkits/global/packages/global-forms/view/fields/globalFormEmail.hbs",
		"globalFormSelect": "./toolkits/global/packages/global-forms/view/fields/globalFormSelect.hbs",
		"globalFormTextarea": "./toolkits/global/packages/global-forms/view/fields/globalFormTextarea.hbs",
		"globalFormHidden": "./toolkits/global/packages/global-forms/view/fields/globalFormHidden.hbs",
		"globalFormCheckbox": "./toolkits/global/packages/global-forms/view/fields/globalFormCheckbox.hbs",
		"globalFormFile": "./toolkits/global/packages/global-forms/view/fields/globalFormFile.hbs",
		"globalFormRadios": "./toolkits/global/packages/global-forms/view/fields/globalFormRadios.hbs",
		"globalFormRadio": "./toolkits/global/packages/global-forms/view/fields/globalFormRadio.hbs",
		"globalFormHTML": "./toolkits/global/packages/global-forms/view/fields/globalFormHTML.hbs",
		"globalFormButton": "./toolkits/global/packages/global-forms/view/fields/globalFormButton.hbs",
		"globalFormButtons": "./toolkits/global/packages/global-forms/view/fields/globalFormButtons.hbs",
		"globalFormIconError": "./toolkits/global/packages/global-forms/view/globalFormIconError.hbs",
		"globalFormIconSelect": "./toolkits/global/packages/global-forms/view/globalFormIconSelect.hbs"
	}
}