{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/smart-me-com/json-schema/smart-me-com-pico-settings-dto-schema.json",
  "title": "PicoSettingsDto",
  "description": "DTO for the pico charging station settings",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/smart-me-com-openapi.json#/components/schemas/PicoSettingsDto",
  "type": "object",
  "properties": {
    "name": {
      "type": [
        "string",
        "null"
      ],
      "description": "The name of the station"
    },
    "serialNumber": {
      "type": [
        "string",
        "null"
      ],
      "description": "The Serial number of the station"
    },
    "authenticationType": {
      "$ref": "#/$defs/ChargingStationSettingsAuthentication"
    },
    "displayBrightness": {
      "type": "integer",
      "description": "The Brightness of the LCD Matrix display. 0 = minimum, 255 = maximum",
      "format": "int32"
    },
    "minCurrent": {
      "type": "integer",
      "description": "The max current of this station (in A)",
      "format": "int32"
    },
    "maxCurrent": {
      "type": "integer",
      "description": "The max current of this station (in A)",
      "format": "int32"
    },
    "idleImageUrl": {
      "type": [
        "string",
        "null"
      ],
      "description": "The url of the idle image"
    },
    "loadmanagementGroupId": {
      "type": "string",
      "description": "The ID of the loadmanagement group",
      "format": "uuid"
    },
    "modbusTcp": {
      "type": "boolean",
      "description": "Flag if ModbusTcp is enabled"
    },
    "isEnabled": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Flag if the station is enabled. A disabled station does not store any data.\nNull leaves the flag unchanged."
    },
    "carIdDetection": {
      "type": "boolean",
      "description": "Flag if the car id detection is enabled"
    },
    "fixCableLockEnable": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Enable the fix lock of the charging cable"
    },
    "internalIp": {
      "type": [
        "string",
        "null"
      ],
      "description": "The internal IP address"
    },
    "dnsName": {
      "type": [
        "string",
        "null"
      ],
      "description": "The DNS name of the pico's internal ip"
    },
    "ocppBackendUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "ocppBackendUsername": {
      "type": [
        "string",
        "null"
      ]
    },
    "ocppBackendPassword": {
      "type": [
        "string",
        "null"
      ]
    },
    "supportsLoadmanagementGroupConnectionLostAction": {
      "type": "boolean"
    },
    "supportsLoadmanagementGroupChangePhases": {
      "type": "boolean"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "ChargingStationSettingsAuthentication": {
      "enum": [
        0,
        1,
        2
      ],
      "type": "integer",
      "description": "<p>Members: </p><ul><li><i>0</i> - We don't have an authentication. Plug and charge!</li><li><i>1</i> - The ecarup backend</li><li><i>2</i> - And external ocpp backend</li></ul>",
      "format": "int32"
    }
  }
}