Skip to content

@camera.ui/sdk / storage / JsonBaseSchemaWithoutCallbacks

Interface: JsonBaseSchemaWithoutCallbacks<T>

Defined in: storage/index.ts:65

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:77

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


defaultValue?

optional defaultValue?: T

Defined in: storage/index.ts:75

Default value when not set


description

description: string

Defined in: storage/index.ts:56

Field description/help text

Inherited from

JsonFactorySchema.description


group?

optional group?: string

Defined in: storage/index.ts:58

Optional group name for organizing fields

Inherited from

JsonFactorySchema.group


hidden?

optional hidden?: boolean

Defined in: storage/index.ts:67

Hide field from UI


key

key: string

Defined in: storage/index.ts:52

Unique field identifier

Inherited from

JsonFactorySchema.key


placeholder?

optional placeholder?: string

Defined in: storage/index.ts:73

Placeholder text for empty fields


readonly?

optional readonly?: boolean

Defined in: storage/index.ts:71

Make field read-only


required?

optional required?: boolean

Defined in: storage/index.ts:69

Mark field as required


title

title: string

Defined in: storage/index.ts:54

Display title

Inherited from

JsonFactorySchema.title


type

type: JsonSchemaType

Defined in: storage/index.ts:50

Field type

Inherited from

JsonFactorySchema.type