Skip to content

Field names available to interfaceDocumentsSourceBlock #1204

Answered by anvabr
AlexIvanHoward asked this question in Q&A
Discussion options

You must be logged in to vote

Any VC record in guardian has the following fields:

  • document (it's the VC content).
  • options (set in the sendBlock as status, or in the buttonBlock via Attributes and status).
  • type (set in the sendBlock as EntityType, or in the buttonBlock as Root and further type).
  • other system fields (messageID, relationships, etc).

All fields are available to the interfaceDocumentsSourceBlock via the 'path' value put into the fieldName as per examples in the original question.

Note: for VC documents the content of the document field would be an array of credentialSubjects, while for the VP it would be verifiableCredential.

Further references: W3 VC example, W3 VP example

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by anvabr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants