def avroTypeToSchema(avroType):
    """Convert a titus.datatype.AvroType into an Avro schema.

    :type avroType: titus.datatype.AvroType
    :param avroType: AvroType object
    :rtype: avro.schema.Schema
    :return: schema object for the Avro library
    """
    return avroType.schema
