Replies: 3 comments 2 replies
-
Hello @sudhirrg , Please find my comments below
Does the BPP implementation need to check for the optional fields in the schema?
if you can share the sample beckn request / response with us, we will review the same and will update if any corrections are required. |
Beta Was this translation helpful? Give feedback.
-
Cancel_function.txt |
Beta Was this translation helpful? Give feedback.
-
Unpinning it since there has not been any activity for a year |
Beta Was this translation helpful? Give feedback.
-
Hi all, my team is implementing the BPP and BAP spec for Mobility.
I have questions about the validation by the Protocol Server.
The Protocol Server validates each request per the Beckn Network’s Open API schema.
(1) Does the Protocol Server check for well-formedness of the request only, or does it also validate the existence of required (mandatory) elements per the schema definition?
E.g. the Beckn Mobility API definition expects the Intent object passed in the message to contain a fulfillment.start.location. Will the Protocol Server check for the presence of this element in the message?
(2) Does the BPP implementation need to check for the optional fields in the schema?
E.g. to implement search as a BPP, our implementation expects an Intent object containing both a fulfillment.start.location and a fulfillment.end.location.
Will be glad to receive your answers to our questions.
Beta Was this translation helpful? Give feedback.
All reactions