{
    "properties": {
        "channel": {
            "description": "The name of the channel along which to segment the count",
            "type": "string"
        },
        "count": {
            "description": "The count of the number of events",
            "type": "integer"
        },
        "period": {
            "description": "The period described by each data point",
            "enum": [
                "hour",
                "day",
                "week",
                "month",
                "year",
                "decade",
                "century"
            ]
        }
    },
    "required": [
        "count",
        "channel"
    ],
    "title": "Transactions by channel",
    "type": "object"
}