@oimlsmart/cnml-xsd
v1.1.0
Published
XML Schema Definition (XSD) for the CNML certificate format
Readme
@oimlsmart/cnml-xsd
W3C XML Schema Definition (XSD) for CNML 1.0.
Files
src/cnml-1.0.xsd— the schema. Covers core CNML elements, UnitsML elements, and XMLDSig payload.
Usage
Import the schema text directly:
import xsd from "@oimlsmart/cnml-xsd";
// xsd is the XSD source as a string (with @rollup/plugin-yaml or a raw loader)Or for offline validation:
xmllint --schema packages/cnml-xsd/src/cnml-1.0.xsd --noout file.cnml.xmlScope
The schema covers core CNML elements, UnitsML elements, and the XMLDSig payload for signed certificates.
