{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateDeepgramCredentialDTO",
  "title": "CreateDeepgramCredentialDTO",
  "type": "object",
  "properties": {
    "provider": {
      "type": "string",
      "enum": [
        "deepgram"
      ]
    },
    "apiKey": {
      "type": "string",
      "description": "This is not returned in the API."
    },
    "apiUrl": {
      "type": "string",
      "description": "This can be used to point to an onprem Deepgram instance. Defaults to api.deepgram.com."
    },
    "name": {
      "type": "string",
      "description": "This is the name of credential. This is just for your reference.",
      "minLength": 1,
      "maxLength": 40
    }
  },
  "required": [
    "provider",
    "apiKey"
  ]
}