Use a custom schema¶
Author a YAML schema (see Custom schema format), then point the CLI or API at the file:
from cp_anndata_validator import validate
report = validate("experiment.h5ad", schema="./my-lab-schema.yaml")
Malformed schemas raise SchemaError before any check runs (CLI exit 2).
Unknown keys are rejected — they are never silently ignored.
When requesting new aliases for a built-in schema, open a schema/alias request with public evidence and precedence implications.