{
    "additionalProperties": false,
    "properties": {
        "dimensions": {
            "items": {
                "type": "string"
            },
            "type": "array"
        },
        "filters": {
            "oneOf": [
                {
                    "items": {
                        "type": "string"
                    },
                    "type": "array"
                },
                {
                    "type": "string"
                }
            ]
        },
        "frequency": {
            "type": "string"
        },
        "id": {
            "pattern": "^[a-z0-9:]+$",
            "type": "string"
        },
        "maxResults": {
            "type": "integer"
        },
        "metrics": {
            "items": {
                "type": "string"
            },
            "type": "array"
        },
        "segment": {
            "type": "string"
        },
        "sort": {
            "items": {
                "type": "string"
            },
            "type": "array"
        }
    },
    "required": [
        "metrics"
    ],
    "title": "Google Analytics Collector Query",
    "type": "object"
}