{ "$schema": "http://json-schema.org/draft-07/schema", "definitions": { "time_integer": { "type": "number" }, "user_id": { "type": "string" }, "channel_id": { "type": "string" }, "channel_name": { "type": "string" }, "channel": { "type": "object", "description": "(defined by script)", "properties": { "created": { "$ref": "#/definitions/time_integer" }, "id": { "$ref": "#/definitions/channel_id" }, "name": { "$ref": "#/definitions/channel_name" } } }, "channel_created": { "type": "object", "description": "learn more: https://api.slack.com/events/channel_created", "properties": { "channel": { "$ref": "#/definitions/channel" }, "type": { "const": "channel_created" } }, "example": { "channel": { "id": "C024BE91L", "name": "fun", "created": 1360782804, "creator": "U024BE7LH" }, "type": "channel_created" } } } }