In order to be approved for a grant under this article, the applicant district shall demonstrate that it has complied with all of the following:

(a) The school district has entered into a joint-use agreement with a governmental agency, public community college, public college or public university, or a nonprofit organization approved by the board.

(b) The joint-use agreement specifies the method of sharing capital and operating costs, specifies relative responsibilities for the operation and staffing of the facility, and specifies the manner in which the safety of the pupils will be ensured.

(c) The joint-use agreement specifies the amount of the contribution to be made by the school district and the joint-use partner toward the 50-percent local share of eligible project costs. The contribution made by a joint-use partner shall be no less than 25 percent of eligible project costs, unless the school district has passed a local bond which specifies that proceeds of sale of the bonds are to be used for the joint-use project, in which case the school district may opt to provide up to the full 50-percent local share of eligible costs.

(d) The school district demonstrates that the facility will be used to the maximum extent possible for both school and community purposes, or both school and higher education purposes, as applicable.

(e) (1) The project application qualifies for funding under paragraph (1) of subdivision (b) of Section 17077.40 and the school district has received all approvals necessary for apportionment under this chapter.

(2) The project qualifies for funding under paragraph (2) or (3) of subdivision (b) of Section 17077.40 and the school district has completed preliminary plans for the project and has received State Department of Education approval of the plans.