Validate a taxa.json against the package's JSON schema
Source: R/catalog_taxa.R
validate_taxa_catalog.RdThe schema is inst/schema/taxa.schema.json (draft-07). Uses jsonvalidate
when installed; otherwise a structural check of the required top-level and
per-taxon keys, which is what the tests can always run.
Usage
validate_taxa_catalog(
x,
schema = system.file("schema", "taxa.schema.json", package = "calcofi4db"),
verbose = TRUE
)