Skip to main content

Module schema

Module schema 

Source
Expand description

Typed parameter and output schemas with shared validation semantics.

Structs§

FieldSchema
A named field in a record schema.

Enums§

NumberKind
Accepted numeric kinds for a parameter.
ValueSchema
The schema of a single value.

Functions§

bound
Convenience: an unbounded finite bound value.
bound_endpoint
Extract a finite bound as a concrete endpoint, or None when unbounded.
exact_number_array
Convenience: an exact-number array schema.
expect_dimension
Extract a required dimension from a value, for unit-aware functions.
finite_scalar
Convenience: a finite scalar schema.
float64_array
Convenience: a finite float64 array schema.
integer
Convenience: a positive integer schema (validated by the function).