EcoG-io/iso15118

Bug in PydanticBaseModel for ISO20 Messages

TGruett opened this issue · 1 comments

Hi,

i figured out two problems with the pydantic model for ISO 20 while testing the schedule mode.

While the fix of the first problem is straight forward, the id attribute in the AbsolutePriceSchedule is a bit more complex. I'm not sure how to properly model elements of type xs:ID, especially its uniqueness. Perhaps someone else knows how to deal with this?

Thank You.

Thank you for reporting this @TGruett :). I have opened a PR for this and will include this in the next release.
Kind regards,
Shalin.