-
assigned issue to
[IDA] Does the same rule apply to other properties of array type?
The evidence
property in a request has the following rule (from the “Requesting Verification Data” section):
A single entry in the
evidence
array represents a filter over elements of a certain evidence type. The RP therefore MUST specify this type by including thetype
field including a suitablevalue
sub-element value. Thevalues
sub-element MUST NOT be used for theevidence/type
field.If multiple entries are present in
evidence
, these filters are linked by a logical OR.
Does the same rule apply to other properties of array type? To be concrete, to the following?
assurance_details
check_details
I know verified_claims
has a different rule (which is described in the “Requesting Claims sets with different verification requirements” section) although its type can be an array.
If the same rule applies, it is better to mention it explicitly in the specification. On the other hand, if the same rule does not apply, implementers would be confused by the inconsistency and want detailed description about how to handle them.
Comments (5)
-
-
Looking at how it is used I’m not sure if
assurance_deatils
would follow quite the same rules.assurance_details
is supposed to be used to demonstrate how theevidence
meets the requirements of theassurance_process
, the RP can’t really influence that in any way because its the rules of thetrust_framework
that defines them. I think its more likely that it would be used when the RP wants to know what the values are of the sub-elements rather than filtering on them. For example the RP should includeassurance_details
/assurance_type:null
where they want the OP to return just theassurance_type
; the RP can’t say whichassurance_type
it is interested it, it gets all the ones the OP has. However if an RP wanted all theassurance_details
should they- enumerate all the sub-elements, or
- simply ask for
assurance_details:null
and the OP return every sub-element it can?
For
check_details
the RP could provide acheck_method
that would effectively act as a filter for thatevidence
type.
-
Included in PR#113
-
reporter - changed component to Core eKYC&IDA
- marked as major
-
- changed status to resolved
Resolved by PR113
- Log in to comment