BooleanElement: LookupFormElement & FormElementRequired & FormElementReadOnly & {
    defaultValue: boolean;
    displayAsCheckbox?: boolean;
    type: "boolean";
}

An element to allow the user to choose yes or no.

The element must have an id property that contains a universally unique identifier (UUID). The identifier must be a Version 4 (V4) UUID and must conform to the formatting requirements defined in this RFC 9562 specification: https://www.rfc-editor.org/rfc/rfc9562.html