{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/easee/json-schema/easee-easee-cloud-api-charger-dto-schema.json",
  "title": "Easee_Cloud_API_ChargerDTO",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/easee-charger-api-openapi.yml#/components/schemas/Easee_Cloud_API_ChargerDTO",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ]
    },
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "color": {
      "oneOf": [
        {
          "$ref": "#/$defs/Easee_Cloud_API_ChargerColorType"
        }
      ]
    },
    "createdOn": {
      "type": "string",
      "format": "date-time"
    },
    "updatedOn": {
      "type": "string",
      "format": "date-time"
    },
    "backPlate": {
      "oneOf": [
        {
          "$ref": "#/$defs/Easee_Cloud_API_BackPlateDTO"
        }
      ]
    },
    "levelOfAccess": {
      "oneOf": [
        {
          "$ref": "#/$defs/Easee_Cloud_API_LevelOfAccess"
        }
      ]
    },
    "productCode": {
      "oneOf": [
        {
          "$ref": "#/$defs/Easee_Cloud_API_ProductType"
        }
      ]
    }
  },
  "$defs": {
    "Easee_Cloud_API_BackPlateDTO": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": [
            "string",
            "null"
          ]
        },
        "masterBackPlateId": {
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "features": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/Easee_Cloud_API_BackPlateFeature"
          }
        },
        "variant": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "Easee_Cloud_API_BackPlateFeature": {
      "type": "integer",
      "description": "",
      "x-enumNames": [
        "UkOffpeak",
        "UkRandomStartDelay",
        "FrPermaTether"
      ],
      "enum": [
        0,
        1,
        2
      ]
    },
    "Easee_Cloud_API_ChargerColorType": {
      "type": "integer",
      "description": "",
      "x-enumNames": [
        "Black",
        "Red",
        "Blue",
        "White",
        "Anthracite"
      ],
      "enum": [
        1,
        2,
        3,
        4,
        5
      ]
    },
    "Easee_Cloud_API_LevelOfAccess": {
      "type": "integer",
      "description": "",
      "x-enumNames": [
        "Open",
        "EaseeAccounts",
        "SpecificUsers"
      ],
      "enum": [
        1,
        2,
        3
      ]
    },
    "Easee_Cloud_API_ProductType": {
      "type": "integer",
      "description": "",
      "x-enumNames": [
        "EaseeHome",
        "ChargeLite",
        "EaseeCharge",
        "EaseeOne",
        "Equalizer"
      ],
      "enum": [
        1,
        2,
        100,
        400,
        1000
      ]
    }
  }
}