A strict new code of conduct for workers at the Edinburgh Festival guarantees them a living wage, rest breaks and protection from harassment.

All workers at the capital's festival will be paid a wage of at least £7.83 an hour alongside other benefits.

A ban on unpaid trial shifts and the use of "tips" to either replace or top up wages is also demanded in new guidelines, which are intended to set a "minimum standard" for the treatment of staff.

The code of conduct has been published in the wake of growing concern about the exploitation of staff working at some of Edinburgh's biggest events.

This code comes after talks between union representatives and event organisers who feel this initiative will protect the reputation of Edinburgh.

Council chiefs hope the new guidelines, which will be enshrined in an Edinburgh Festivals Workers' Welfare Commitment, will help set "high standards" for the treatment of staff and promote a "responsible and credible worker environment".

Chief executive of Edinburgh City Council, Andrew Kerr, said: "We have a reputation as the world's leading festival city.

"It is a dynamic city which makes a vital contribution to the community and economy of Scotland and we want to set high standards for those festival workers who support the city.

"The objective of this commitment is to promote a responsible and credible festival worker environment for Edinburgh, while encouraging all festival organisations to work in partnership with trade union colleagues.

"Our commitment sets out what we as a council expect for festival workers and where we would like others to follow.

"The council has a clear vision for festival workers in Edinburgh and we want to make sure that fair work practices are adopted and complied with.

"We call upon those engaging our festival workers in Edinburgh to follow the worker commitments."

The council's new guidelines have been inspired by a Fair Hospitality Charter drawn up by the Unite trade union.

The authority has not set out sanctions which will be enforced in the face of any of the guidelines being ignored.

However, they could potentially affect event organisers or promoters applying to hire a venue, secure an entertainment licence or seek funding.