Skip to content

@camera.ui/sdk / storage / JsonSchemaEnumWithoutCallbacks

Interface: JsonSchemaEnumWithoutCallbacks

Defined in: storage/index.ts:220

Enum schema without callbacks (for nested use).

Extends

Properties

condition?

optional condition?: SchemaCondition | SchemaCondition[]

Defined in: storage/index.ts:73

Condition for conditional field visibility. Array = all must be true (AND).

Inherited from

JsonBaseSchemaWithoutCallbacks.condition


defaultValue?

optional defaultValue?: string | string[]

Defined in: storage/index.ts:71

Default value when not set.

Inherited from

JsonBaseSchemaWithoutCallbacks.defaultValue


description

description: string

Defined in: storage/index.ts:52

Field description/help text.

Inherited from

JsonBaseSchemaWithoutCallbacks.description


enum

enum: string[]

Defined in: storage/index.ts:151

Available options.

Inherited from

JsonEnumSchema.enum


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.

Inherited from

JsonEnumSchema.enumLabels


group?

optional group?: string

Defined in: storage/index.ts:54

Optional group name for organizing fields.

Inherited from

JsonBaseSchemaWithoutCallbacks.group


hidden?

optional hidden?: boolean

Defined in: storage/index.ts:63

Hide field from UI.

Inherited from

JsonBaseSchemaWithoutCallbacks.hidden


key

key: string

Defined in: storage/index.ts:48

Unique field identifier.

Inherited from

JsonBaseSchemaWithoutCallbacks.key


minItems?

optional minItems?: number

Defined in: storage/index.ts:157

Minimum number of selected values (multiple only).

Inherited from

JsonEnumSchema.minItems


multiple?

optional multiple?: boolean

Defined in: storage/index.ts:155

Allow multiple selection.

Inherited from

JsonEnumSchema.multiple


placeholder?

optional placeholder?: string

Defined in: storage/index.ts:69

Placeholder text for empty fields.

Inherited from

JsonBaseSchemaWithoutCallbacks.placeholder


readonly?

optional readonly?: boolean

Defined in: storage/index.ts:67

Make field read-only.

Inherited from

JsonBaseSchemaWithoutCallbacks.readonly


required?

optional required?: boolean

Defined in: storage/index.ts:65

Mark field as required.

Inherited from

JsonBaseSchemaWithoutCallbacks.required


title

title: string

Defined in: storage/index.ts:50

Display title.

Inherited from

JsonBaseSchemaWithoutCallbacks.title


type

type: "string"

Defined in: storage/index.ts:221

Field type.

Overrides

JsonBaseSchemaWithoutCallbacks.type