There is not enough space in your courtyard, and so you want to arrange at least small beds?
Dont be upset! There is a cool idea of placing vertical beds on racks. Pots made of plastic bottles hang on the wall in even beds. And you will see this by watching this video.
The whole structure looks like this.
We make pots from plastic bottles and fill them with soil mixture. In the bottom of the pots we make several small holes.
Pots need to be hung in even rows on racks. Rows should be not only horizontal, but also vertical. Since when watering, excess moisture from the upper pots should fall into the lower pots.
This idea of vertical beds can have completely different ways of implementation. I think everyone will choose their own way to create vertical beds.