Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (41 sloc) 592 Bytes
namespace schema;
enum POS:byte {
verb = 0,
noun,
adj,
pronoun,
adv,
prep,
conj,
intj,
prefix,
suffix,
particle
}
table Etymology {
id:ulong;
description:string;
usages:[Usage];
}
table Group {
id:ulong;
description:string;
definitions:[string];
}
table Usage {
id:ulong;
pos:string;
definitions:[string];
groups:[Group];
}
table Entry {
id:ulong;
term:string (key);
etymologies:[Etymology];
}
table Dictionary {
id:string;
name:string;
entries:[Entry];
}
root_type Dictionary;
You can’t perform that action at this time.