I got caught shoplifting are my parents right to punish me by giving me a taste of prison life?

I got caught stealing a small bottle of vodka from our local shop, because the shopkeeper knows my parents he called them instead of the police, now I am being punished BIG time, my parents said they don't want me to go to jail, so are giving me a taste of prison life, they said thieves get locked up and punished.
I am now on a weeks holiday from school, and my parents have confined me to the spare bedroom ( LOCKED IN ) for the entire week it has just a bed and a desk and chair in it, it is VERY small and I am locked in, I have to eat in my room, and get permission to use the bathroom, where I have to wait for my door to be unlocked then escorted there and back, I get half an hours exercise in the garden each day then I am locked back in for the rest of the day
LIGHTS OUT at 9pm,
each day I am set schoolwork to do essays lines etc,
so far I have served 2 days of prison and I still have another 7 days to go its HURTING and I don't like this punishment
DO YOU AGREE WITH MY PARENTS OR AM I BEING PUNISHED TO HARSHLEY?
Updates
+1 y
can you belive my friend has just came to my house to give me an invitation to her pool party next Saturday, my parents said i was allowed a visitor like in real prison, they let me out of my room for half an hour to chat with her, can you imagine how i felt when my parents told her i won't be going, i was then escorted back to my room then hearing the door SLAMMING shut then the key turning in the lock ( CLICK ) now do you have sympathy?
Updates
+1 y
yesterday and Thursday my cousins came over to stay so my parents let me out of my room because they didn't think it was right to keep me locked in while we had guests, so I had 2 days of freedom, I am now locked back in my room and I will have to stay here until Monday morning, I am BORED , MISREABLE and totally FED UP, the pool party is this evening and I am locked up, the weather outside is hot and sunny, do you think my punishment is too harsh? opinions please?
I got caught shoplifting are my parents right to punish me by giving me a taste of prison life?
Post Opinion