-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add optional name
to the Field
object in a Presentation Definition
#359
Comments
Field
object in presentation definition requestname
to the Field
object in a Presentation Definition
You mean that it describes the optional 'filter' property? I think it is a bit confusing. It might make more sense to move the current field into an object with a name and schema then. That does bring work for any current implementation though |
@nklomp thanks for the response. I'm not sure though why That being said: My specific use case is I need an easier human readable name for field within a Presentation Definition. As long as it accomplishes this, I am fine with it landing in some object instead. |
@andorsk would it be possible to use either the
|
@decentralgabe that relies on you having control over the Presentation Request's definitions, which may not always be the case. In my use case, I am rendering PR's, which I do not expect to control all the time. I need the Also, toy example:
|
Gotcha, clearer now. I do think it's a valid property to add. |
Okay that certainly makes it more clear. Not sure whether the proposed name property should mention anything about the schema though. |
I've created a PR with a proposed addition to the spec. I welcome any suggestions/feedback. |
Closing: #360 was merged. |
According to https://identity.foundation/presentation-exchange/#input-descriptor, a constraint field may contain the following properties;
path, id, purpose, and filter
with thepath
being the only required property. I would like to propose an additional propertyname
to be added into thefields
description.A proposal of a complete description would be:
I have added an example of the update to TBD's ssi-sdk here:
TBD54566975/ssi-sdk#159
Rationale: The use of this is that field provides a human friendly name of the field, which is not available via. purpose or
id
. This may provide better context for various interactions with the exchange layer.If this is agreed upon as a valid additional field, I would be happy to add a PR with the changes included.
The text was updated successfully, but these errors were encountered: