spark-json-schema
spark-json-schema copied to clipboard
Add support for object nullability expressed with "oneOf"
There are three different ways in JSON schema to say that a field is a nullable object. One of them is for example:
"myField1" : {
"oneOf": [
{
"type": "null"
},
{
"type": "object",
"properties": {
"prop" : {
"type" : "string"
}
}
}
]
}
This is currently not supported.