Open ravi-prakash-v opened 1 week ago
The following considerations were made while making the changes. This is just a summary of the thoughts we had:
Date: 22/10/2024
There was also a suggestion to check if there already exists a specification for verifiable credential. If yes, that can be implemented by NPs along with the Beckn protocol and we don't need to add cred/ and on_cred/ API endpoints.
one on one call to discuss the changes for cred/ and on_cred/ apis with Ravi: The whole team was busy with Ravi discussing the overall architecture, could not have the discussion on Tuesday.
Existing specification for verifiable credential which can be used by NPs instead on adding cred/ on_cred/ in the protocol specification:: Tried to check the existing specification, went through one document: https://openid.net/specs/openid-4-verifiable-presentations-1_0.html. had a brief look, could not get in enough details to propose a solution using this.
22/10/2024
Made some changes in the credential schema Created example jsons for the cred/ and on_cred/ api endpoints on request from the development team: https://github.com/rajaneeshk90/Unified-Energy-Interface-rk/tree/l2-config-with-cred/examples/ev-charging/cred Added cred/ and on_cred/ rules in the UEI p2p layer 2 configuration: https://github.com/rajaneeshk90/Unified-Energy-Interface-rk/blob/l2-config-with-cred/api/uei%3Ap2p_trading.yaml Created a JSONSchema to define the structure of the beckn.json: https://github.com/rajaneeshk90/protocol-specifications-rk/tree/beckn-json/api/about-endpoint
Status
Date: 17/10/2024