{
	"variants": [
		{
			"optional": true,
			"field": {
				"type": "checkbox",
				"aria": {
					"label": "checkbox-group-title",
					"info": "checkbox-group-info"
				}
			},
			"title": {
				"main": "Stacked checkboxes",
				"prompt": "Optional prompt/description text"
			},
			"inputs": [
				{
					"type": "checkbox",
					"name": "default",
					"value": "Stacked 1",
					"checked": true,
					"id": "stacked-1"
				},
				{
					"type": "checkbox",
					"name": "default",
					"value": "Stacked 2",
					"id": "stacked-2"
				},
				{
					"type": "checkbox",
					"name": "default",
					"value": "Stacked 3",
					"checked": true,
					"id": "stacked-3"
				}
			]
		},
		{
			"field": {
			  "type": "checkbox",
			  "aria": {
				"label": "checkbox-group-with-description-title",
				"info": "checkbox-group-with-description-info"
			  }
			},
			"title": {
			  "main": "Checkbox inputs with description",
			  "prompt": "Optional prompt text"
			},
			"inputs": [
			  {
				"type": "checkbox",
				"name": "default",
				"value": "Lorem ipsum dolor sit amet",
				"description": "Lorem ipsum dolor sit amet consectetur adipisicing elit. Ad earum magnam vel possimus harum suscipit.",
				"checked": true,
				"aria": {
				  "label": "checkbox-group-option-1-label",
				  "info": "checkbox-group-option-1-description"
				},
				"id": "checkbox-group-option-1"
			  },
			  {
				"type": "checkbox",
				"name": "default",
				"value": "Lorem ipsum dolor",
				"description": "Lorem, ipsum dolor sit amet consectetur adipisicing elit. Aperiam numquam aspernatur error voluptas dolorem ab.",
				"checked": false,
				"aria": {
				  "label": "checkbox-group-option-2-label",
				  "info": "checkbox-group-option-2-description"
				},
				"id": "checkbox-group-option-2"
			  }
			]
		},
		{
			"field": {
				"type": "checkbox",
				"aria": {
					"label": "disabed-checkbox-group-title"
				}
			},
			"title": {
				"main": "Disabled checkboxes"
			},
			"inputs": [
				{
					"type": "checkbox",
					"name": "disabled",
					"value": "Disabled 1",
					"checked": true,
					"disabled": true,
					"id": "disabled-1"
				},
				{
					"type": "checkbox",
					"name": "disabled",
					"value": "Disabled 2",
					"disabled": true,
					"id": "disabled-2"
				}
			]
		},
		{
			"field": {
				"type": "checkbox",
				"aria": {
					"label": "error-checkbox-group-title"
				},
				"error": "An example error. Try again.",
				"modifiers": [ "invalid" ]
			},
			"title": {
				"main": "Error checkboxes"
			},
			"inputs": [
				{
					"type": "checkbox",
					"name": "error",
					"value": "Error 1",
					"id": "error-1"
				},
				{
					"type": "checkbox",
					"name": "error",
					"value": "Error 2",
					"id": "error-2"
				}
			]
		},
		{
			"field": {
				"type": "checkbox",
				"aria": {
					"label": "inline-checkbox-group-title"
				},
				"modifiers": [
					"inline"
				]
			},
			"title": {
				"main": "Inline checkboxes"
			},
			"inputs": [
				{
					"type": "checkbox",
					"name": "inline",
					"value": "Inlined 1",
					"checked": true,
					"id": "inline-1"
				},
				{
					"type": "checkbox",
					"name": "inline",
					"value": "This is a very long inlined checkbox to demonstrate the correct alignment of checkboxes",
					"id": "inline-2"
				},
				{
					"type": "checkbox",
					"name": "inline",
					"value": "Inlined 3",
					"id": "inline-3"
				}
			]
		},
		{
			"inline-field": true,
			"field": {
				"type": "checkbox",
				"aria": {
					"label": "inline-field-inline-checkbox-group-title"
				},
				"modifiers": [ "inline" ]
			},
			"title": {
				"main": "Inline field and checkboxes"
			},
			"inputs": [
				{
					"type": "checkbox",
					"name": "inline-field",
					"value": "Inline 1",
					"checked": true,
					"id": "inline-field-1"
				},
				{
					"type": "checkbox",
					"name": "inline-field",
					"value": "Inline 2",
					"id": "inline-field-2"
				}
			]
		},
		{
			"inline-field": true,
			"field": {
				"type": "checkbox",
				"aria": {
					"label": "inline-field-checkbox-group-title"
				}
			},
			"title": {
				"main": "Inline field and stacked checkboxes"
			},
			"inputs": [
				{
					"type": "checkbox",
					"name": "inline-stacked",
					"value": "Inline 1",
					"id": "inline-stacked-1"
				},
				{
					"type": "checkbox",
					"name": "inline-stacked",
					"value": "Inline 2",
					"checked": true,
					"id": "inline-stacked-2"
				},
				{
					"type": "checkbox",
					"name": "inline-stacked",
					"value": "Inline 3",
					"checked": true,
					"id": "inline-stacked-3"
				}
			]
		},
		{
			"field": {
				"type": "checkbox",
				"aria": {
					"label": "password-checkbox-group-title",
					"info": "password-checkbox-group-info"
				},
				"modifiers": [ "password" ]
			},
			"title": {
				"main": "Right side checkboxes",
				"prompt": "Interface demo only, password hide/show functionality is not currently included in o-forms."
			},
			"inputs": [
				{
					"name": "password",
					"type": "password",
					"value": "password",
					"label-first": true,
					"id": "password-1"
				},
				{
					"type": "checkbox",
					"name": "show",
					"value": "Show password",
					"label": "o-forms-input__right",
					"id": "password-2"
				}
			]
		},
		{
			"field": {
				"type": "checkbox",
				"aria": {
					"label": "extra-content-checkbox-group-title",
					"info": "extra-content-checkbox-group-info"
				}
			},
			"title": {
				"main": "Checkboxes with extra content",
				"prompt": "Indeterminate interface demo only, select/unselect all functionality is not currently included in o-forms"
			},
			"inputs": [
				{
					"type": "checkbox",
					"name": "extra",
					"value": "Select All",
					"id": "extra-1"
				},
				{
					"type": "checkbox",
					"name": "extra",
					"value": "I confirm I have read and agree to the terms & conditions, privacy policy and cookie policy*.",
					"additionalContent": "We will send you occasional emails to improve your experience of the Financial Times.",
					"id": "extra-2"
				},
				{
					"type": "checkbox",
					"name": "extra",
					"value": "This is a disabled checkbox with extra content.",
					"additionalContent": "Here is the extra content for this checkbox.",
					"disabled": true,
					"id": "extra-3"
				},
				{
					"type": "checkbox",
					"name": "extra",
					"value": "By submitting this form, you indicate your consent to also being contacted by the Financial Times by email. post or phone about our other products, services or special offers unless you untick this box. You can change your preferences anytime in the My Account section.",
					"checked": true,
					"id": "extra-4"
				}
			]
		}
	]
}
