{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateTwilioCredentialDTO",
  "title": "CreateTwilioCredentialDTO",
  "type": "object",
  "properties": {
    "provider": {
      "type": "string",
      "enum": [
        "twilio"
      ]
    },
    "authToken": {
      "type": "string",
      "description": "This is not returned in the API."
    },
    "apiKey": {
      "type": "string",
      "description": "This is not returned in the API."
    },
    "apiSecret": {
      "type": "string",
      "description": "This is not returned in the API."
    },
    "accountSid": {
      "type": "string"
    },
    "name": {
      "type": "string",
      "description": "This is the name of credential. This is just for your reference.",
      "minLength": 1,
      "maxLength": 40
    }
  },
  "required": [
    "provider",
    "accountSid"
  ]
}