Project

EarthSciAST

The EarthSciML Abstract Syntax Tree format: schema, operators, coupling, and five language bindings.

Contents

This is the documentation for the older version v0.15.1. For the latest release, see v0.17.0.

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 itself takes a TYPED document in every binding (API_SPEC.md §8 item 13).
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, non-unit warnings, and overall validation status.
schema_errorerrorRust, GoA schema validation error
schema_validation_errorerrorJulia, TypeScript, PythonA document that fails the ESM schema at load.
structural_errorerrorRust, GoA structural validation error

All topics