maximum

Field-level UDA declaring a numeric upper bound (the JSON Schema maximum keyword) for a struct field. See @minimum for usage; a field annotated with @maximum(v) emits "maximum": v on its property schema.

@safe
struct maximum {}

Members

Variables

value
double value;

the inclusive upper bound emitted as JSON Schema maximum