{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/auphonic/main/json-schema/auphonic-service-account-schema.json",
  "title": "ServiceAccount",
  "description": "An external service account registered by the user.\nFields present depend on the service `type`.\nQuery `/api/info/service_types.json` for available service types and their parameters.\nCommon fields (uuid, display_name, type, incoming, outgoing) are always present.\nType-specific fields (email, host, port, path, bucket, etc.) are only present for\napplicable service types.\n",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/auphonic-openapi.yaml#/components/schemas/ServiceAccount",
  "type": "object",
  "properties": {
    "uuid": {
      "type": "string"
    },
    "display_name": {
      "type": "string"
    },
    "type": {
      "type": "string",
      "description": "Service type identifier"
    },
    "incoming": {
      "type": "boolean"
    },
    "outgoing": {
      "type": "boolean"
    },
    "email": {
      "type": "string"
    },
    "host": {
      "type": "string"
    },
    "port": {
      "type": "integer"
    },
    "path": {
      "type": "string"
    },
    "base_url": {
      "type": "string"
    },
    "permissions": {
      "type": "string"
    },
    "bucket": {
      "type": "string"
    },
    "key_prefix": {
      "type": "string"
    },
    "canned_acl": {
      "type": "string"
    },
    "endpoint": {
      "type": "string"
    },
    "program_keyword": {
      "type": "string"
    },
    "url": {
      "type": "string",
      "description": "WebDAV URL"
    },
    "libsyn_show_slug": {
      "type": "string"
    },
    "libsyn_directory": {
      "type": "string"
    },
    "podcast": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "title": {
          "type": "string"
        }
      }
    }
  }
}