Consider the following Avro Schema:
and corresponding JSON data adhering to the schema:
ValidateRecord marks the record as invalid though it should be valid. The message in the provenance event is "Record #1 is invalid due to:
] is not a valid value for /field1: Value is of type org.apache.nifi.serialization.record.MapRecord but was expected to be of type MAP[STRING]".