The OpenAPI specification for the World-Check One screening API defines the schema PepInactivityPeriod since version 3.1.0 with a property termEndDate of type string with format date-time. According to the OpenAPI specification (https://swagger.io/docs/specification/v3_0/data-models/data-types/#string-formats), date-time means RFC 3339 (https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) compliant. Notably, this spec makes all components of the date-time mandatory (date-time = full-date "T" full-time).
We have observed that the screening API returns a truncated value in that property (e.g. "termEndDate": "2021-12"), which is not compliant, and unfortunately breaks our JSON deserialization.
Would it be possible to fix either the value (to be RFC 3339 compliant), or update the spec to reflect what is actually being sent? Thanks!
Regards,
Marc