libraryDependencies += "org.zalando" %% "spark-json-schema" % "0.6.1"
df.withColumn("jsonSchema",schema_of_json(df.select(col("value")).first.getString(0)))