{
	"apiVersion": 2,
	"name": "flexible-table-block/table",
	"title": "Flexible Table",
	"category": "text",
	"keywords": [ "table", "cell", "data"],
	"description": "Create flexible configuration table.",
	"textdomain": "flexible-table-block",
	"attributes": {
		"contentJustification": {
			"type": "string"
		},
		"hasFixedLayout": {
			"type": "boolean",
			"default": true
		},
		"isScrollOnPc": {
			"type": "boolean",
			"default": false
		},
		"isScrollOnMobile": {
			"type": "boolean",
			"default": false
		},
		"isStackedOnMobile": {
			"type": "boolean",
			"default": false
		},
		"sticky": {
			"type": "string"
		},
		"tableStyles": {
			"type": "string",
			"source": "attribute",
			"selector": "table",
			"attribute": "style"
		},
		"captionSide": {
			"type": "string",
			"default": "bottom"
		},
		"caption": {
			"type": "string",
			"source": "html",
			"selector": "figcaption"
		},
		"captionStyles": {
			"type": "string",
			"source": "attribute",
			"selector": "figcaption",
			"attribute": "style"
		},
		"head": {
			"type": "array",
			"default": [],
			"source": "query",
			"selector": "thead tr",
			"query": {
				"cells": {
					"type": "array",
					"default": [],
					"source": "query",
					"selector": "td,th",
					"query": {
						"content": {
							"type": "string",
							"source": "html"
						},
						"styles": {
							"type": "string",
							"source": "attribute",
							"attribute": "style"
						},
						"tag": {
							"type": "string",
							"default": "td",
							"source": "tag"
						},
						"className": {
							"type": "string",
							"source": "attribute",
							"attribute": "class"
						},
						"rowSpan": {
							"type": "string",
							"source": "attribute",
							"attribute": "rowspan"
						},
						"colSpan": {
							"type": "string",
							"source": "attribute",
							"attribute": "colspan"
						}
					}
				}
			}
		},
		"body": {
			"type": "array",
			"default": [],
			"source": "query",
			"selector": "tbody tr",
			"query": {
				"cells": {
					"type": "array",
					"default": [],
					"source": "query",
					"selector": "td,th",
					"query": {
						"content": {
							"type": "string",
							"source": "html"
						},
						"styles": {
							"type": "string",
							"source": "attribute",
							"attribute": "style"
						},
						"colSpan": {
							"type": "string",
							"source": "attribute",
							"attribute": "colspan"
						},
						"rowSpan": {
							"type": "string",
							"source": "attribute",
							"attribute": "rowspan"
						},
						"tag": {
							"type": "string",
							"default": "td",
							"source": "tag"
						},
						"className": {
							"type": "string",
							"source": "attribute",
							"attribute": "class"
						}
					}
				}
			}
		},
		"foot": {
			"type": "array",
			"default": [],
			"source": "query",
			"selector": "tfoot tr",
			"query": {
				"cells": {
					"type": "array",
					"default": [],
					"source": "query",
					"selector": "td,th",
					"query": {
						"content": {
							"type": "string",
							"source": "html"
						},
						"styles": {
							"type": "string",
							"source": "attribute",
							"attribute": "style"
						},
						"colSpan": {
							"type": "string",
							"source": "attribute",
							"attribute": "colspan"
						},
						"rowSpan": {
							"type": "string",
							"source": "attribute",
							"attribute": "rowspan"
						},
						"tag": {
							"type": "string",
							"default": "td",
							"source": "tag"
						},
						"className": {
							"type": "string",
							"source": "attribute",
							"attribute": "class"
						}
					}
				}
			}
		}
	},
	"supports": {
		"anchor": true,
		"align": [ "left", "right", "wide", "full"],
		"color": {
			"__experimentalSkipSerialization": true,
			"gradients": true
		},
		"typography": {
			"fontSize": true,
			"lineHeight": true,
			"__experimentalFontFamily": true
		},
		"__experimentalSelector": ".wp-block-flexible-table-block-table > table"
	}
}
