Skip to content

Conversation

@Criko0
Copy link

@Criko0 Criko0 commented Nov 16, 2025

Hi!

This PR introduces an implementation of OCPI 2.3 into the schema set. It includes all core modules plus the new Booking module.

A couple of points I would like feedback on:
1. Many structures in 2.3 are identical to 2.2.1. For now, I duplicated these classes under the 2.3 tree to keep versions isolated.
2. There is a new concept in OCPI 2.3 called OpenEnum. Any enum marked with this has a bunch of predefined values but also allows random values. I've implemented it as a union of whatever the recommended values are, plus any kind of string.

I'm more than open to changes. I'm pretty sure there are things I may have missed, especially in the two new modules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant