{
	"copyright": "Licensed Materials - Property of IBM. IBM Cognos Products: BI Cloud (C) Copyright IBM Corp. 2018, 2020. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.",
	"$id": "layoutSchema.json",
	"$schema": "http://json-schema.org/draft-07/schema#",
	"title": "layout",
	"description": "The layout of the dashboard specification, representing ...",
	"definitions": {
		"item": {
				"type": "object",
				"properties": {
					"id": { "$ref": "schemaDefs.json#/definitions/id" },
					"style": { "$ref": "schemaDefs.json#/definitions/style" },
					"type": { "$ref": "#/definitions/layoutType" },
					"relatedLayouts": { "type": "string" },
					"items": { "$ref": "#/definitions/items" },
					"css": { "type": "string" },
					"title": { "type": "string" },
					"templateName": { "type": "string" },
					"features": { "$ref": "#/definitions/features" }
				},
				"required": [ "id", "type"]
		},
		"features": {
			"type": "object",
			"patternProperties": {
				"[0-9,a-z,-,_]*": { "$ref": "widgetsTemplateSchema.json#/definitions/widget" }
			}
		},
		"items": {
				"type": "array",
				"minItems": 0,
				"items": { "$ref": "#/definitions/item" }
		},
		"layoutType": {
				"type": "string",
				"enum": ["tab", "absolute", "widget", "group"]
		}

	},
	"type": "object",
	"properties": {
		"id": { "$ref": "schemaDefs.json#/definitions/id" },
		"style": { "$ref": "schemaDefs.json#/definitions/style" },
		"items": { "$ref": "#/definitions/items" },
		"type": { "$ref": "#/definitions/layoutType" },
		"showGrid": { "type": "boolean" },
		"snapGrid": { "type": "boolean" },
		"snapObjects": { "type": "boolean" },
		"tabTextColor": { "type": "string" },
		"tabSelectedLineColor": { "type": "string" },
		"tabBackgroundColor": { "type": "string" },
		"hideTab": { "type": "boolean" },
		"tabPosition": { "type": "string" },
		"tabIconPosition": { "type": "string" },
		"tabIcon": { "type": "string" },
		"tabIconColor": { "type": "string" },
		"fitPage": { "type": "boolean" },
		"fillColor": { "type": "string" },
		"pageSize": {
				"type": "object",
				"properties": {
					"height": { "type": "number" },
					"width": { "type": "number" }
				}
		},
		"layoutPositioning": { "type": "string" },
		"features": { "$ref": "#/definitions/features" }
	},
	"required": [ "id", "type", "items" ]
}
