{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "Schema for EVSE",
  "type": "object",
  "name": "EVSE",
  "evse_id": 1,
  "properties": {
    "EVSEAllowReset": {
      "variable_name": "AllowReset",
      "characteristics": {
        "supportsMonitoring": true,
        "dataType": "boolean"
      },
      "attributes": [
        {
          "type": "Actual",
          "mutability": "ReadOnly"
        }
      ],
      "description": "Can be used to announce that an EVSE can be reset individually",
      "type": "boolean"
    },
    "EVSEAvailabilityState": {
      "variable_name": "AvailabilityState",
      "characteristics": {
        "supportsMonitoring": true,
        "dataType": "OptionList",
        "valuesList": "Available,Occupied,Reserved,Unavailable,Faulted"
      },
      "attributes": [
        {
          "type": "Actual",
          "mutability": "ReadOnly"
        }
      ],
      "description": "This variable reports current availability state for the EVSE",
      "type": "string",
      "default": "Unavailable"
    },
    "EVSEAvailable": {
      "variable_name": "Available",
      "characteristics": {
        "supportsMonitoring": true,
        "dataType": "boolean"
      },
      "attributes": [
        {
          "type": "Actual",
          "mutability": "ReadOnly"
        }
      ],
      "description": "Component exists",
      "type": "boolean",
      "default": false
    },
    "EvseId": {
      "variable_name": "EvseId",
      "characteristics": {
        "supportsMonitoring": true,
        "dataType": "string"
      },
      "attributes": [
        {
          "type": "Actual"
        }
      ],
      "description": "The name of the EVSE in the string format as required by ISO 15118 and IEC 63119-2.",
      "type": "string"
    },
    "EVSEPower": {
      "variable_name": "Power",
      "characteristics": {
        "unit": "kW",
        "maxLimit": 22000,
        "supportsMonitoring": true,
        "dataType": "decimal"
      },
      "attributes": [
        {
          "type": "Actual",
          "mutability": "ReadOnly"
        },
        {
          "type": "MaxSet",
          "mutability": "ReadOnly"
        },
        {
          "type": "Target",
          "mutability": "ReadWrite"
        }
      ],
      "description": " kW,The variableCharacteristic maxLimit, that holds the maximum power that this EVSE can provide, is required. The Actual value of the instantaneous (real) power is desired, but not required.",
      "type": "number",
      "default": "0"
    },
    "EVSESupplyPhases": {
      "variable_name": "SupplyPhases",
      "characteristics": {
        "supportsMonitoring": true,
        "dataType": "integer"
      },
      "attributes": [
        {
          "type": "Actual",
          "mutability": "ReadOnly",
          "value": 2
        }
      ],
      "description": "Number of alternating current phases connected/available.",
      "type": "integer",
      "default": "0"
    }
  },
  "required": [
    "EVSEAvailabilityState",
    "EVSEAvailable",
    "EVSEPower",
    "EVSESupplyPhases"
  ]
}
