public MainRecordDef(DefinitionManager manager, JObject src) : base(manager, src) { ErrorHelpers.CheckDefProperty(src, "signature"); _signature = src.Value <string>("signature"); headerDef = BuildHeaderDef(src.Value <JObject>("flags")); containedInDef = (FormIdDef)JsonHelpers.Def(manager, src, "containedInElement"); }