private fun validateField(value: JsonNode?, schema: String, name: String)

Validates a value for a templated field

Parameters

value

the new value for the templated field

schema

JSON schema of the templated field obtained from the associated Template

name

the name of the field

Throws

if the schema does not allow value