pub fn parse_catalog(json: &str) -> Result<Catalog, Error>
Parse a catalog from a JSON string.
Returns an error if the string is not valid JSON or does not match the catalog schema.