getProperty

fun getProperty(schema: JsonSchema, propertyName: String): PropertyDefinition?(source)

Gets the property definition for a given property name.

Return

The property definition, or null if not found

Parameters

schema

The schema definition

propertyName

The name of the property