Sha256: 2490cb29b571d6aeea102a8fa4481f8bfad364536232c782916f80f47d61703f

Contents?: true

Size: 1.04 KB

Versions: 11

Compression:

Stored size: 1.04 KB

Contents

{
  "$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"
        }
      }
    },
    "channel_rename": {
      "type": "object",
      "description": "learn more: https://api.slack.com/events/channel_rename",
      "properties": {
        "channel": {
          "$ref": "#/definitions/channel"
        },
        "type": {
          "const": "channel_rename"
        }
      },
      "example": {
        "channel": {
          "id": "C02ELGNBH",
          "name": "new_name",
          "created": 1360782804
        },
        "type": "channel_rename"
      }
    }
  }
}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
slack_resources-0.1.9 lib/slack_resources/resources/event_api/schemas/channel_rename.json
slack_resources-0.1.8 lib/slack_resources/resources/event_api/schemas/channel_rename.json
slack_resources-0.1.7 lib/slack_resources/resources/event_api/schemas/channel_rename.json
slack_resources-0.1.6 lib/slack_resources/resources/event_api/schemas/channel_rename.json
slack_resources-0.1.5 lib/slack_resources/resources/event_api/schemas/channel_rename.json
slack_resources-0.1.4 lib/slack_resources/resources/event_api/schemas/channel_rename.json
slack_resources-0.0.0 lib/slack_resources/resources/event_api/schemas/channel_rename.json
slack_resources-0.1.3 lib/slack_resources/resources/event_api/schemas/channel_rename.json
slack_resources-0.1.2 lib/slack_resources/resources/event_api/schemas/channel_rename.json
slack_resources-0.1.1 lib/slack_resources/resources/event_api/schemas/channel_rename.json
slack_resources-0.1.0 lib/slack_resources/resources/event_api/schemas/channel_rename.json