Reference for <systemKey>-system.json — authentication, system-level OpenAPI/MCP hints, roles, and certification objects.
Source of truth
- Schema file:
external-system.schema.json(shipped with the Builder CLI schema bundle) - Schema key:
external-system-schema - Version: 1.8.0 (verify in schema
metadata.versionbefore citing in tickets)
Validate:
aifabrix validate <systemKey>-system.json
Top-level fields (summary)
| Field | Purpose |
|---|---|
key |
Stable system identifier |
displayName |
Human label |
type |
openapi, mcp, or custom |
authentication |
Nested auth with authType discriminator (credential, apiProvider, none) |
configuration |
Non-secret connection settings |
openapi / mcp |
System-level connectivity hints (spec URL, server URL) — not datasource vendor contract |
roles / permissions |
RBAC exposure for controller registration |
certification |
Trust/certification metadata when present |
Important rules
- System-level
openapi/mcpobjects are connectivity hints. Datasource-level vendor/API provenance belongs in external datasourceexternalSpec. - Authentication uses nested
authentication.credentialtemplate — flatauthentication.methodat root was removed in schema 1.7.0. systemKindcatalog is defined in schema extensionx-systemKindCatalog.
Examples
Use Wizard output as the baseline example set for your integration folder. After manual edits, always re-run aifabrix validate and aifabrix repair --dry-run.