1
0
mirror of synced 2025-12-21 19:11:14 -05:00
Files
airbyte/docs/connector-development/config-based/understanding-the-yaml-file/reference.md
2024-05-07 08:19:33 -07:00

60 lines
1.4 KiB
Markdown

import ManifestYamlDefinitions from '@site/src/components/ManifestYamlDefinitions';
import schema from "../../../../airbyte-cdk/python/airbyte_cdk/sources/declarative/declarative_component_schema.yaml";
# YAML Reference
This page lists all components, interpolation variables and interpolation macros that can be used when defining a low code YAML file.
For the technical JSON schema definition that low code manifests are validated against, see [here](https://github.com/airbytehq/airbyte/blob/master/airbyte-cdk/python/airbyte_cdk/sources/declarative/declarative_component_schema.yaml).
<ManifestYamlDefinitions />
export const toc = [
{
"value": "Components:",
"id": "components",
"level": 2
},
{
value: "DeclarativeSource",
id: "/definitions/DeclarativeSource",
level: 3
},
...Object.keys(schema.definitions).map((id) => ({
value: id,
id: `/definitions/${id}`,
level: 3
})),
{
"value": "Interpolation variables:",
"id": "variables",
"level": 2
},
...schema.interpolation.variables.map((def) => ({
value: def.title,
id: `/variables/${def.title}`,
level: 3
})),
{
"value": "Interpolation macros:",
"id": "macros",
"level": 2
},
...schema.interpolation.macros.map((def) => ({
value: def.title,
id: `/macros/${def.title}`,
level: 3
})),
{
"value": "Interpolation filters:",
"id": "filters",
"level": 2
},
...schema.interpolation.filters.map((def) => ({
value: def.title,
id: `/filters/${def.title}`,
level: 3
}))
];