Section 98 of the Planning and Development Acts 2000-2006 provides that local authorities must allocate affordable housing in accordance with a scheme to be determined by the elected members. The legislation sets out those matters that must be included in any scheme and which the local authority have to consider when prioritising eligible persons for the allocation of affordable housing. These include, inter alia, the duration of eligible persons' residence in the area of the development plan, the distance between the affordable housing and the places of employment of eligible persons and any other matters which the authority considers appropriate or as may be prescribed by regulations.