{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/airbyte/refs/heads/main/json-schema/airbyte-workspace-o-auth-credentials-request-schema.json",
  "title": "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"
  ]
}