private Schema buildSchema(Shape shape, Schema.Builder builder) {
        JsonSchemaMapperContext context = new JsonSchemaMapperContext(model, shape, converter.getConfig());
        for (JsonSchemaMapper mapper : mappers) {
            builder = mapper.updateSchema(context, builder);
        }

        return builder.build();
    }
Builds a schema builder and applied schema mappers.

<p>Schema builders created in each visitor method should not build
themselves and instead should invoke this method to finalize the
builder.

@param shape Shape being converted.
@param builder Schema being built.
@return Returns the built schema.
smithy-jsonschema/src/main/java/software/amazon/smithy/jsonschema/JsonSchemaShapeVisitor.java