requestVCDocumentBlock

Properties

Block PropertyDefinitionExample InputStatus

type

A type of the block which creates a form from the schema, and sends the document to the server.

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.

dependencies

Establish workflow dependancies that need to be completed prior.

Select the appropriate block from the dropdown.

Deprecated

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

UI PropertyDefinition

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."

Dialogue Class

Need to fill out.

Fields

Need to fill out.

Events

Property NameName in JSONProperty ValueValue in JSONDescription

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 .

API Parameters

GET blockType:

Path Parameters

NameTypeDescription

id*

String

Block ID

blocktype*

String

Type of Block

schema*

Object

Schema Description

uiMetaData*

String

{}

POST blockType:

Path Parameters

NameTypeDescription

document*

VC

VC Document

ref

String

ID of linked VC

Last updated