Sha256: eff578cd119177212c56b6c27e49d2b15b23f54362f1ed2706b11f85496992f9
Contents?: true
Size: 975 Bytes
Versions: 1
Compression:
Stored size: 975 Bytes
Contents
@namespace("Switchboard") protocol Lawyer { /** The main class for this protocol */ record Lawyer { /** The primary key */ int id; /** Their name */ string firstname; string middlename; string lastname; /** Is the lawyer claimed? */ boolean claimed; /** id of claiming user **/ int claimed_by; /** Url to their full-size headshot photo */ string headshot_url; /** Avvo Rating (Scale of 1-10) */ float avvo_rating; /** Average client review score (Scale of 1-5) */ float aggregate_client_review_score; /** Number of reviews the average is based upon */ int client_review_count; /** List of specialties this lawyer practices */ array<int> specialty_ids; /** List of states this lawyer is licensed in */ array<string> licensed_states; } /** Look up many lawyers in bulk */ array<Lawyer> index(); /** Look up a single lawyer by id */ array<Lawyer> show(int id); }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
switchboard-contract-1.9.5 | contracts/3/source/lawyer.avdl |