Validate Row Command
Validate a configuration row JSON file.
kbc local validate row component.id row.json [flags]Each component definition optionally contains a schema of the configuration row parameters key.
The command validates the content of the specified JSON file against the schema. It can be used both in a project local directory and also separately.
Options
Section titled “Options”Example
Section titled “Example”A successful run, the configuration row is valid:
➜ kbc local validate row keboola.ex-azure-cost-management row.jsonValidation done.A validation error:
➜ kbc local validate row keboola.ex-azure-cost-management row.jsonError:- "export": missing properties: "aggregation"- "export.groupingDimensions": expected array, but got stringIf there is no schema in the component definition, a warning is printed:
➜ kbc local validate row ex-generic-v2 row.jsonComponent "ex-generic-v2" has no configuration row JSON schema.Validation done.