Sha256: 3c4e1b602ba9118591ca2771a0b10d4ab9c693d7a6f1af817e0de36735fb9f6c

Contents?: true

Size: 1.29 KB

Versions: 7

Compression:

Stored size: 1.29 KB

Contents

{
  "$schema": "http://json-schema.org/draft-07/schema",
  "definitions": {
    "timestamp": {
      "type": "string"
    },
    "emoji_name": {
      "type": [
        "null",
        "string"
      ]
    },
    "emoji_subtype": {
      "type": "string",
      "enum": [
        "add",
        "remove"
      ]
    },
    "emoji_value": {
      "type": [
        "null",
        "string"
      ]
    },
    "emoji_changed": {
      "type": "object",
      "description": "learn more: https://api.slack.com/events/emoji_changed",
      "properties": {
        "event_ts": {
          "$ref": "#/definitions/timestamp"
        },
        "name": {
          "$ref": "#/definitions/emoji_name"
        },
        "names": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/emoji_name"
          }
        },
        "subtype": {
          "$ref": "#/definitions/emoji_subtype"
        },
        "type": {
          "const": "emoji_changed"
        },
        "value": {
          "$ref": "#/definitions/emoji_value"
        }
      },
      "example": {
        "event_ts": "1361482916.000004",
        "name": "picard_facepalm",
        "subtype": "add",
        "type": "emoji_changed",
        "value": "https://my.slack.com/emoji/picard_facepalm/db8e287430eaa459.gif"
      }
    }
  }
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
slack_resources-0.1.9 lib/slack_resources/resources/event_api/schemas/emoji_changed.json
slack_resources-0.1.8 lib/slack_resources/resources/event_api/schemas/emoji_changed.json
slack_resources-0.1.7 lib/slack_resources/resources/event_api/schemas/emoji_changed.json
slack_resources-0.1.6 lib/slack_resources/resources/event_api/schemas/emoji_changed.json
slack_resources-0.1.5 lib/slack_resources/resources/event_api/schemas/emoji_changed.json
slack_resources-0.1.4 lib/slack_resources/resources/event_api/schemas/emoji_changed.json
slack_resources-0.0.0 lib/slack_resources/resources/event_api/schemas/emoji_changed.json