flow2schema/tests/samples/unions.json

51 lines
1.2 KiB
JSON

{
"schemas": [
{
"type": "record",
"name": "Type",
"namespace": "unions",
"fields": [
{
"name": "a",
"type": ["string", "double"]
},
{
"name": "b",
"type": ["null", "string"]
}
]
},
{
"type": "record",
"name": "Interface",
"namespace": "unions",
"fields": [
{
"name": "a",
"type": ["string", "double"]
},
{
"name": "b",
"type": ["null", "string"]
}
]
},
{
"type": "record",
"name": "Class",
"namespace": "unions",
"fields": [
{
"name": "a",
"type": ["string", "double"]
},
{
"name": "b",
"type": ["null", "string"]
}
]
}
],
"taskCount": 5
}