{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/airbyte/refs/heads/main/json-structure/airbyte-workspace-o-auth-credentials-request-structure.json",
  "name": "WorkspaceOAuthCredentialsRequest",
  "description": "POST body for creating/updating workspace level OAuth credentials",
  "type": "object",
  "properties": {
    "actorType": {
      "$ref": "#/components/schemas/ActorTypeEnum"
    },
    "name": {
      "type": "string",
      "description": "The name of the source i.e. google-ads"
    },
    "configuration": {
      "$ref": "#/components/schemas/OAuthCredentialsConfiguration"
    }
  },
  "required": [
    "actorType",
    "name",
    "configuration"
  ]
}