{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "alpeg-forms/form",
	"title": "ALPEG Form",
	"category": "widgets",
	"icon": "feedback",
	"description": "Contact, request or feedback form – also with multiple steps and file uploads. Submissions show up in the dashboard under \"ALPEG Forms\".",
	"keywords": [
		"form",
		"contact",
		"request",
		"upload",
		"application",
		"formular",
		"kontakt",
		"bewerbung"
	],
	"textdomain": "alpeg-forms",
	"version": "1.0.3",
	"usesContext": [
		"postId"
	],
	"supports": {
		"html": false,
		"align": [
			"wide",
			"full"
		],
		"anchor": true,
		"spacing": {
			"margin": true,
			"padding": true
		},
		"color": {
			"background": true,
			"text": true
		},
		"typography": {
			"fontSize": true
		}
	},
	"attributes": {
		"formId": {
			"type": "string",
			"default": ""
		},
		"formTitle": {
			"type": "string",
			"default": ""
		},
		"fields": {
			"type": "array",
			"default": []
		},
		"submitLabel": {
			"type": "string",
			"default": ""
		},
		"firstStepTitle": {
			"type": "string",
			"default": ""
		},
		"successMessage": {
			"type": "string",
			"default": ""
		},
		"notifyEmail": {
			"type": "string",
			"default": ""
		},
		"notifySubject": {
			"type": "string",
			"default": ""
		},
		"attachFiles": {
			"type": "boolean",
			"default": false
		},
		"sendConfirmation": {
			"type": "boolean",
			"default": false
		},
		"confirmationSubject": {
			"type": "string",
			"default": ""
		},
		"confirmationMessage": {
			"type": "string",
			"default": ""
		},
		"accentColor": {
			"type": "string",
			"default": ""
		},
		"starter": {
			"type": "string",
			"default": ""
		}
	},
	"example": {
		"attributes": {
			"formTitle": "Contact form",
			"fields": [
				{
					"id": "name",
					"type": "text",
					"label": "Name",
					"required": true,
					"width": "half"
				},
				{
					"id": "email",
					"type": "email",
					"label": "Email",
					"required": true,
					"width": "half"
				},
				{
					"id": "message",
					"type": "textarea",
					"label": "Message",
					"required": true
				}
			]
		}
	},
	"editorScript": "file:./editor.js",
	"editorStyle": [
		"file:./editor.css",
		"alpeg-forms-frontend",
		"dashicons"
	],
	"viewScript": "file:./view.js"
}
