Version: dev

Validation

Checking a document against the schema and the structural rules of the specification, and reading the errors that result.

OperationKindBindingsSummary
validatefunctionJulia, TypeScript, Python, Rust, GoComplete validation combining schema, structural, and unit validation.
validate_pathfunctionJulia, PythonValidate the document at path, INCLUDING the failures that happen while loading it.
validate_schemafunctionJulia, TypeScriptValidate data (a native JSON tree of Dict/Vector/scalars) against the ESM schema.
validate_structuralfunctionJulia, GoValidate structural consistency of ESM file according to spec Section 3.2.
validate_textfunctionJulia, TypeScript, Python, Rust, GoValidate an ESM document held as JSON text, INCLUDING the failures that happen while loading it.
schema_errortypeJulia, TypeScriptRepresents a validation error with detailed information.
validation_errortypeTypeScript, PythonValidation error with structured details
validation_resulttypeJulia, TypeScript, Python, Rust, GoCombined validation result containing schema errors, structural errors, unit warnings, and overall validation status.
schema_errorerrorRust, GoA schema validation error
schema_validation_errorerrorJulia, TypeScript, PythonException thrown when schema validation fails.
structural_errorerrorRust, GoA structural validation error

All topics