fun validateProperty(key: String, validator: PropertyValidator<Any>): SchemaBuilder (source)
Add a property validation to this schema.
Multiple validators can be provided for the same key by invoking this method multiple times.
key - The configuration property key.
validator - A validator for the property.
IllegalArgumentException - If the key cannot be parsed.
Return
This builder.