Hi Team,
We have to validate transformed dataframe output schema with json schema config file.
Here is the scenario
Our input json schema and target json schema are different. Using Databricks we are doing the required schema changes. Now, we need to validate final dataframe schema against target JSON schema config file.
Note : JSON schema is very complex (it contains upto 7 level differences between input and output)
We tried with few python libraries but all are working fine for simple schemas without any issues.
We are looking for an approach like if we have any way to convert complex JSON schema config to sample json data (i.e target json schema config) so we can easily validate against final dataframe schema.
Thank you