The idea is to create a function, that takes an object as parameter and returns each property with its type.
const robot = {
version: 16,
name: 'Cleaner 3000',
coords: [345, 12],
};
robotSchema(robot) // [['version', 'number'], ['name', 'string'], ['coords', 'object']]