@namespace("Switchboard") protocol Review { /** Each individual rating type */ record ReviewRatings { int overall; int trustworthy; int responsive; int knowledgeable; int communication; } /** The main class for this protocol */ record Review { /** The primary key */ int id; /** The lawyer's id */ int lawyer_id; /** Title of the Review */ string title; /** The body text of the review */ string body; boolean recommended; int specialty_id; boolean anonymous; int approval_status; string display_name; int created_at; int updated_at; string cache_key; ReviewRatings ratings; } /** Look up many reviews in bulk */ array index(); }