![]() |
RDM 1.37-5 Schema "different_pid" used in QUEUED_MESSAGE not part of Schema
While implementing 1.37-5 i found this.
if i validate QUEUED_MESSAGE with the Schema of 1.0.0 it prompt me an Exception, because the Enum "different_pid" is not specified in the Schema. Currently in the Schem its defined like: Code:
"enum": [but should be Code:
"enum": [ |
None of the examples are normative because there are some outliers. QUEUED_MESSAGE is one of them. The response to GET:QUEUED_MESSAGE can change depending on what the message is, so there isn’t a specific way to define the message body. The “different_pid” value is just a placeholder.
I’m curious, at which link did you find the examples? |
I found it related from the Spec 1.37-5 Duckument.
https://gitlab.com/esta-cpwg/e137-5/...ref_type=heads https://gitlab.com/esta-cpwg/e137-5/...ref_type=heads If i cant validate the QUEUED_MESSAGE withe the schema to validate thees json-defines then something is not completely thought through. |
From that (and my) perspective, QUEUED_MESSAGE itself is ill-defined. Suggestions on how to improve the schema for this case are welcome.
|
| All times are GMT -6. The time now is 11:41 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2026, vBulletin Solutions, Inc.