@camera.ui/sdk / storage / JsonSchemaEnumWithoutCallbacks
Interface: JsonSchemaEnumWithoutCallbacks
Defined in: storage/index.ts:220
Enum schema without callbacks (for nested use).
Extends
JsonBaseSchemaWithoutCallbacks<string|string[]>.JsonEnumSchema
Properties
condition?
optionalcondition?:SchemaCondition|SchemaCondition[]
Defined in: storage/index.ts:73
Condition for conditional field visibility. Array = all must be true (AND).
Inherited from
JsonBaseSchemaWithoutCallbacks.condition
defaultValue?
optionaldefaultValue?: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
enumLabels?
optionalenumLabels?:Record<string,string>
Defined in: storage/index.ts:153
Display labels per enum value; values without a label show the raw value.
Inherited from
group?
optionalgroup?:string
Defined in: storage/index.ts:54
Optional group name for organizing fields.
Inherited from
JsonBaseSchemaWithoutCallbacks.group
hidden?
optionalhidden?: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?
optionalminItems?:number
Defined in: storage/index.ts:157
Minimum number of selected values (multiple only).
Inherited from
multiple?
optionalmultiple?:boolean
Defined in: storage/index.ts:155
Allow multiple selection.
Inherited from
placeholder?
optionalplaceholder?:string
Defined in: storage/index.ts:69
Placeholder text for empty fields.
Inherited from
JsonBaseSchemaWithoutCallbacks.placeholder
readonly?
optionalreadonly?:boolean
Defined in: storage/index.ts:67
Make field read-only.
Inherited from
JsonBaseSchemaWithoutCallbacks.readonly
required?
optionalrequired?: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.