Home

Duration Validator

This is a type used in Stencila Schema for validating Duration nodes.

It exists so document parameters and structured data can express constraints over durations in the same typed validator system used for other primitives. This is useful for execution settings, time limits, and data validation.

Key properties define minimum, maximum, and related duration constraints.

Properties

The DurationValidator type has these properties:

NameDescriptionTypeInherited from
timeUnitsThe time units that the duration can have.TimeUnit*-
minimumThe inclusive lower limit for a duration.Duration-
maximumThe inclusive upper limit for a duration.Duration-
idThe identifier for this item.StringEntity

Related

The DurationValidator type is related to these types:

Bindings

The DurationValidator type is represented in:


This documentation was generated from DurationValidator.yaml by docs_types.rs.

© 2026 Stencila