Field definition discovery.

Add some way to describe the field definitions to the API clients.
Lets avoid the word entity in the output. Maybe "The label of the resource"?