{
    "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": "pageContextSchema.json",
    "$schema": "http://json-schema.org/draft-07/schema#",
    "title": "pageContext set",
    "description": "The page context of the dashboard specification, representing ...",
    "type": "array",
    "items": {
        "title": "pageContext",
        "type": "object",
        "properties": {
            "origin": {
                "type": "string"
            },
            "table": {
                "type": "string"
            },
            "alias": {
                "type": "string"
            },
            "sourceId": {
                "type": "string"
            },
            "exclude": {
                "type": "boolean"
            },
            "isNamedSet": {
                "type": "boolean"
            },
            "tupleSet": {
                "type": "string"
            },
            "dataType": {
                "type": "string",
                "enum": ["DOUBLE", "INTEGER", "STRING"]
            },
            "scope": {
                "type": "string"
            },
            "usage": {
                "type": "string"
            },
            "conditions": {
                "description": "...",
                "type": "array",
                "minItems": 0,
                "items": {
                    "type": "object",
                    "properties": {
                        "attributeUniqueNames": {
                            "type": "array",
                            "minItems": 1,
                            "items": { "type": "string" }
                        },
                        "from": {
                            "type": "array",
                            "minItems": 1,
                            "items": { "type": "string" }
                        },
                        "to": {
                            "type": "array",
                            "minItems": 1,
                            "items": { "type": "string" }
                        },
                        "invert": {"type": "boolean"}
                    }
                },
                "uniqueItems": true
            },
            "hierarchyNames": {
                "description": "...",
                "type": "array",
                "minItems": 1,
                "items": { "type": "string" },
                "uniqueItems": true
            },
            "hierarchyUniqueNames": {
                "description": "...",
                "type": "array",
                "minItems": 1,
                "items": { "type": "string" },
                "uniqueItems": true
            },
            "hierarchies": {
                "description": "...",
                "type": "array",
                "minItems": 1,
                "items": {
                    "type": "object",
                    "properties": {
                        "hierarchyUniqueName": {"type": "string"}
                    }
                }
            }
        }
    }
}
