Skip to content

Commit 929a9ad

Browse files
mosofskyMichael Osofskypre-commit-ci[bot]
authored
Added abc-inventory-module-data-5.1.0.json schema (SchemaStore#4756)
* Added abc-inventory-module-data-5.1.0.json schema Highlights: - Tagging for Build & Receive transactions - New Change Attributes transaction Note: We never released abc-inventory-module-data-5.0.0.json because it was internal work. Migration: • Transaction migration: Added an empty tagIDs array to BUILD and RECEIVE transactions if missing • Inventory entry migration: Added an empty tagIDs array to inventory entries if missing • Collection migration: Added an empty ABCTags collection object to the inventory module data if missing Testing: - `node ./cli.js check` passed (manually confirmed that this command would, in fact, fail if, for example, a negative test case wasn't actually negative) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: Michael Osofsky <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 25dd26b commit 929a9ad

File tree

4 files changed

+1922
-2
lines changed

4 files changed

+1922
-2
lines changed

src/api/json/catalog.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,13 @@
142142
"name": "ABCInventoryModuleData",
143143
"description": "ABCInventoryModuleData defining the structure of ABCInventoryModuleData including Principal Data, inventory, and transaction data in ABC-Plan's Inventory Management Module",
144144
"fileMatch": ["abc-inventory-module-data-*.json"],
145-
"url": "https://json.schemastore.org/abc-inventory-module-data-4.0.0.json",
145+
"url": "https://json.schemastore.org/abc-inventory-module-data-5.1.0.json",
146146
"versions": {
147147
"1.0.0": "https://json.schemastore.org/abc-inventory-module-data-1.0.0.json",
148148
"2.0.0": "https://json.schemastore.org/abc-inventory-module-data-2.0.0.json",
149149
"3.0.0": "https://json.schemastore.org/abc-inventory-module-data-3.0.0.json",
150-
"4.0.0": "https://json.schemastore.org/abc-inventory-module-data-4.0.0.json"
150+
"4.0.0": "https://json.schemastore.org/abc-inventory-module-data-4.0.0.json",
151+
"5.1.0": "https://json.schemastore.org/abc-inventory-module-data-5.1.0.json"
151152
}
152153
},
153154
{
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"ABCInventoryEntries": {},
3+
"ABCLocations": {},
4+
"ABCMaterialCategories": {},
5+
"ABCMaterialNumbers": {},
6+
"ABCProducts": {},
7+
"ABCReasonCodes": {},
8+
"ABCTags": {},
9+
"ABCTransactions": [],
10+
"ABCVendors": {}
11+
}

0 commit comments

Comments
 (0)