{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/easee/json-schema/easee-easee-cloud-api-meter-settings-dto-schema.json",
  "title": "Easee_Cloud_API_MeterSettingsDTO",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/easee-equalizer-api-openapi.yml#/components/schemas/Easee_Cloud_API_MeterSettingsDTO",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "deviceMode": {
      "$ref": "#/$defs/Easee_Cloud_API_DeviceMode"
    },
    "externalMeterType": {
      "oneOf": [
        {
          "$ref": "#/$defs/Easee_Cloud_API_ExternalMeterType"
        }
      ]
    }
  },
  "$defs": {
    "Easee_Cloud_API_DeviceMode": {
      "type": "integer",
      "description": "",
      "x-enumNames": [
        "Auto",
        "HAN",
        "Modbus",
        "StaticFuseBalancing"
      ],
      "enum": [
        0,
        1,
        2,
        4
      ]
    },
    "Easee_Cloud_API_ExternalMeterType": {
      "type": "integer",
      "description": "",
      "x-enumNames": [
        "Janitza_UMG604_PRO",
        "Accuenergy_EV390",
        "Miro_Matic_CVM_E3_MINI",
        "IME_Conto_D4",
        "Eastron_SDM"
      ],
      "enum": [
        1,
        2,
        3,
        4,
        5
      ]
    }
  }
}