trying to get a little extra usable space out of a small space to begin with is a worthwhile and fun little "puzzle" to play with, ain't it?
I've worked on/with fold down/up tables in boats....and for the sake of giving you even more options (always a good thing) I offer the following:
I like the shelves on the vertical, stationary, part of your project....except for the top shelf, they will only be accessible when the table is up...and then not very easily. If it was me I would consider dropping the hinge part of the idea and replacing it with a pocket on the floor that would keep the bottom of the table in place while travelling in the down position....and the top would be held in place by a keeper of some sort, like a window latch of bungy....
this would involve lifting the table up and dropping onto dowels/keepers of some sort when you set it up...but it is a small table... The result would be that you could access the stuff on the lower shelves my merely opening the latch/bungy and tilting the table away from the vertical to grab something on the shelves behind it.
it is hard to
paint a picture with words.. I hope I made sense....
I know what you mean by wanting to use the space where the table is....I used my table to make a large bed at the rear of my trailer....happy with the results, by accident I found that I really enjoyed the new area where the table was when the bed was made up...so I devised a way of storing my table upright against the forward bulkhead even when the rear bed was not in use/set up...
I really like the extra space while travelling, working on the inside of the trailer and while loading/unloading it before/after a trip....
good luck with your project...look forward to seeing it when it's done....