{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "Schema for Connector",
  "type": "object",
  "name": "Connector",
  "evse_id": 1,
  "connector_id": 1,
  "properties": {
    "ConnectorAvailabilityState": {
      "variable_name": "AvailabilityState",
      "characteristics": {
        "supportsMonitoring": true,
        "dataType": "OptionList",
        "valuesList": "Available,Occupied,Reserved,Unavailable,Faulted"
      },
      "attributes": [
        {
          "type": "Actual"
        }
      ],
      "description": "This variable reports current availability state for the Connector. Optional, because already reported in StatusNotification.",
      "type": "string"
    },
    "ConnectorAvailable": {
      "variable_name": "Available",
      "characteristics": {
        "supportsMonitoring": true,
        "dataType": "boolean"
      },
      "attributes": [
        {
          "type": "Actual",
          "mutability": "ReadOnly"
        }
      ],
      "description": "Component exists",
      "type": "boolean",
      "default": false
    },
    "ConnectorEnabled": {
      "variable_name": "Enabled",
      "characteristics": {
        "supportsMonitoring": false,
        "dataType": "boolean"
      },
      "attributes": [
        {
          "type": "Actual",
          "mutability": "ReadWrite"
        }
      ]
    },
    "ChargeProtocol": {
      "variable_name": "ChargeProtocol",
      "characteristics": {
        "supportsMonitoring": true,
        "dataType": "string"
      },
      "attributes": [
        {
          "type": "Actual",
          "mutability": "WriteOnly"
        }
      ],
      "description": "The Charging Control Protocol applicable to a Connector. CHAdeMO: CHAdeMO protocol, ISO15118: ISO15118 V2G protocol (wired or wireless) as used with CCS, CPPWM: IEC61851-1 / SAE J1772  protocol (ELV DC & PWM signalling via Control Pilot wire), Uncontrolled: No charging power management applies (e.g. Schuko socket), Undetermined: Yet to be determined (e.g. before plugged in), Unknown: Not determinable, NOTE: ChargeProtocol is distinct from and orthogonal to connectorType.",
      "type": "string"
    },
    "ConnectorType": {
      "variable_name": "ConnectorType",
      "characteristics": {
        "supportsMonitoring": true,
        "dataType": "string"
      },
      "attributes": [
        {
          "type": "Actual",
          "mutability": "ReadOnly",
          "value": "OppCharge"
        },
        {
          "type": "Target",
          "mutability": "ReadWrite"
        }
      ],
      "description": "A value of ConnectorEnumType (See part 2) plus additionally: cGBT, cChaoJi, OppCharge. Specific type of connector, including sub-variant information. Note: Distinct and orthogonal to Charging Protocol, Power Type, Phases.",
      "type": "string",
      "default": "sType2"
    },
    "ConnectorSupplyPhases": {
      "variable_name": "SupplyPhases",
      "characteristics": {
        "supportsMonitoring": true,
        "dataType": "integer"
      },
      "attributes": [
        {
          "type": "Target",
          "mutability": "ReadOnly"
        },
        {
          "type": "Actual",
          "mutability": "ReadOnly"
        }
      ],
      "description": "Number of alternating current phases connected/available.",
      "type": "integer",
      "default": "0"
    }
  },
  "required": [
    "ConnectorAvailable",
    "ConnectorSupplyPhases",
    "ConnectorType"
  ]
}
