We should make sure that schemas is an object
`typeof schemas === "object"`