class AvroTypeUtil {

    public static RecordSchema createSchema(final Schema avroSchema) {
        if (avroSchema == null) {
            throw new IllegalArgumentException("Avro Schema cannot be null");
        }

        SchemaIdentifier identifier = new StandardSchemaIdentifier.Builder().name(avroSchema.getName()).build();
        return createSchema(avroSchema, avroSchema.toString(), identifier);
    }

}