E1.20 RDM (Remote Device Management) Protocol Forums

E1.20 RDM (Remote Device Management) Protocol Forums (http://www.rdmprotocol.org/forums/index.php)
-   RDM Interpretation Questions (http://www.rdmprotocol.org/forums/forumdisplay.php?f=5)
-   -   RDM 1.37-5 Schema "different_pid" used in QUEUED_MESSAGE not part of Schema (http://www.rdmprotocol.org/forums/showthread.php?t=1344)

Qasi_ September 17th, 2024 03:38 PM

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": [
  "get_request",
  "get_response",
  "set_request",
  "set_response"
]


but should be

Code:

"enum": [
  "get_request",
  "get_response",
  "set_request",
  "set_response",
  "different_pid"
]


shawn September 17th, 2024 05:46 PM

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?

Qasi_ September 18th, 2024 04:21 AM

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.

shawn September 18th, 2024 07:54 PM

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.