github.com/confluentinc/confluent-kafka-go@v1.9.2/schemaregistry/test/avro/nested.avsc (about) 1 { 2 "type": "record", 3 "name": "NestedTestRecord", 4 "fields": [ 5 { 6 "name": "NumberField", 7 "type": 8 { 9 "type": "record", 10 "name": "NumberRecord", 11 "fields": [ 12 {"name": "IntField", "type": "int"}, 13 {"name": "LongField", "type": "long"}, 14 {"name": "FloatField", "type": "float"}, 15 {"name": "DoubleField", "type": "double"} 16 ] 17 } 18 }, 19 { 20 "name": "OtherField", 21 "type": 22 { 23 "type": "record", 24 "name": "NestedRecord", 25 "fields": [ 26 {"name": "StringField", "type": "string"}, 27 {"name": "BoolField", "type": "boolean"}, 28 {"name": "BytesField", "type": "bytes"} 29 ] 30 } 31 } 32 ] 33 }