Skip to main content

object

Function object 

Source
pub fn object(properties: Value, required: &[&str]) -> Value
Expand description

Top-level config schema with properties and required. The schema is closed (additionalProperties: false): workflow validation reports any other key as an unknown field. Builder metadata belongs in x- keys, which are stripped before configs are checked. Use open_object for configs that legitimately take arbitrary keys.