Safe for sleeping?

Hi, FTM here with a dumb question. My husband and I plan on having baby in our room before we transition to a crib. Is a product like this OKAY for long periods of sleep like a bassinet?

Someone said something about making sure it’s sleeper rated, how do I do that?