{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/EmailProviderCredentials",
  "title": "EmailProviderCredentials",
  "type": "object",
  "description": "Credentials required to use the provider.",
  "additionalProperties": false,
  "properties": {
    "api_user": {
      "type": "string",
      "description": "API User."
    },
    "region": {
      "type": "string",
      "description": "AWS or SparkPost region."
    },
    "smtp_host": {
      "type": "string",
      "description": "SMTP host."
    },
    "smtp_port": {
      "type": "integer",
      "description": "SMTP port."
    },
    "smtp_user": {
      "type": "string",
      "description": "SMTP username."
    }
  }
}