# Manifest

> Every field of the JSON document that describes an app.

Source: https://slaiky.xyz/docs/reference/manifest

One JSON document describes an app. Create an app from it, export one to it, or update one with it: on the app’s settings page, or with `apps.manifest.*` and a configuration token ([manifests guide](/docs/manifests)).

*your app → Slaiky · `manifest.json`*

```json

{
  "_metadata": { "major_version": 1 },
  "display_information": { "name": "Deploy bot", "description": "Posts deploys", "background_color": "#2c2d30" },
  "features": {
    "bot_user": { "display_name": "deploybot", "always_online": true },
    "app_home": { "home_tab_enabled": true, "messages_tab_enabled": true, "messages_tab_read_only_enabled": false },
    "slash_commands": [{ "command": "/deploy", "description": "Deploy a branch", "usage_hint": "[branch]" }],
    "shortcuts": [{ "name": "Create ticket", "type": "message", "callback_id": "create_ticket", "description": "From this message" }]
  },
  "oauth_config": { "scopes": { "bot": ["chat:write", "channels:history", "app_mentions:read", "commands"] } },
  "settings": {
    "event_subscriptions": { "bot_events": ["app_mention", "message.channels"] },
    "interactivity": { "is_enabled": true },
    "socket_mode_enabled": true
  }
}

```

## Fields

| Field | Type | Required | What |
| --- | --- | --- | --- |
| `_metadata` | object | no |  |
| `_metadata.major_version` | integer | no | 1–2. |
| `_metadata.minor_version` | integer | no | 0–99. |
| `display_information` | object | yes |  |
| `display_information.name` | string | yes | 2–40 characters. |
| `display_information.description` | string | no | Up to 300 characters. |
| `display_information.long_description` | string | no | Up to 4,000 characters. |
| `display_information.background_color` | string | no |  |
| `features` | object | no |  |
| `features.bot_user` | object | no |  |
| `features.bot_user.display_name` | string | yes | 1–40 characters. |
| `features.bot_user.always_online` | boolean | no |  |
| `features.app_home` | object | no |  |
| `features.app_home.home_tab_enabled` | boolean | no |  |
| `features.app_home.messages_tab_enabled` | boolean | no |  |
| `features.app_home.messages_tab_read_only_enabled` | boolean | no |  |
| `features.slash_commands[]` | array (Up to 50 items.) | no | Up to 50 items. |
| `features.slash_commands[].command` | string | yes | Up to 33 characters. |
| `features.slash_commands[].description` | string | no | Up to 200 characters. |
| `features.slash_commands[].usage_hint` | string | no | Up to 100 characters. |
| `features.slash_commands[].url` | URL | no | Up to 2,000 characters. |
| `features.slash_commands[].should_escape` | boolean | no |  |
| `features.shortcuts[]` | array (Up to 10 items.) | no | Up to 10 items. |
| `features.shortcuts[].name` | string | yes | 1–24 characters. |
| `features.shortcuts[].type` | `"global"` / `"message"` | yes |  |
| `features.shortcuts[].description` | string | no | Up to 150 characters. |
| `features.shortcuts[].callback_id` | string | yes | 1–255 characters. |
| `oauth_config` | object | no |  |
| `oauth_config.scopes` | object | no |  |
| `oauth_config.scopes.bot` | array of `"chat:write"` / `"chat:write.public"` / `"chat:write.customize"` / `"channels:read"` / `"channels:history"` / `"channels:join"` / `"channels:manage"` / `"groups:read"` / `"groups:history"` / `"groups:write"` / `"im:read"` / `"im:history"` / `"im:write"` / `"mpim:read"` / `"mpim:history"` / `"mpim:write"` / `"users:read"` / `"users:read.email"` / `"reactions:read"` / `"reactions:write"` / `"pins:read"` / `"pins:write"` / `"files:read"` / `"files:write"` / `"canvases:read"` / `"canvases:write"` / `"tabs:read"` / `"tabs:write"` / `"lists:read"` / `"lists:write"` / `"calls:read"` / `"workflows:run"` / `"commands"` / `"app_mentions:read"` / `"incoming-webhook"` / `"team:read"` | no | Up to 36 items. |
| `oauth_config.redirect_urls` | array of URL | no | Up to 20 items. |
| `settings` | object | no |  |
| `settings.event_subscriptions` | object | no |  |
| `settings.event_subscriptions.request_url` | URL | no | Up to 2,000 characters. |
| `settings.event_subscriptions.bot_events` | array of `"message.channels"` / `"message.groups"` / `"message.im"` / `"message.mpim"` / `"app_mention"` / `"reaction_added"` / `"reaction_removed"` / `"member_joined_channel"` / `"member_left_channel"` / `"channel_created"` / `"channel_rename"` / `"channel_archive"` / `"channel_unarchive"` / `"pin_added"` / `"pin_removed"` / `"call_started"` / `"call_ended"` / `"app_home_opened"` / `"app_uninstalled"` | no | Up to 19 items. |
| `settings.interactivity` | object | no |  |
| `settings.interactivity.is_enabled` | boolean | yes |  |
| `settings.interactivity.request_url` | URL | no | Up to 2,000 characters. |
| `settings.socket_mode_enabled` | boolean | no |  |
