{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/carboncuretechnologies/main/json-schema/carboncuretechnologies-material-args-schema.json", "title": "MaterialArgs", "x-generated": "2026-10-07", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/carboncuretechnologies-openapi.json#/components/schemas/MaterialArgs", "type": "object", "properties": { "materialMappingId": { "type": [ "integer", "null" ], "format": "int32" }, "divisionId": { "type": "integer", "format": "int32" }, "divisionName": { "type": [ "string", "null" ] }, "isIngested": { "type": "boolean" }, "primaryMaterialType": { "$ref": "#/$defs/PrimaryMaterialType" }, "admixtureMaterialSubType": { "$ref": "#/$defs/AdmixtureMaterialSubType" }, "specificGravity": { "type": [ "number", "null" ], "format": "double" }, "supplierCompany": { "type": [ "string", "null" ] }, "supplierPlant": { "type": [ "string", "null" ] }, "cementSupplier": { "$ref": "#/$defs/CementSupplierArgs" }, "admixtureSolidsContentPercent": { "type": [ "number", "null" ], "format": "double" }, "aggregateManufacturing": { "$ref": "#/$defs/AggregateManufacturing" }, "aggregatePitId": { "type": [ "string", "null" ] }, "aggregateRockType": { "$ref": "#/$defs/AggregateRockType" }, "aggregateSize": { "$ref": "#/$defs/AggregateSize" }, "fiberManufacturing": { "$ref": "#/$defs/FiberManufacturing" }, "fiberSize": { "$ref": "#/$defs/FiberSize" }, "fiberDiameterMm": { "type": [ "number", "null" ], "format": "double" }, "fiberLengthMm": { "type": [ "number", "null" ], "format": "double" }, "flyAshLossOfIgnitionPercent": { "type": [ "number", "null" ], "format": "double" }, "silicaFumeGrade": { "$ref": "#/$defs/SilicaFumeGrade" }, "slagGrade": { "$ref": "#/$defs/SlagGrade" }, "slagProcessing": { "$ref": "#/$defs/SlagProcessing" }, "waterTemperature": { "$ref": "#/$defs/WaterTemperature" }, "modeOfTransportation": { "$ref": "#/$defs/TransportMode" }, "aliases": { "type": [ "array", "null" ], "items": { "type": "string" } }, "overrideSimilarCheck": { "type": "boolean", "description": "Used to skip the similar material check, since we do support similar materials\nits purpose is to warn the user that a similar material already exists." }, "currentPlantCompositions": { "type": [ "array", "null" ], "items": { "$ref": "#/$defs/CurrentPlantComposition" } }, "materialId": { "type": [ "integer", "null" ], "format": "int32" }, "materialType": { "$ref": "#/$defs/MaterialType" } }, "additionalProperties": false, "$defs": { "AdmixtureMaterialSubType": { "enum": [ "AirEntrainer", "Retarder", "SuperPlasticizer", "WaterReducer", "HighRangeWaterReducer", "MidRangeWaterReducer", "LowRangeWaterReducer", "ViscosityModifier", "HydrationStabilizer", "CorrosionInhibitor", "ShrinkageReducer", "Accelerator", "NonChlorideAccelerator", "ChlorideAccelerator", "AntiWashout", "Waterproofer" ], "type": "string" }, "AggregateManufacturing": { "enum": [ "Manufactured", "Natural" ], "type": "string" }, "AggregateRockType": { "enum": [ "Granite", "Limestone", "Silica" ], "type": "string" }, "AggregateSize": { "enum": [ "_1", "_2", "_3", "_357", "_4", "_467", "_5", "_56", "_57", "_6", "_67", "_7", "_8", "_89" ], "type": "string" }, "CementComponent": { "type": "object", "properties": { "materialId": { "type": [ "integer", "null" ], "format": "int32" }, "aliases": { "type": [ "array", "null" ], "items": { "type": "string" } }, "cementType": { "$ref": "#/$defs/CementType" }, "cementPlantName": { "type": [ "string", "null" ] }, "cementPercentage": { "type": "number", "format": "double" } }, "additionalProperties": false }, "CementSupplierArgs": { "type": "object", "properties": { "cementPlantId": { "type": "integer", "format": "int32" }, "plantName": { "type": [ "string", "null" ] }, "companyName": { "type": [ "string", "null" ] } }, "additionalProperties": false }, "CementType": { "enum": [ "CementTypeI", "CementTypeIS", "CementTypeIP", "CementTypeIL", "CementTypeII", "CementTypeI_II", "CementTypeI_IIMH", "CementTypeI_II_LA", "CementTypeIII", "CementTypeIV", "CementTypeII_V", "CementTypeN", "CementTypeS", "CementCemI", "CementCemII", "CementCemIII", "CementCemIV", "CementCemV", "CementCemVI", "CementBlendedHydraulic" ], "type": "string" }, "CurrentPlantComposition": { "type": "object", "properties": { "effectiveDate": { "type": "string", "format": "date" }, "cementComponents": { "type": [ "array", "null" ], "items": { "$ref": "#/$defs/CementComponent" } }, "plantId": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "FiberManufacturing": { "enum": [ "Natural", "Synthetic", "Steel", "Glass" ], "type": "string" }, "FiberSize": { "enum": [ "Micro", "Macro" ], "type": "string" }, "MaterialType": { "enum": [ "Cement", "CementTypeI", "CementTypeIS", "CementTypeIP", "CementTypeIL", "CementTypeII", "CementTypeI_II", "CementTypeI_IIMH", "CementTypeI_II_LA", "CementTypeIII", "CementTypeIV", "CementTypeII_V", "CementTypeN", "CementTypeS", "CementCemI", "CementCemII", "CementCemIII", "CementCemIV", "CementCemV", "CementCemVI", "CementBlendedHydraulic", "CoarseAggregate", "IntermediateAggregate", "FineAggregate", "Fiber", "FiberTypeI", "FiberTypeII", "FiberTypeIII", "FiberTypeIV", "Water", "CO2", "SCM", "Slag", "SlagFerrous", "SlagNonFerrous", "SlagFerroalloy", "FlyAsh", "FlyAshC", "FlyAshF", "FlyAshN", "SilicaFume", "ReclaimedWater", "Admixture", "AirEntrainer", "Retarder", "SuperPlasticizer", "WaterReducer", "HighRangeWaterReducer", "MidRangeWaterReducer", "LowRangeWaterReducer", "ViscosityModifier", "HydrationStabilizer", "CorrosionInhibitor", "ShrinkageReducer", "Accelerator", "NonChlorideAccelerator", "ChlorideAccelerator", "StrengthEnhancer", "AntiWashout", "Waterproofer", "Filler" ], "type": "string" }, "PrimaryMaterialType": { "enum": [ "Admixture", "Aggregate", "Cement", "CO2", "Fiber", "FlyAsh", "ReclaimedWater", "Slag", "SilicaFume", "SCM", "Water", "Filler" ], "type": "string" }, "SilicaFumeGrade": { "enum": [ "_85", "_90", "_92", "_95" ], "type": "string" }, "SlagGrade": { "enum": [ "_80", "_100", "_120" ], "type": "string" }, "SlagProcessing": { "enum": [ "Blast", "AirCooled", "BasicOxygen", "ElectricArc" ], "type": "string" }, "TransportMode": { "enum": [ "Truck", "Rail", "Barge", "Plane" ], "type": "string" }, "WaterTemperature": { "enum": [ "Hot", "Cold", "Ambient", "Ice" ], "type": "string" } } }