{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "requires": [
        "events"
    ],
    "properties": {
        "events": {
            "type": "object",
            "description": "Display event bus activity received through wrapper events.",
            "requires": [
                "stream"
            ],
            "properties": {
                "stream": {
                    "type": "string",
                    "description": "The event topic through which to gather events."
                },
                "bufferSize": {
                    "type": "integer",
                    "description": "Maximum number of event items to keep in memory.",
                    "default": 5000
                }
            }
        },
        "filter": {
            "type": "object",
            "description": "Controls filter settings",
            "properties": {
                "hidePatterns": {
                    "type": "array",
                    "description": "Controls pattern-related default filter settings",
                    "default": [
                        "visibility",
                        "i18n"
                    ]
                },
                "hideSources": {
                    "type": "array",
                    "description": "Controls source-related default filter settings",
                    "default": []
                },
                "hideInteractions": {
                    "type": "array",
                    "description": "Controls interaction-related default filter settings",
                    "default": [
                        "subscribe",
                        "unsubscribe"
                    ]
                },
                "resource": {
                    "type": "string",
                    "description": "The event topic through which to receive filter information",
                    "format": "topic",
                    "axRole": "outlet"
                }
            }
        }
    }
}