New entity schema and documentation code [MRB]