pub use NcrtfDocument;
/// NCRTF format version supported by this release.
pub const NCRTF_VERSION: &str = "1.3.0";
use crate::;
/// Parse a JSON string as an NCRTF v1.0 document.
///
/// # Errors
///
/// Returns [`NormaxisPdfError::ParseError`] if the JSON is invalid or does not
/// conform to the NCRTF v1.0 schema.
///
/// # Example
///
/// ```rust
/// use normordis_pdf::parse_ncrtf;
///
/// let json = r#"{"ncrtf":"1.0","blocks":[]}"#;
/// let doc = parse_ncrtf(json).unwrap();
/// assert_eq!(doc.ncrtf, "1.0");
/// ```
/// Convert a parsed `NcrtfDocument` into renderable `normordis-pdf` elements.