# Schema

@Target(allowedTargets = [AnnotationTarget.FUNCTION, AnnotationTarget.VALUE_PARAMETER])
annotation class Schema(val name: String = "", val description: String = "", val optional: Boolean = false)

The annotation for binding the 'Schema' input.

## Properties

description
Link copied to clipboard
val description: String

Provides a human-readable description of the schema input, defaulting to an empty string.

name
Link copied to clipboard
val name: String

Specifies a custom name for the schema input, defaulting to an empty string.

optional
Link copied to clipboard
val optional: Boolean = false

Indicates whether the schema input is optional, defaulting to false.