{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateSlackOAuth2AuthorizationCredentialDTO",
  "title": "CreateSlackOAuth2AuthorizationCredentialDTO",
  "type": "object",
  "properties": {
    "provider": {
      "type": "string",
      "enum": [
        "slack.oauth2-authorization"
      ]
    },
    "authorizationId": {
      "type": "string",
      "description": "The authorization ID for the OAuth2 authorization"
    },
    "name": {
      "type": "string",
      "description": "This is the name of credential. This is just for your reference.",
      "minLength": 1,
      "maxLength": 40
    }
  },
  "required": [
    "provider",
    "authorizationId"
  ]
}