1interface RootObject {
2 title: Title;
3 year: Year;
4 author: Author;
5}
6interface Title {
7 type: string;
8 trim: boolean;
9 index: boolean;
10 required: boolean;
11}
12interface Year {
13 type: string;
14 max: number;
15 validate: string;
16}
17interface Author {
18 type: string;
19 ref: string;
20 index: boolean;
21 required: boolean;
22}
23