Skip to content

Discrepancy between the VDV 463 specification and the message validation schema #59

@Guilhem1976

Description

@Guilhem1976

Hello,
We’ve identified a discrepancy between the VDV 463 specification and the message validation schema currently maintained in this repository.
According to the VDV 463 specification, the payload of an error message is defined as a string. However, the schema used for message validation expects the payload to be a JSON object. This inconsistency could lead to confusion or implementation issues.
To resolve this, we propose updating the VDV 463 specification so that the payload of an error message is also defined as a JSON object. Additionally, we suggest introducing a dedicated schema to validate the structure of error message payloads.
A simple and consistent structure for the error payload could be:
{
"errorMessage": "Text description of the error."
}

Metadata

Metadata

Assignees

Labels

specificationImprovements or additions to specification

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions