{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/carboncuretechnologies/json-schema/carboncuretechnologies-cement-plant-map-point-schema.json",
  "title": "CementPlantMapPoint",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/carboncuretechnologies-echo-api-openapi.yml#/components/schemas/CementPlantMapPoint",
  "type": "object",
  "properties": {
    "cementPlantId": {
      "type": "integer",
      "format": "int32"
    },
    "groupName": {
      "type": [
        "string",
        "null"
      ]
    },
    "companyName": {
      "type": [
        "string",
        "null"
      ]
    },
    "plantName": {
      "type": [
        "string",
        "null"
      ]
    },
    "latitude": {
      "type": "number",
      "format": "double"
    },
    "longitude": {
      "type": "number",
      "format": "double"
    },
    "state": {
      "type": [
        "string",
        "null"
      ]
    },
    "country": {
      "type": [
        "string",
        "null"
      ]
    },
    "cements": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/CementArgs"
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "CementArgs": {
      "type": "object",
      "properties": {
        "cementId": {
          "type": "integer",
          "format": "int32"
        },
        "cementType": {
          "$ref": "#/$defs/MaterialType"
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "score": {
          "type": [
            "number",
            "null"
          ],
          "format": "double"
        },
        "labResult": {
          "$ref": "#/$defs/LabResult"
        }
      },
      "additionalProperties": false
    },
    "LabResult": {
      "enum": [
        "NotTested",
        "Positive",
        "Negative"
      ],
      "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"
    }
  }
}