ratings schema