pub fn validate_package<S: AsRef<str>>(
pkg: &Value,
catalog_ids: &[S],
) -> Vec<PackageIssue>Expand description
Every problem with a package, each with a JSON pointer into it.
catalog_ids = the supported ids (default: supported_catalog_ids of
none). A declared extension only has to be in catalog_ids
(validate_package_with checks versions and components too).