{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/highland-electric-transportation/json-schema/highland-electric-transportation-charging-transaction-schema.json",
  "title": "ChargingTransaction",
  "x-generated": "2026-12-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/highland-electric-transportation-openapi.json#/components/schemas/ChargingTransaction",
  "type": "object",
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ]
    },
    "transactionPk": {
      "type": "integer",
      "format": "int32"
    },
    "connectorId": {
      "type": "integer",
      "format": "int32"
    },
    "connectorName": {
      "type": [
        "string",
        "null"
      ]
    },
    "chargerPk": {
      "type": "integer",
      "format": "int32"
    },
    "chargerId": {
      "type": [
        "string",
        "null"
      ]
    },
    "chargerName": {
      "type": [
        "string",
        "null"
      ]
    },
    "depotId": {
      "type": [
        "string",
        "null"
      ]
    },
    "organizationId": {
      "type": [
        "string",
        "null"
      ]
    },
    "ocppTag": {
      "type": [
        "string",
        "null"
      ]
    },
    "stopReason": {
      "type": [
        "string",
        "null"
      ]
    },
    "stopEventActor": {
      "type": [
        "string",
        "null"
      ]
    },
    "startTimestamp": {
      "type": "string",
      "format": "date-time"
    },
    "stopTimestamp": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "updatedTimestamp": {
      "type": "string",
      "format": "date-time"
    },
    "totalEnergyImported": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "totalEnergyExported": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "meanPowerImport": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "maxPowerImport": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "latestPowerImport": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "meanPowerExport": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "maxPowerExport": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "latestPowerExport": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "meanPowerOffered": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "maxPowerOffered": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "latestPowerOffered": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "meanAmperageImport": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "maxAmperageImport": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "latestAmperageImport": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "meanAmperageOffered": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "maxAmperageOffered": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "latestAmperageOffered": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "minVoltage": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "meanVoltage": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "maxVoltage": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "latestVoltage": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "minFrequency": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "meanFrequency": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "maxFrequency": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "latestFrequency": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "startingTemperature": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "minTemperature": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "meanTemperature": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "maxTemperature": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "latestTemperature": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "startingSoc": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "latestSoc": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "timezone": {
      "type": [
        "string",
        "null"
      ]
    },
    "commissioningState": {
      "type": [
        "string",
        "null"
      ]
    },
    "plugInTime": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "plugOutTime": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "nodeId": {
      "type": [
        "string",
        "null"
      ]
    },
    "nodeName": {
      "type": [
        "string",
        "null"
      ]
    },
    "isDefaultNode": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "energyEfficiency": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    }
  },
  "additionalProperties": false
}