{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SourceCreateRequest",
  "title": "SourceCreateRequest",
  "required": [
    "name",
    "workspaceId",
    "configuration"
  ],
  "type": "object",
  "properties": {
    "name": {
      "description": "Name of the source e.g. dev-mysql-instance.",
      "type": "string"
    },
    "definitionId": {
      "description": "The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided.",
      "format": "uuid",
      "type": "string"
    },
    "workspaceId": {
      "format": "uuid",
      "type": "string"
    },
    "configuration": {
      "$ref": "#/components/schemas/SourceConfiguration"
    },
    "secretId": {
      "description": "Optional secretID obtained through the  OAuth redirect flow.",
      "type": "string"
    },
    "resourceAllocation": {
      "$ref": "#/components/schemas/ScopedResourceRequirements"
    }
  },
  "x-implements": "io.airbyte.api.common.ConfigurableActor",
  "x-speakeasy-entity": "Source",
  "x-speakeasy-param-suppress-computed-diff": true,
  "x-speakeasy-component": true
}