FIX code type

use the predefined `thingSchema` instead of `schemaSchema`