z_boolean: Create Boolean Schema

View source: R/schema.R

z_booleanR Documentation

Create Boolean Schema

Description

Create a JSON Schema for boolean type.

Usage

z_boolean(description = NULL, nullable = FALSE, default = NULL)

Arguments

description

Optional description of the field.

nullable

If TRUE, allows null values.

default

Optional default value.

Value

A list representing JSON Schema for boolean.

Examples

z_boolean(description = "Whether to include details")

aisdk documentation built on May 29, 2026, 9:07 a.m.