@traversable/schema
Preparing search index...
@traversable/schema-to-json-schema
JsonSchema
object
Interface object<T, KS>
interface
object
<
T
,
KS
extends
RequiredKeys
<
T
>
=
RequiredKeys
<
T
>
>
{
toJsonSchema
()
:
{
properties
:
{
[
K
in
string
|
number
|
symbol
]
:
Returns
<
T
[
K
]
[
"toJsonSchema"
&
keyof
T
[
K
]
]
>
}
;
required
:
{
[
I
in
string
|
number
|
symbol
]
:
KS
[
I
]
&
string
}
;
type
:
"object"
;
}
;
}
Type Parameters
T
KS
extends
RequiredKeys
<
T
>
=
RequiredKeys
<
T
>
Index
Methods
to
Json
Schema
Methods
to
Json
Schema
toJsonSchema
()
:
{
properties
:
{
[
K
in
string
|
number
|
symbol
]
:
Returns
<
T
[
K
]
[
"toJsonSchema"
&
keyof
T
[
K
]
]
>
}
;
required
:
{
[
I
in
string
|
number
|
symbol
]
:
KS
[
I
]
&
string
}
;
type
:
"object"
;
}
Returns
{
properties
:
{
[
K
in
string
|
number
|
symbol
]
:
Returns
<
T
[
K
]
[
"toJsonSchema"
&
keyof
T
[
K
]
]
,
>
}
;
required
:
{
[
I
in
string
|
number
|
symbol
]
:
KS
[
I
]
&
string
}
;
type
:
"object"
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
to
Json
Schema
@traversable/schema
Loading...