isPropertyRequired
Checks if a property is required in the schema.
Return
true if the property is required, false otherwise
Parameters
schema
The schema definition
propertyName
The name of the property
Checks if a property is required in the schema.
true if the property is required, false otherwise
The schema definition
The name of the property