{
    "copyright": "Licensed Materials - Property of IBM. IBM Cognos Products: BI Cloud (C) Copyright IBM Corp. 2018. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.",
    "$id": "widgetsFragmentSchema.json",
    "$schema": "http://json-schema.org/draft-07/schema#",
    "title": "widget set",
    "description": "The widget fragment of the dashboard specification, representing ...",
    "type": "array",
    "items": {
        "type": "object",
        "properties": {
            "id": { "$ref": "schemaDefs.json#/definitions/modelId" },
            "type": {"$ref": "widgetsTemplateSchema.json#/definitions/widgetType" },
            "data": {
                "type": "object",
                "properties": {
                    "dataViews": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "id": { "$ref": "schemaDefs.json#/definitions/modelId" },
                                "modelRef": { "$ref": "schemaDefs.json#/definitions/modelId" },
                                "dataItems": {
                                    "type": "array",
                                    "items": { "$ref": "widgetsSchema.json#/definitions/widgetData" }
                                }
                            }
                        }
                    }
                }
            },
            "visTypeLocked": { "$ref": "widgetsTemplateSchema.json#/definitions/visTypeLocked" },
            "slotmapping": { "$ref": "widgetsSchema.json#/definitions/slotmapping" },
            "possibleKeyDrivers": { "$ref": "widgetsSchema.json#/definitions/possibleKeyDrivers" },
            "name": { "$ref": "schemaDefs.json#/definitions/name" },
            "localFilters": { "$ref": "widgetsSchema.json#/definitions/localFilters" },
            "properties": { "$ref": "widgetsTemplateSchema.json#/definitions/properties" },
            "borderColor": { "$ref": "schemaDefs.json#/definitions/name" },
            "titleAlign": { "$ref": "widgetsTemplateSchema.json#/definitions/titleAlign" },
            "titleState": { "$ref": "schemaDefs.json#/definitions/name" },
            "content": { "$ref": "widgetsTemplateSchema.json#/definitions/content" }
        }
    }
}
