koja
Toggle table of contents
0.4.8
common
Target filter
common
Switch theme
Search in API
Skip to content
koja
koja-runtime
/
sh.ondr.koja
/
Schema
/
ObjectSchema
Object
Schema
@
Serializable
@
SerialName
(
value
=
"object"
)
data
class
ObjectSchema
(
val
description
:
String
?
=
null
,
val
properties
:
Map
<
String
,
Schema
>
?
=
null
,
val
required
:
List
<
String
>
?
=
null
,
val
additionalProperties
:
JsonElement
?
=
null
)
:
Schema
Members
Members & Extensions
Constructors
Object
Schema
Link copied to clipboard
constructor
(
description
:
String
?
=
null
,
properties
:
Map
<
String
,
Schema
>
?
=
null
,
required
:
List
<
String
>
?
=
null
,
additionalProperties
:
JsonElement
?
=
null
)
Properties
additional
Properties
Link copied to clipboard
val
additionalProperties
:
JsonElement
?
description
Link copied to clipboard
open
override
val
description
:
String
?
properties
Link copied to clipboard
val
properties
:
Map
<
String
,
Schema
>
?
required
Link copied to clipboard
val
required
:
List
<
String
>
?
Functions
to
Json
Element
Link copied to clipboard
fun
Schema
.
toJsonElement
(
)
:
JsonElement
Converts this
Schema
instance into a
JsonElement
.