API: Corrected so type use new scheme.sql