ObjectSchema

@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

Constructors

Link copied to clipboard
constructor(description: String? = null, properties: Map<String, Schema>? = null, required: List<String>? = null, additionalProperties: JsonElement? = null)

Properties

Link copied to clipboard
val additionalProperties: JsonElement?
Link copied to clipboard
open override val description: String?
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun Schema.toJsonElement(): JsonElement

Converts this Schema instance into a JsonElement.