Skip to content

@camera.ui/sdk / storage / JsonEnumSchema

Interface: JsonEnumSchema

Defined in: storage/index.ts:147

Enum/select schema options.

Extended by

Properties

enum

enum: string[]

Defined in: storage/index.ts:151

Available options.


enumLabels?

optional enumLabels?: Record<string, string>

Defined in: storage/index.ts:153

Display labels per enum value; values without a label show the raw value.


minItems?

optional minItems?: number

Defined in: storage/index.ts:157

Minimum number of selected values (multiple only).


multiple?

optional multiple?: boolean

Defined in: storage/index.ts:155

Allow multiple selection.


type

type: "string"

Defined in: storage/index.ts:149

Schema type discriminator.