linkml validate

linkml validate

Validate data according to a LinkML Schema

linkml validate [OPTIONS] [DATA_SOURCES]...

Options

-s, --schema <schema>

Schema file to validate data against

-C, --target-class <target_class>

Class within the schema to validate data against

--config <config>

Validation configuration YAML file.

--exit-on-first-failure

Exit after the first validation failure is found. If not specified all validation failures are reported.

-D, --include-context, --no-include-context

Include additional context when reporting of validation errors.

Default:

False

--allow-null-for-optional-enums

Downgrade enum validation errors to warnings when the value is null/empty and the slot is not required. Prevents ‘None is not one of […]’ and “’’ is not one of […]” errors for optional enum slots.

-V, --version

Show the version and exit.

Arguments

DATA_SOURCES

Optional argument(s)