@camera.ui/sdk / storage / JsonStringSchema
Interface: JsonStringSchema
Defined in: storage/index.ts:117
String-specific schema options.
Use format to render the value with a specialized UI control:
'date-time': ISO 8601 date+time picker.'date': date-only picker.'time': time-only picker.'email': email input with format validation.'uuid': UUID input with format validation.'ipv4': IPv4 address input.'ipv6': IPv6 address input.'password': masked input that hides characters.'textarea': multi-line text area for longer free text.'qrCode': value is rendered as a QR code (read-only display).'image': value is a data URL or path; rendered as a thumbnail.
Extended by
Properties
format?
optionalformat?:"date-time"|"date"|"time"|"email"|"uuid"|"ipv4"|"ipv6"|"password"|"textarea"|"qrCode"|"image"
Defined in: storage/index.ts:121
String format for validation/display. See type docs for behavior per format.
maxLength?
optionalmaxLength?:number
Defined in: storage/index.ts:125
Maximum string length (inclusive).
minLength?
optionalminLength?:number
Defined in: storage/index.ts:123
Minimum string length (inclusive).
type
type:
"string"
Defined in: storage/index.ts:119
Schema type discriminator.