Sha256: 4f9e6e48c41059730919a72edf3971b3d88513b1538a35eb8e3880c4d49bae1f
Contents?: true
Size: 842 Bytes
Versions: 1
Compression:
Stored size: 842 Bytes
Contents
@namespace("Switchboard") protocol Lawyer { /** The main class for this protocol */ record Lawyer { /** The primary key */ int id; /** name */ string firstname; string middlename; string lastname; string suffix; /** Avvo Rating (Scale of 1-10) */ float avvo_rating; /** Number of reviews the average is based upon */ int client_review_count; /** Average client review score (Scale of 1-5) */ float aggregate_client_review_score; /** year licensed since **/ string licensed_since; /** List of specialties this lawyer practices */ array<string> specialties; } /** Look up many lawyers in bulk */ array<Lawyer> index(); /** Look up a single lawyer by id */ array<Lawyer> show(int id); /** Look up many lawyers in bulk */ array<Lawyer> search(); }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
switchboard-contract-1.9.5 | contracts/verify/source/lawyer.avdl |