Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "type" : "record",
- "name" : "master",
- "fields" : [{
- "name" : "FOO",
- "type" : ["null", {
- "type" : "map",
- "values" : {
- "type" : "record",
- "name" : "foo",
- "fields" : [{
- "name" : "config",
- "type" : {
- "name" : "configData",
- "type" : "record",
- "fields" : [{
- "name" : "foo1",
- "type" : ["string", "null"]
- }, {
- "name" : "foo2",
- "type" : ["string", "null"]
- }, {
- "name" : "foo3",
- "type" : ["string", "null"]
- }
- ]
- }
- }, {
- "name" : "status",
- "type" : {
- "name" : "statusData",
- "type" : "record",
- "fields" : [{
- "name" : "foo4",
- "type" : ["long", "null"]
- }
- ]
- }
- }, {
- "name" : "meta",
- "type" : {
- "name" : "metaData",
- "type" : "record",
- "fields" : [{
- "name" : "crc",
- "type" : "string"
- }, {
- "name" : "foo6",
- "type" : "long",
- "default" : "0"
- }, {
- "name" : "foo7",
- "type" : ["string", "null"]
- }, {
- "name" : "foo8",
- "type" : ["string", "null"]
- }
- ]
- }
- }
- ]
- }
- }
- ]
- }, {
- "name" : "BAR",
- "type" : ["null", {
- "type" : "map",
- "values" : {
- "type" : "record",
- "name" : "bar",
- "fields" : [{
- "name" : "config",
- "type" : {
- "name" : "configData",
- "type" : "record",
- "fields" : [{
- "name" : "bafr1",
- "type" : ["double", "null"]
- }, {
- "name" : "bar2",
- "type" : "long"
- }, {
- "name" : "bar3",
- "type" : ["string", "null"]
- }, {
- "name" : "bar4",
- "type" : ["string", "null"]
- }
- ]
- }
- }, {
- "name" : "meta",
- "type" : {
- "name" : "metaData",
- "type" : "record",
- "fields" : [{
- "name" : "bar5",
- "type" : "string"
- }, {
- "name" : "bar6",
- "type" : "long",
- "default" : "0"
- }, {
- "name" : "bar7",
- "type" : ["string", "null"]
- }, {
- "name" : "bar8",
- "type" : ["string", "null"]
- }
- ]
- }
- }
- ]
- }
- }
- ]
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement