{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/carboncuretechnologies/json-schema/carboncuretechnologies-dorsal-system-info-args-schema.json",
  "title": "DorsalSystemInfoArgs",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/carboncuretechnologies-dorsal-api-openapi.yml#/components/schemas/DorsalSystemInfoArgs",
  "type": "object",
  "properties": {
    "system": {
      "$ref": "#/$defs/SystemInfoArgs"
    },
    "suggestedStartTime": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "suggestedEndTime": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "InternalTeamArgs": {
      "type": "object",
      "properties": {
        "userId": {
          "type": "integer",
          "format": "int32"
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "email": {
          "type": [
            "string",
            "null"
          ]
        },
        "isDisabled": {
          "type": "boolean"
        },
        "designation": {
          "$ref": "#/$defs/InternalTeamDesignation"
        }
      },
      "additionalProperties": false
    },
    "InternalTeamDesignation": {
      "enum": [
        "Hardware",
        "AccountManager",
        "Tss",
        "Tpm"
      ],
      "type": "string"
    },
    "OrificeType": {
      "enum": [
        "Single",
        "Dual",
        "Triple"
      ],
      "type": "string"
    },
    "SonarSystemSnoozeReason": {
      "enum": [
        "Seasonal",
        "MaintenanceProducer",
        "MaintenanceCarbonCure",
        "MaintenanceCO2Tank",
        "Churned",
        "Inactive",
        "Other"
      ],
      "type": "string"
    },
    "SystemInfoArgs": {
      "type": "object",
      "properties": {
        "readyMixUnitId": {
          "type": "integer",
          "format": "int32"
        },
        "divisionId": {
          "type": "integer",
          "format": "int32"
        },
        "divisionName": {
          "type": [
            "string",
            "null"
          ]
        },
        "plantId": {
          "type": "integer",
          "format": "int32"
        },
        "plantName": {
          "type": [
            "string",
            "null"
          ]
        },
        "workflowName": {
          "type": [
            "string",
            "null"
          ]
        },
        "city": {
          "type": [
            "string",
            "null"
          ]
        },
        "state": {
          "type": [
            "string",
            "null"
          ]
        },
        "hmiId": {
          "type": "integer",
          "format": "int32"
        },
        "valveEnclosureSerial": {
          "type": [
            "string",
            "null"
          ]
        },
        "airlinkIpAddress": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "hmiIpAddress": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "plcIpAddress": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "usbLink": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "sdLink": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "ftpLink": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "customerSuccessName": {
          "type": [
            "string",
            "null"
          ]
        },
        "isOperational": {
          "type": "boolean"
        },
        "isDown": {
          "type": "boolean"
        },
        "serial": {
          "type": [
            "string",
            "null"
          ]
        },
        "address": {
          "type": [
            "string",
            "null"
          ]
        },
        "lastSeen": {
          "type": "string",
          "format": "date-time"
        },
        "latestInjectionTimestamp": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "isSnoozed": {
          "type": "boolean"
        },
        "snoozeReason": {
          "$ref": "#/$defs/SonarSystemSnoozeReason"
        },
        "snoozeReasonDetails": {
          "type": [
            "string",
            "null"
          ]
        },
        "snoozeUntilTimestamp": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "internalTeam": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/InternalTeamArgs"
          }
        },
        "productionMachineLink": {
          "type": [
            "string",
            "null"
          ]
        },
        "orificeType": {
          "$ref": "#/$defs/OrificeType"
        }
      },
      "additionalProperties": false
    }
  }
}