{
    "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": "drillThroughSchema.json",
    "$schema": "http://json-schema.org/draft-07/schema#",
    "title": "drillThrough set",
    "description": "The drill through of the dashboard specification, representing ...",
    "type": "array",
    "minItems": 0,
    "items": {
        "title": "drillThrough",
        "type": "object",
        "properties": {
            "id": {
                "$ref": "schemaDefs.json#/definitions/modelId"
            },
            "name": {
                "$ref": "schemaDefs.json#/definitions/name"
            },
            "targetName": {
                "$ref": "schemaDefs.json#/definitions/name"
            },
            "type": {
                "type": "string",
                "enum": ["report"]
            },
            "assetId": {
                "$ref": "schemaDefs.json#/definitions/assetId"
            },
            "modelRefs": {
                "type": "array",
                "minItems": 0,
                "items": {"$ref": "schemaDefs.json#/definitions/modelId" }
            },
            "mappings": {
                "description": "...",
                "type": "array",
                "minItems": 0,
                "items": {
                    "type": "object",
                    "properties": {
                        "name": {
                            "$ref": "schemaDefs.json#/definitions/name"
                        },
                        "modelFilterItem": {
                            "$ref": "schemaDefs.json#/definitions/name"
                        },
                        "type": {
                            "type": "string",
                            "enum": ["xsdString"]
                        },
                        "capabilities": {
                            "description": "...",
                            "type": "array",
                            "minItems": 0,
                            "items": { "type": "string" },
                            "uniqueItems": true
                        },
                        "mapTo": {
                            "type": "string"
                        }
                    }
                },
                "uniqueItems": true
            },
            "ownerId": { "$ref": "schemaDefs.json#/definitions/modelId" }
        }
    }
}
