requestVCDocumentBlock
Properties
type
A type of the block which receives data in the format of a โcredential subjectโ part of a VC Document
requestVCDocumentBlock (Can't be changed).
tag
Unique name for the logic block.
add_new_installer_request.
permissions
Which entity has rights to interact at this part of the workflow.
Standard Registry.
defaultActive
Shows whether this block is active at this time and whether it needs to be shown.
Checked or unchecked.
schema
Pre-configured schemas for the document relevant for policy action requests. Technically, it's the uuid of the schema, which will be used to build the form.
IRec-Application-Details (to be selected from the drop down of available schemas in your Guardian instance).
ID Type
Select the type of ID that is populated in the ID field of the Verifiable Credential document.
Current Options are: DID (creates a new DID), UUID (creates a new UUID), and Owner (which uses the DID of the current user).
stop propagation
End processing here, don't pass control to the next block.
Checked or Unchecked.
RefreshEvents are used to refreshing the UI, instead of "dependencies" property.
UI Properties
Type
Style of the render of the form. It can be either a Page (the form is rendered as a page) or Dialogue (displays a button, which opens a dialogue with the form when clicked).
Title
Provides the Page or Dialogue box a title.
Description
Provides the Page or Dialogue box a description.
Button Content
Text to fill inside a button. Needs the Dialogue box to be selected from the "Type."
Dialogue Text
Provides a tile inside the Dialogue box. Needs the dialogue box to be selected from the "Type."
Dialogue Description
Provides a description inside the Dialogue box. Needs the dialogue box to be selected from the "Type."
Events
Event Type
-
Input Event
Output Event
-
Type of the event - determines whether this is ingress or egress event for the current block.
Source
"source"
Block tag(string)
"block_tag"
The block which initiates the event.
Target
"target"
Block tag(string)
"block_tag"
The block which receives the event.
Output Event
"output"
Event name(string)
"event_name"
Action or issue that caused the event.
Input Event
"input"
Event name(string)
"event_name"
Action which will be triggered by the event.
Event Actor
"actor"
Event Initiator
Document Owner
Document Issuer
""
"owner"
"issuer"
Allows to transfer control of the block (execution context) to another user. Empty field leaves control at the Event Initiator.
Disabled
"disabled"
True/False
true/false
Allows to disable the event without deleting it.
To know more information about events, please look at Events.
API Parameters
GET
/policies/{policyId}/blocks/{uuid}
Path Parameters
uuid*
String
Block ID
policyId*
String
Policy ID
POST
/policies/{policyId}/blocks/{uuid}
Request Body
document*
Object
Credential Subject
ref
String
ID of linked VC
Last updated