Skip to main content

validate_nanopub

Function validate_nanopub 

Source
pub fn validate_nanopub(jsonld: &str) -> Vec<String>
Expand description

Validate a JSON-LD export against nanopub structural expectations.

Returns a list of validation warnings. An empty list means the export passes all checks. This is not a full nanopub spec validator, but it catches the most common structural issues for interoperability.