namespace SabreTools.Data.Models.Metadata { /// /// Format-agnostic representation of metadata header data /// public class Header : DictionaryBase { #region Properties /// (none|split|merged|nonmerged|fullmerged|device|full) "split" public MergingFlag BiosMode { get; set; } /// (yes|no) "no" public bool? Debug { get; set; } public string? Description { get; set; } /// (none|split|merged|nonmerged|fullmerged|device|full) "split" public MergingFlag ForceMerging { get; set; } /// (obsolete|required|ignore) "obsolete" public NodumpFlag ForceNodump { get; set; } /// (zip|unzip) "zip" public PackingFlag ForcePacking { get; set; } /// (yes|no) "yes" public bool? ForceZipping { get; set; } /// (yes|no) "no" public bool? LockBiosMode { get; set; } /// (yes|no) "no" public bool? LockRomMode { get; set; } /// (yes|no) "no" public bool? LockSampleMode { get; set; } public string? Name { get; set; } /// (none|split|merged|nonmerged|fullmerged|device|full) "split" public MergingFlag RomMode { get; set; } /// (none|split|merged|nonmerged|fullmerged|device|full) "split" public MergingFlag SampleMode { get; set; } #endregion #region Keys /// string public const string AuthorKey = "author"; /// string public const string BuildKey = "build"; /// TODO: This needs an internal model OR mapping to fields /// CanOpen [NoFilter] public const string CanOpenKey = "canOpen"; /// string public const string CategoryKey = "category"; /// string public const string CommentKey = "comment"; /// string public const string DateKey = "date"; /// string public const string DatVersionKey = "datversion"; /// string public const string EmailKey = "email"; /// string public const string EmulatorVersionKey = "emulatorversion"; /// string, string[] public const string HeaderKey = "header"; /// string public const string HomepageKey = "homepage"; /// string public const string IdKey = "id"; /// TODO: This needs an internal model OR mapping to fields /// Search [NoFilter] public const string ImagesKey = "images"; /// string public const string ImFolderKey = "imFolder"; /// TODO: This needs an internal model OR mapping to fields /// Infos [NoFilter] public const string InfosKey = "infos"; /// string public const string MameConfigKey = "mameconfig"; /// TODO: This needs an internal model OR mapping to fields /// NewDat [NoFilter] public const string NewDatKey = "newDat"; /// string public const string NotesKey = "notes"; /// string public const string PluginKey = "plugin"; /// string public const string RefNameKey = "refname"; /// string public const string RomTitleKey = "romTitle"; /// string public const string RootDirKey = "rootdir"; /// string public const string SchemaLocationKey = "schemaLocation"; /// string public const string ScreenshotsHeightKey = "screenshotsHeight"; /// string public const string ScreenshotsWidthKey = "screenshotsWidth"; /// TODO: This needs an internal model OR mapping to fields /// Search [NoFilter] public const string SearchKey = "search"; /// string public const string SystemKey = "system"; /// string public const string TimestampKey = "timestamp"; /// string public const string TypeKey = "type"; /// string public const string UrlKey = "url"; /// string public const string VersionKey = "version"; #endregion } }