Sha256: 89ca9920a92a38bb9cf4d9ee29991223a8d2bfc3d5ff101d853fe7fa0968f9de

Contents?: true

Size: 1.14 KB

Versions: 11

Compression:

Stored size: 1.14 KB

Contents

{
  "$schema": "http://json-schema.org/draft-07/schema",
  "definitions": {
    "time_integer": {
      "type": "number"
    },
    "dnd_status": {
      "type": "object",
      "description": "(defined by script)",
      "properties": {
        "dnd_enabled": {
          "type": "boolean"
        },
        "next_dnd_end_ts": {
          "$ref": "#/definitions/time_integer"
        },
        "next_dnd_start_ts": {
          "$ref": "#/definitions/time_integer"
        }
      }
    },
    "user_id": {
      "type": "string"
    },
    "dnd_updated_user": {
      "type": "object",
      "description": "learn more: https://api.slack.com/events/dnd_updated_user",
      "properties": {
        "dnd_status": {
          "$ref": "#/definitions/dnd_status"
        },
        "type": {
          "const": "dnd_updated_user"
        },
        "user": {
          "$ref": "#/definitions/user_id"
        }
      },
      "example": {
        "dnd_status": {
          "dnd_enabled": true,
          "next_dnd_start_ts": 1450387800,
          "next_dnd_end_ts": 1450423800
        },
        "type": "dnd_updated_user",
        "user": "U1234"
      }
    }
  }
}

Version data entries

11 entries across 11 versions & 1 rubygems

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