Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions src/api/json/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,16 @@
"name": "ABCSupplyPlan",
"description": "ABCSupplyPlan representing all the state for performing inventory optimization and expiry analysis in ABC-Plan MasterPlanner",
"fileMatch": ["abc-supply-plan-*.json"],
"url": "https://json.schemastore.org/abc-supply-plan-7.0.0.json",
"url": "https://json.schemastore.org/abc-supply-plan-8.0.0.json",
"versions": {
"1.0.0": "https://json.schemastore.org/abc-supply-plan-1.0.0.json",
"2.0.0": "https://json.schemastore.org/abc-supply-plan-2.0.0.json",
"3.0.0": "https://json.schemastore.org/abc-supply-plan-3.0.0.json",
"4.0.0": "https://json.schemastore.org/abc-supply-plan-4.0.0.json",
"5.0.0": "https://json.schemastore.org/abc-supply-plan-5.0.0.json",
"6.0.0": "https://json.schemastore.org/abc-supply-plan-6.0.0.json",
"7.0.0": "https://json.schemastore.org/abc-supply-plan-7.0.0.json"
"7.0.0": "https://json.schemastore.org/abc-supply-plan-7.0.0.json",
"8.0.0": "https://json.schemastore.org/abc-supply-plan-8.0.0.json"
}
},
{
Expand Down Expand Up @@ -2690,7 +2691,11 @@
".golangci.toml",
".golangci.json"
],
"url": "https://golangci-lint.run/jsonschema/golangci.jsonschema.json"
"url": "https://golangci-lint.run/jsonschema/golangci.jsonschema.json",
"versions": {
"1": "https://golangci-lint.run/jsonschema/golangci.v1.jsonschema.json",
"2": "https://golangci-lint.run/jsonschema/golangci.v2.jsonschema.json"
}
},
{
"name": "Golangci-lint Custom Plugins Configuration",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"abcMaterialsMap": {},
"analytics": {
"items": [],
"layouts": []
},
"planDate": "2020-03-01",
"planNotes": "{\"blocks\":[{\"key\":\"8o58p\",\"text\":\"Plan for March 2020\",\"type\":\"unstyled\",\"depth\":0,\"inlineStyleRanges\":[],\"entityRanges\":[],\"data\":{}}],\"entityMap\":{}}",
"recipeMap": {}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "https://json.schemastore.org/abc-supply-plan-8.0.0.json",
"abcMaterialsMap": {},
"analytics": {
"items": [],
"layouts": []
},
"planDate": "2020-03-01",
"planNotes": "{\"blocks\":[{\"key\":\"8o58p\",\"text\":\"Plan for March 2020\",\"type\":\"unstyled\",\"depth\":0,\"inlineStyleRanges\":[],\"entityRanges\":[],\"data\":{}}],\"entityMap\":{}}",
"recipeMap": {},
"this_is_an_invalid_property": {
"this_is_an_invalid_object_property": "this_is_an_invalid_object_value"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
{
"$schema": "https://json.schemastore.org/abc-supply-plan-8.0.0.json",
"abcMaterialsMap": {
"1": {
"abcMaterialName": "FDP",
"actuals": {},
"currency": "USD",
"decimalPrecision": 0,
"demand": {
"2020-07-01": 100,
"2020-08-01": 125,
"2020-09-01": 150,
"2020-10-01": 175,
"2020-11-01": 200,
"2020-12-01": 110,
"2021-01-01": 140,
"2021-02-01": 130,
"2021-03-01": 205,
"2021-04-01": 210
},
"doExpiryCarryover": false,
"expiryAdjustments": {
"2020-07-01": 0,
"2020-08-01": 0,
"2020-09-01": 0,
"2020-10-01": 0,
"2020-11-01": 0,
"2020-12-01": 0,
"2021-01-01": 0,
"2021-02-01": 0,
"2021-03-01": 0,
"2021-04-01": 0
},
"expiryAnalysisType": "Expiration",
"firmOrders": [
{
"expirationDate": "2020-11-30",
"firmOrderName": "May Order",
"firmOrderQuantity": 105,
"manufactureDate": "2020-05-01",
"releaseDate": "2020-07-01"
},
{
"expirationDate": "2020-12-31",
"firmOrderName": "June Order",
"firmOrderQuantity": 103,
"manufactureDate": "2020-06-01",
"releaseDate": "2020-08-01"
},
{
"expirationDate": "2021-01-31",
"firmOrderName": "July Order",
"firmOrderQuantity": 200,
"manufactureDate": "2020-07-01",
"releaseDate": "2020-09-01"
},
{
"expirationDate": "2021-02-28",
"firmOrderName": "August Order",
"firmOrderQuantity": 100,
"manufactureDate": "2020-08-01",
"releaseDate": "2020-10-01"
},
{
"expirationDate": "2021-03-31",
"firmOrderName": "September Order",
"firmOrderQuantity": 100,
"manufactureDate": "2020-09-01",
"releaseDate": "2020-11-01"
}
],
"firmingPeriod": 3,
"initialInventories": [
{
"expirationDate": "2020-09-30",
"initialInventoryQuantity": 109,
"lotNumber": "Lot C4R1",
"manufactureDate": "2020-03-01"
},
{
"expirationDate": "2020-10-31",
"initialInventoryQuantity": 98,
"lotNumber": "Lot C4R2",
"manufactureDate": "2020-04-01"
},
{
"expirationDate": "2020-10-31",
"initialInventoryQuantity": 93,
"lotNumber": "Lot C4R3",
"manufactureDate": "2020-04-01"
}
],
"inventoryMethod": "TargetMFC",
"inventorySystemLocationName": null,
"inventorySystemMaterialNumber": null,
"isCapacityConstraintNode": false,
"leadTime": 2,
"lotSize": 100.8,
"materialColor": "#3D85C6",
"materialShape": "circle",
"minimumInventories": [
{
"endDate": null,
"startDate": null,
"timeDependentValue": 0
}
],
"ordering": 0,
"otherDemand": {
"2020-07-01": 0,
"2020-08-01": 0,
"2020-09-01": 0,
"2020-10-01": 0,
"2020-11-01": 0,
"2020-12-01": 0,
"2021-01-01": 0,
"2021-02-01": 0,
"2021-03-01": 0,
"2021-04-01": 0
},
"otherDemandAnnotation": {},
"plannedOrders": {
"2020-10-01": 500,
"2020-11-01": 200
},
"planningFrequencies": [
{
"endDate": null,
"startDate": null,
"timeDependentValue": 1
}
],
"shelfLives": [
{
"endDate": null,
"startDate": null,
"timeDependentValue": 6
}
],
"showQuantitiesAs": "Units",
"stopshipBuffers": [
{
"endDate": null,
"startDate": null,
"timeDependentValue": 0
}
],
"targetMFCs": [
{
"endDate": null,
"startDate": null,
"timeDependentValue": 3
}
],
"timeAggregateType": "Monthly",
"timeDependentPlanningParameters": false,
"unitCost": 0,
"uom": "bottle",
"x": 258,
"y": 75
}
},
"analytics": {
"items": [],
"layouts": []
},
"planDate": "2020-07-01",
"planNotes": "{\"blocks\":[{\"key\":\"d4m4a\",\"text\":\"`July 2020 base plan`\",\"type\":\"unstyled\",\"depth\":0,\"inlineStyleRanges\":[],\"entityRanges\":[],\"data\":{}}],\"entityMap\":{}}",
"recipeMap": {}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://json.schemastore.org/abc-supply-plan-8.0.0.json",
"abcMaterialsMap": {},
"analytics": {
"items": [],
"layouts": []
},
"planDate": 1715443874,
"planNotes": "{\"blocks\":[{\"key\":\"d4m4a\",\"text\":\"`July 2020 base plan`\",\"type\":\"unstyled\",\"depth\":0,\"inlineStyleRanges\":[],\"entityRanges\":[],\"data\":{}}],\"entityMap\":{}}",
"recipeMap": {}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
{
"$schema": "https://json.schemastore.org/abc-supply-plan-8.0.0.json",
"abcMaterialsMap": {
"1": {
"abcMaterialName": 1,
"actuals": {},
"currency": "USD",
"decimalPrecision": 0,
"demand": {
"2020-07-01": 100,
"2020-08-01": 125,
"2020-09-01": 150,
"2020-10-01": 175,
"2020-11-01": 200,
"2020-12-01": 110,
"2021-01-01": 140,
"2021-02-01": 130,
"2021-03-01": 205,
"2021-04-01": 210
},
"doExpiryCarryover": false,
"expiryAdjustments": {
"2020-07-01": 0,
"2020-08-01": 0,
"2020-09-01": 0,
"2020-10-01": 0,
"2020-11-01": 0,
"2020-12-01": 0,
"2021-01-01": 0,
"2021-02-01": 0,
"2021-03-01": 0,
"2021-04-01": 0
},
"expiryAnalysisType": "Expiration",
"firmOrders": [
{
"expirationDate": "2020-11-30",
"firmOrderName": 1,
"firmOrderQuantity": 105,
"manufactureDate": "2020-05-01",
"releaseDate": "2020-07-01"
}
],
"firmingPeriod": 3,
"initialInventories": [
{
"expirationDate": "2020-09-30",
"initialInventoryQuantity": 109,
"lotNumber": 1,
"manufactureDate": "2020-03-01"
}
],
"inventoryMethod": "TargetMFC",
"inventorySystemLocationName": null,
"inventorySystemMaterialNumber": null,
"isCapacityConstraintNode": false,
"leadTime": 2,
"lotSize": 100,
"materialColor": "#3D85C6",
"materialShape": "circle",
"minimumInventories": [
{
"endDate": null,
"startDate": null,
"timeDependentValue": 0
}
],
"ordering": 0,
"otherDemand": {
"2020-07-01": 0,
"2020-08-01": 0,
"2020-09-01": 0,
"2020-10-01": 0,
"2020-11-01": 0,
"2020-12-01": 0,
"2021-01-01": 0,
"2021-02-01": 0,
"2021-03-01": 0,
"2021-04-01": 0
},
"otherDemandAnnotation": {},
"plannedOrders": {
"2020-10-01": 500,
"2020-11-01": 200
},
"planningFrequencies": [
{
"endDate": null,
"startDate": null,
"timeDependentValue": 1
}
],
"shelfLives": [
{
"endDate": null,
"startDate": null,
"timeDependentValue": 6
}
],
"showQuantitiesAs": "Units",
"stopshipBuffers": [
{
"endDate": null,
"startDate": null,
"timeDependentValue": 0
}
],
"targetMFCs": [
{
"endDate": null,
"startDate": null,
"timeDependentValue": 3
}
],
"timeAggregateType": "Monthly",
"timeDependentPlanningParameters": false,
"unitCost": 0,
"uom": "bottle",
"x": 258,
"y": 75
}
},
"analytics": {
"items": [],
"layouts": []
},
"planDate": "2020-07-01",
"planNotes": "{\"blocks\":[{\"key\":\"d4m4a\",\"text\":\"`July 2020 base plan`\",\"type\":\"unstyled\",\"depth\":0,\"inlineStyleRanges\":[],\"entityRanges\":[],\"data\":{}}],\"entityMap\":{}}",
"recipeMap": {}
}
20 changes: 20 additions & 0 deletions src/schema-validation.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,26 @@
"abcIsExpirationDateOnOrAfterReleaseDate"
]
},
"abc-supply-plan-8.0.0.json": {
"unknownFormat": ["abc-draft-js_RawDraftContentState"],
"unknownKeywords": [
"abcIsFirstDayOfMonth",
"abcIsLastDayOfMonth",
"abcIsAfter0001-01-01",
"abcIsBefore9999-12-31",
"abcDoMaterialIDsExist",
"abcIsAcyclic",
"abcAreAllocationMethodsHomogeneous",
"abcIsValidColor",
"abcNoDuplicateValuesForOrderingProperty",
"abcHasNonOverlappingTimeDependentValues",
"abcHasUninterruptedTimeDependentValues",
"abcIsExpirationDateOnOrAfterManufactureDate",
"abcIsReleaseDateOnOrAfterPlanDate",
"abcIsReleaseDateOnOrAfterManufactureDate",
"abcIsExpirationDateOnOrAfterReleaseDate"
]
},
"anywork-ac-1.0.json": {
"externalSchema": ["base.json"]
},
Expand Down
Loading