'Converts the schema object into its AVRO specification representation.
Schema types that have names (records, enums, and fixed) must
be aware of not re-defining schemas that are already listed
in the parameter names.'

def to_json(self, names):

    raise Exception('Must    be    implemented    by    subclasses.')
