{
	"$schema": "https://json-schema.org/draft-07/schema#",
	"type": "object",
	"additionalProperties": false,
	"properties": {
		"sitelinkSiteId": {
			"type": [ "string", "null" ]
		},
		"itemTypeProperty": {
			"type": [ "string", "null" ],
			"pattern": "^P[1-9]\\d{0,9}$"
		},
		"configPerItemType": {
			"type": "object",
			"propertyNames": {
				"pattern": "^Q[1-9]\\d{0,9}$"
			},
			"additionalProperties": {
				"type": "object",
				"additionalProperties": false,
				"required": [ "facets" ],
				"properties": {
					"icon": {
						"type": "string"
					},
					"facets": {
						"type": "object",
						"propertyNames": {
							"pattern": "^P[1-9]\\d{0,9}$"
						},
						"additionalProperties": {
							"type": "object",
							"additionalProperties": false,
							"required": [ "type" ],
							"properties": {
								"type": {
									"type": "string",
									"enum": [ "list", "range" ]
								},
								"defaultCombineWith": {
									"type": "string",
									"enum": [ "OR", "AND" ]
								},
								"allowCombineWithChoice": {
									"type": "boolean"
								},
								"showNoneFilter": {
									"type": "boolean"
								},
								"showAnyFilter": {
									"type": "boolean"
								}
							}
						}
					}
				}
			}
		}
	}
}
