{
	"$schema": "https://json.schemastore.org/block.json",
	"apiVersion": 3,
	"name": "wp-personio-integration/list",
	"title": "Personio Positions",
	"category": "personio-integration",
	"description": "Provides a Gutenberg block to show a list of positions provided by Personio.",
	"keywords": ["Personio", "Positions", "Position"],
	"supports": {
	  	"anchor": true,
		"color": {
			"gradients": true,
			"link": true
		},
		"html": false,
		"spacing": {
			"margin": true,
			"padding": true,
			"blockGap": true
		},
		"typography": {
			"fontSize": true,
			"lineHeight": true
		},
		"__experimentalBorder": true
	},
	"textdomain": "personio-integration-light",
	"editorScript": "file:build/index.js",
	"editorStyle": "file:build/index.css",
	"style": "file:build/style-index.css",
	"attributes": {
		"preview": {
			"type": "boolean",
			"default": false
		},
		"limit": {
			"type": "integer",
			"default": 0
		},
		"sort": {
			"type": "string",
			"default": "asc"
		},
		"sortby": {
			"type": "string",
			"default": "title"
		},
		"groupby": {
			"type": "string",
			"default": ""
		},
		"showTitle": {
			"type": "boolean",
			"default": true
		},
		"linkTitle": {
			"type": "boolean",
			"default": true
		},
		"showExcerpt": {
			"type": "boolean",
			"default": true
		},
		"excerptTemplates": {
			"type": "array",
			"default": ["recruitingCategory","schedule","office"]
		},
		"showContent": {
			"type": "boolean",
			"default": false
		},
		"showApplicationForm": {
			"type": "boolean",
			"default": false
		},
		"blockId": {
			"type": "string",
			"default": ""
		},
        "positionBackgroundColor": {
            "type": "string",
            "default": ""
        },
        "positionBackgroundColorHover": {
            "type": "string",
            "default": ""
        }
	},
	"example": {
		"attributes": {
			"preview": true,
			"showFilter": false,
			"filter": ["recruitingCategory","schedule","office"],
			"blockId": "personio-example",
			"filtertype": "linklist"
		}
	}
}
