A record's definition (its fields, keys and entries), from <entity>.json.
Parameters
entity: string = ''
Returns Promise<any>
Throws
Record "<entity>" doesn't exist when it doesn't (in Node, checked before reading; in a browser,
where that can't be checked without reading, when the file can't be read).
A record's definition (its fields, keys and entries), from
<entity>.json.