Skip to main content

Module validation

Module validation 

Source
Expand description

Structural and semantic validation for Redispatch 2.0 documents.

§Layers

  • Structural — verifies field constraints derivable from the XSD without cross-field context (identifier lengths, version range, timestamp offsets, participant ID format).
  • Semantic — cross-field rules from the BDEW AWT (e.g. an ACO document must contain at least one ActivationTimeSeries).

Modules§

semantic
Semantic validation — cross-field rules from the BDEW AWT.
structural
Structural validation — XSD-derivable constraints.

Structs§

ValidationResult
The combined result of validating a document.
ValidationWarning
A validation warning (non-fatal; document should still be processed).

Enums§

ValidationError
A validation error (document is non-conformant and must not be processed).

Functions§

validate
Validate a parsed Document, running both structural and semantic checks.
validate_structural
Validate the structural integrity of a specific document without a Document enum wrapper.