Technical feedback from the OpenSPP & OpenCRVS demonstration #15
Replies: 13 comments 1 reply
-
Hi @euanmillar Thanks for you feedback / suggestions,We have shared in slack channel for expert feedback. Slack reference link - https://spdci.slack.com/archives/C05TZPXRDDJ/p1702446879331569 Request to all experts please share your thoughts. |
Beta Was this translation helpful? Give feedback.
-
1 The documentation of some* attributes needs to be improved with examples. Consider when adding parameters to the standard, description & examples need to be mandatory. |
Beta Was this translation helpful? Give feedback.
-
1 query_type - "idtype-value", "expression", "predicate" |
Beta Was this translation helpful? Give feedback.
-
3 attribute names need to be strictly defined in queries and in sorting |
Beta Was this translation helpful? Give feedback.
-
4 for known search parameters like birth_date or name, the spec can be stricter and have usage examples |
Beta Was this translation helpful? Give feedback.
-
5 for unknown and custom parameters, the spec can be flexible
DCI : We do not restrict to add more operator, we will add not-eq,not-in in example.
DCI - Implementer can decide put such restrictions |
Beta Was this translation helpful? Give feedback.
-
6 safer to use a URI configured during the onboarding process and exclude sender_uri in the specification. |
Beta Was this translation helpful? Give feedback.
-
7 Remove action since URL contains it. |
Beta Was this translation helpful? Give feedback.
-
8 timestamp can be removed as it’s in the header |
Beta Was this translation helpful? Give feedback.
-
9 reg_type and reg_event_type can be combined |
Beta Was this translation helpful? Give feedback.
-
10 How should the following params be used? i.e: consent, authorize |
Beta Was this translation helpful? Give feedback.
-
11 How is the action param not required in the sync implementation? |
Beta Was this translation helpful? Give feedback.
-
12 The status and status_reason_code are repeated in the response header and search_response. The use of HTTP status codes would be better. The approach of not using partially succeeded responses seems optimal, as it encourages API users to retry when necessary. This means that the status and status_reason_code fields are most relevant in error responses only |
Beta Was this translation helpful? Give feedback.
-
Overall the standard has been flexible enough for our integration and no major refactors have had to be done. We have proposed using well-known standards like JWT authorization headers, JSON-LD, Schema.org, and most of the changes have been well-received and implemented.
We have some suggestions and questions that probably should be discussed either in this thread or perhaps broken out into new discussions if deemed appropriate. We (@naftis @jeremi @dasunhegoda ) think that the standards & documentation could be improved if these items are addressed. Here they are in no particular order:
The documentation of some* attributes needs to be improved with examples. Consider when adding parameters to the standard, description & examples need to be mandatory.
We think that less flexibility is needed to better align how values and attributes are shared. Rather we should start strict and contained and then expand if needed.
query_type - "idtype-value", "expression", "predicate"
birth_date
orname
, the spec can be stricter and have usage examplesnot equal
andnot in
sender_uri
in the specification.action
since URL contains it.timestamp
can be removed as it’s in the headerreg_type
andreg_event_type
can be combinedconsent
,authorize
action
param not required in the sync implementation?status
andstatus_reason_code
are repeated in the response header and search_response. The use of HTTP status codes would be better. The approach of not using partially succeeded responses seems optimal, as it encourages API users to retry when necessary. This means that thestatus
andstatus_reason_code
fields are most relevant in error responses onlyBeta Was this translation helpful? Give feedback.
All reactions