レキシコンの型定義

type Def = {
  "blitPath" : string,
  "url"? : Array<URL>
};

type LexicalRecord = {
  "description"? : string,
  "definition" : Array<Def>
};

type Lexicon = {
  [term: string] : LexicalRecord
};

テーブルなら:

create table description (
  term TEXT,
  description TEXT -- あれば一意的に決まる
);
create table definitions (
  term TEXT,
  blitPath TEXT, -- 複数あるかも知れない
  url TEXT -- NULLかも知れない
);