diff --git a/schemas/outfitting-README.md b/schemas/outfitting-README.md index f9a405c..0c57fbd 100644 --- a/schemas/outfitting-README.md +++ b/schemas/outfitting-README.md @@ -37,6 +37,8 @@ available items. This Schema is only concerned with the names, so the list you build will have only strings as its members, not including other information such as id, category, cost/BuyPrice, sku or stock. +Two arrays are provided, one for normal items, one for modules which are purchased using merc coins + ### Elisions Remove items whose availability depends on the Cmdr's status rather than on the station. Namely: diff --git a/schemas/outfitting-v2.0.json b/schemas/outfitting-v2.0.json index b3a0ad2..a782457 100644 --- a/schemas/outfitting-v2.0.json +++ b/schemas/outfitting-v2.0.json @@ -80,6 +80,19 @@ "description" : "Module symbolic name. e.g. Hpt_ChaffLauncher_Tiny, Int_Engine_Size3_Class5_Fast, Independant_Trader_Armour_Grade1, etc. Modules that depend on the Cmdr's purchases (e.g. bobbleheads, paintjobs) or rank (e.g. decals and PowerPlay faction-specific modules) should be omitted." } } + "mercmodules": { + "type" : "array", + "renamed" : "Items", + "minItems" : 1, + "uniqueItems" : true, + "items" : { + "type" : "string", + "minLength" : 1, + "pattern" : "(^Hpt_|^hpt_|^Int_|^int_|_Armour_|_armour_)", + "description" : "Only Items marked with a Non Zero BuyMercCoinsPrice field. Module symbolic name. e.g. Hpt_ChaffLauncher_Tiny, Int_Engine_Size3_Class5_Fast, Independant_Trader_Armour_Grade1, etc. Modules that depend on the Cmdr's purchases (e.g. bobbleheads, paintjobs) or rank (e.g. decals and PowerPlay faction-specific modules) should be omitted." + } + } + } } }