{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/IntegrationMappingPartnerItemSlack",
  "title": "Integration mapping mapped item schema for type Slack",
  "type": "object",
  "description": "The schema for an integration mapping mapped item object for type Slack.\n\nDepending if Box for Slack is installed at the org or workspace level,\nprovide **either** `slack_org_id` **or** `slack_workspace_id`.\nDo not use both parameters at the same time.",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "channel"
      ],
      "example": "channel",
      "description": "Type of the mapped item referenced in `id`",
      "nullable": false
    },
    "id": {
      "type": "string",
      "example": "C12378991223",
      "description": "ID of the mapped item (of type referenced in `type`)",
      "nullable": false
    },
    "slack_workspace_id": {
      "type": "string",
      "example": "T12352314",
      "description": "ID of the Slack workspace with which the item is associated. Use this parameter if Box for Slack is installed at a workspace level. Do not use `slack_org_id` at the same time.",
      "nullable": true
    },
    "slack_org_id": {
      "type": "string",
      "example": "E1234567",
      "description": "ID of the Slack org with which the item is associated. Use this parameter if Box for Slack is installed at the org level. Do not use `slack_workspace_id` at the same time.",
      "nullable": true
    }
  },
  "required": [
    "id",
    "type"
  ]
}