Skip to content

connector-definition schema

Generic External Provider Connector Engine's content model (engine-provider-connector) — domain/providerKey/connectorKind(DIRECT|HTTP)/baseUrl/auth/request-template/response-mapping.

Pull the full JSON Schema: erp schema pull connector-definition  ·  MCP: erp_get_schema {"name":"connector-definition"}

Top-level properties

PropertyTypeRequiredNotes
domainstringyesConsumer namespace, e.g. "hcm-employee-documents.signature" — any plugin/feature can register its own domain.
providerKeystringyesUnique per (tenant, domain) — what the consuming entity's provider_name/provider_key column resolves against.
namestringyes
connectorKindstringyesone of: DIRECT, HTTP
activeboolean
isDefaultboolean
baseUrlstring
authTypestringone of: NONE, API_KEY_HEADER, BEARER_TOKEN, BASIC
authConfigobjecte.g. {headerName, secretRef} — secretRef of shape "env:VAR_NAME" resolved from environment at call time, never a literal secret stored here.
requestPathstring
httpMethodstringone of: POST, PUT
requestTemplateobjectJSON object whose string leaves may contain tokens substituted at call time.
responseMappingobject{providerReferencePath, statusPath, signingUrlPath} dot-paths into the vendor's JSON response.
statusMappingobjectVendor status string -> this domain's own internal status vocabulary.
completionModestringone of: MANUAL_CONFIRM, POLL, WEBHOOK
pollPathTemplatestring
webhookPathstring
notesstring
ownerPluginstring