SB-8285 API: Fix error in schema-check, it should not allow arrays as root objects, when an object is expected.