properties
Sets the schema properties directly.
Parameters
properties
JsonObject containing property schemas
Sets the schema properties using a DSL builder.
Example:
properties {
put("email", JsonObject(mapOf(
"type" to JsonPrimitive("string")
)))
}Content copied to clipboard
Parameters
block
Lambda for building the properties