I have a nested JSON structure as shown below. When I do avro.schema.Parse using python3 I get an error.
avro.schema.SchemaParseException: Unknown named schema 'record', known names:[data.info]
{"namespace" : "data",
"type": "record",
"name": "info",
"doc": "A list of strings.",
"fields": [
{"name": "DATE", "type": "string"},
{"name": "file", "type": "string"},
{"name": "info", "type": "record", "fields": [
{"name": "START_DATE", "type": "string"},
{"name": "END_DATE", "type": "string"},
{"name": "other", "type": "array", "items":"string"}]}
]
}