{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/carboncuretechnologies/json-schema/carboncuretechnologies-estimate-args-schema.json",
  "title": "EstimateArgs",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/carboncuretechnologies-mycc-estimates-api-openapi.yml#/components/schemas/EstimateArgs",
  "type": "object",
  "properties": {
    "myCCEstimateId": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "company": {
      "type": [
        "string",
        "null"
      ]
    },
    "creator": {
      "type": [
        "string",
        "null"
      ]
    },
    "reportID": {
      "type": [
        "string",
        "null"
      ]
    },
    "date": {
      "type": "string",
      "format": "date-time"
    },
    "projectName": {
      "type": [
        "string",
        "null"
      ]
    },
    "city": {
      "type": [
        "string",
        "null"
      ]
    },
    "state": {
      "type": [
        "string",
        "null"
      ]
    },
    "isMetric": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "concreteVolume": {
      "type": [
        "array",
        "null"
      ],
      "items": {}
    },
    "mixes": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/EstimateMixOuterArgs"
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "EstimateMixInnerArgs": {
      "type": "object",
      "properties": {
        "mixID": {
          "type": [
            "string",
            "null"
          ]
        },
        "mixName": {
          "type": [
            "string",
            "null"
          ]
        },
        "company": {
          "type": [
            "string",
            "null"
          ]
        },
        "designStrength": {
          "type": [
            "array",
            "null"
          ],
          "items": {}
        },
        "portlandQuantity": {
          "$ref": "#/$defs/EstimateQuantityArgs"
        },
        "slagQuantity": {
          "$ref": "#/$defs/EstimateQuantityArgs"
        },
        "flyAshQuantity": {
          "$ref": "#/$defs/EstimateQuantityArgs"
        }
      },
      "additionalProperties": false
    },
    "EstimateMixOuterArgs": {
      "type": "object",
      "properties": {
        "id": {
          "type": [
            "string",
            "null"
          ]
        },
        "quantity": {
          "type": [
            "array",
            "null"
          ],
          "items": {}
        },
        "mixDesign": {
          "$ref": "#/$defs/EstimateMixInnerArgs"
        }
      },
      "additionalProperties": false
    },
    "EstimateQuantityArgs": {
      "type": "object",
      "properties": {
        "before": {
          "type": [
            "array",
            "null"
          ],
          "items": {}
        },
        "after": {
          "type": [
            "array",
            "null"
          ],
          "items": {}
        }
      },
      "additionalProperties": false
    }
  }
}