{
"$schema": "http://json-schema.org/draft-07/schema", "definitions": { "time_integer": { "type": "number" }, "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" } } }, "group_rename": { "type": "object", "description": "learn more: https://api.slack.com/events/group_rename", "properties": { "channel": { "$ref": "#/definitions/channel" }, "type": { "const": "group_rename" } }, "example": { "channel": { "id": "G02ELGNBH", "name": "new_name", "created": 1360782804 }, "type": "group_rename" } } }
}