BooleanPropertyBuilder
Builder for BooleanPropertyDefinition.
Configures boolean-type properties with default and constant values. Supports automatic type conversion for boolean values.
This class is part of the JSON Schema DSL and cannot be instantiated directly. Use PropertyBuilder.boolean instead within the DSL context.
Boolean Property with Default
property("enabled") {
boolean {
description = "Feature enabled"
default = true
}
}Content copied to clipboard