{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/carboncuretechnologies/json-schema/carboncuretechnologies-my-data-material-sources-table-schema.json",
  "title": "MyDataMaterialSourcesTable",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/carboncuretechnologies-mycc-mydata-api-openapi.yml#/components/schemas/MyDataMaterialSourcesTable",
  "type": "object",
  "properties": {
    "plantId": {
      "type": "integer",
      "format": "int32"
    },
    "plantName": {
      "type": [
        "string",
        "null"
      ]
    },
    "cO2SupplierName": {
      "type": [
        "string",
        "null"
      ]
    },
    "cementSources": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/MyDataCementSource"
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "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"
    },
    "MyDataCementSource": {
      "type": "object",
      "properties": {
        "cementPlantId": {
          "type": "integer",
          "format": "int32"
        },
        "cementPlantName": {
          "type": [
            "string",
            "null"
          ]
        },
        "cementName": {
          "type": [
            "string",
            "null"
          ]
        },
        "cementType": {
          "$ref": "#/$defs/CementType"
        },
        "cementPercentage": {
          "type": "number",
          "format": "double"
        }
      },
      "additionalProperties": false
    }
  }
}