Skip to main content

🧩 OCPI 2.1.1 Schema Extensions

How and why ENAPI's OCPI 2.1.1 Schema deviates from the standard

A
Written by Adam Staveley
Updated over a year ago

ENAPI has implemented the OCPI 2.1.1 specification in its entirety. However, where necessary the schema has been extended to:

  • Implement the "hub" topology which is not natively supported by version 2.1.1.

  • Provide added-value functionality seen in other OCPI versions and protocols

  • Provide OCPI version 2.2.1 interoperability

This document outlines all additions made.

Locations

Location Object

The country_code and party_id are not required to be set by the sending party. They are added by ENAPI.

Property

Type

Card.

Description

country_code

String(2)

?

ISO-3166 alpha-2 country code of the CPO that 'owns' this Location.

party_id

String(3)

?

ID of the CPO that 'owns' this Location (following the ISO-15118 standard).

Facility enum

Capability enum

Connector Object

Property

Type

Card.

Description

max_electric_power

int

?

Maximum electric power that can be delivered by this connector, in Watts (W). When the maximum electric power is lower than the calculated value from voltage and amperage, this value should be set.

For example: A DC Charge Point which can delivers up to 920V and up to 400A can be limited to a maximum of 150kW (max_electric_power = 150000). Depending on the car, it may supply max voltage or current, but not both at the same time.

For AC Charge Points, the amount of phases used can also have influence on the maximum power.

ConnectorType enum

Tariffs

Tariff Object

The country_code and party_id are not required to be set by the sending party. They are added by ENAPI.

Property

Type

Card.

Description

country_code

String(2)

?

ISO-3166 alpha-2 country code of the CPO that 'owns' this Location.

party_id

String(3)

?

ID of the CPO that 'owns' this Location (following the ISO-15118 standard).

Tokens

TokenType enum

Sessions

SessionStatus enum

CDRs

AuthMethod enum

ChargingPeriod class

Property

Type

Card.

Description

tariff_id

String(36)

?

Unique identifier of the Tariff that is relevant for this Charging Period. If not provided, no Tariff is relevant during this period.

CdrDimensionType enum

Did this answer your question?