{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/carboncuretechnologies/json-schema/carboncuretechnologies-injection-reading-body-schema.json",
  "title": "InjectionReadingBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/carboncuretechnologies-mixerdata-api-openapi.yml#/components/schemas/InjectionReadingBody",
  "type": "object",
  "properties": {
    "hmiId": {
      "type": "integer",
      "format": "int32"
    },
    "injectionReadings": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/MixerInjectionReading"
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "MixerInjectionReading": {
      "type": "object",
      "properties": {
        "timestamp": {
          "type": "string",
          "format": "date-time"
        },
        "temperatureC": {
          "type": [
            "number",
            "null"
          ],
          "format": "double"
        },
        "flowRateKgPerSec": {
          "type": [
            "number",
            "null"
          ],
          "format": "double"
        },
        "upstreamPressurePsi": {
          "type": [
            "number",
            "null"
          ],
          "format": "double"
        },
        "downstreamPressure0Psi": {
          "type": [
            "number",
            "null"
          ],
          "format": "double"
        },
        "downstreamPressure1Psi": {
          "type": [
            "number",
            "null"
          ],
          "format": "double"
        },
        "downstreamPressure2Psi": {
          "type": [
            "number",
            "null"
          ],
          "format": "double"
        },
        "inletLiquidPressurePsi": {
          "type": [
            "number",
            "null"
          ],
          "format": "double"
        },
        "inletGasPressurePsi": {
          "type": [
            "number",
            "null"
          ],
          "format": "double"
        },
        "injectedCO2Kg": {
          "type": [
            "number",
            "null"
          ],
          "format": "double"
        },
        "liquidValveOpen": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "gasValveOpen": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "equation1": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "equation2": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "equation3": {
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "additionalProperties": false
    }
  }
}