Lynx

Home > @lynx-js/genui-a2ui-prompt > JsonSchema

JsonSchema interface

Signature:

export declare interface JsonSchema

Properties

Property

Modifiers

Type

Description

additionalProperties?

unknown

(Optional)

description?

string

(Optional)

enum?

unknown

(Optional)

items?

JsonSchema

(Optional)

oneOf?

JsonSchema[]

(Optional)

properties?

Record<string, JsonSchema>

(Optional)

required?

string[]

(Optional)

type?

string

(Optional)

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.