adapt compute-schema-string