FIX code type

use the predefined `thingSchema` instead of `schemaSchema`
Merge pull request #2083 from artmees/patch-2

FIX code type