Extend the documentation for the payload parameter as shown below:
Creates a new dispatch with the specified payload.
Note: The payload must conform to the following constraints:
Maximum nesting depth of 5. Payloads with structures nested deeper than this will be rejected.
Payloads must be valid according to the JSON structure.
Proposed solution
message Dispatch {
// ...
// The dispatch payload.
+ //
+ // Note!!!
+ // The payload field allows for flexible JSON data to be associated with this dispatch.
+ // The payload must adhere to the following constraints:
+ // - Maximum JSON nesting depth: 5 levels.
+ // - The data should not contain executable code or scripts.
+ // - Ensure all data is properly sanitized and encoded.
+ // - The total size of the payload should not exceed 50 KB.
google.protobuf.Struct payload = 11;
What's needed?
Extend the documentation for the payload parameter as shown below:
Proposed solution
Use cases
No response
Alternatives and workarounds
No response
Additional context
No response