Skip to content

@camera.ui/sdk / storage / JsonBaseSchemaWithoutCallbacks

Interface: JsonBaseSchemaWithoutCallbacks<T>

Defined in: storage/index.ts:61

Base schema without callbacks, used for nested schemas. Extends factory schema with common display options.

Extends

Extended by

Type Parameters

T

T extends string | string[] | number | number[] | boolean | boolean[] = any

Properties

condition?

optional condition?: SchemaCondition | SchemaCondition[]

Defined in: storage/index.ts:73

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


defaultValue?

optional defaultValue?: T

Defined in: storage/index.ts:71

Default value when not set.


description

description: string

Defined in: storage/index.ts:52

Field description/help text.

Inherited from

JsonFactorySchema.description


group?

optional group?: string

Defined in: storage/index.ts:54

Optional group name for organizing fields.

Inherited from

JsonFactorySchema.group


hidden?

optional hidden?: boolean

Defined in: storage/index.ts:63

Hide field from UI.


key

key: string

Defined in: storage/index.ts:48

Unique field identifier.

Inherited from

JsonFactorySchema.key


placeholder?

optional placeholder?: string

Defined in: storage/index.ts:69

Placeholder text for empty fields.


readonly?

optional readonly?: boolean

Defined in: storage/index.ts:67

Make field read-only.


required?

optional required?: boolean

Defined in: storage/index.ts:65

Mark field as required.


title

title: string

Defined in: storage/index.ts:50

Display title.

Inherited from

JsonFactorySchema.title


type

type: JsonSchemaType

Defined in: storage/index.ts:46

Field type.

Inherited from

JsonFactorySchema.type