hasAllRequiredProperties

fun hasAllRequiredProperties(schema: JsonSchema, vararg propertyNames: String): Boolean(source)

Checks if all specified properties are required in the schema.

Return

true if all properties are required, false otherwise

Parameters

schema

The schema definition

propertyNames

The names of properties to check