datalad catalog-validate
Synopsis
datalad catalog-validate [-h] [-m METADATA] [-c CATALOG] [--version]
Description
Validate metadata against the catalog schema
The schema version is determined from the catalog, if provided. Otherwise from the latest supported version of the package installation.
Examples
Validate metadata against a catalog schema without adding it to the catalog:
% datalad catalog-validate -c /tmp/my-cat/-m path/to/metadata.jsonl'
Options
-h, --help, --help-np
show this help message. --help-np forcefully disables the use of a pager for displaying the help message
-m METADATA, --metadata METADATA
Path to input metadata. Multiple input types are possible: - A '.json' file containing an array of JSON objects related to a single datalad dataset. - A stream of JSON objects/lines.
-c CATALOG, --catalog CATALOG
Location of the existing catalog.
--version
show the module and its version which provides the command