Fixed: schemas which dont have properties should not be assigned type definitions