documentValidatorBlock
Last updated
Last updated
This block is to validate documents, including linked documents. This block returns an error if at least one of the checks donโt pass. It can be placed as a โchildโ document, or as a link in the sequence of the blocks.
The following document types are supported:
VC Document : validates the main document and its type (Verifiable Credential).
VP Document : validates the main document and its type (Verifiable Presentation).
Related VC Document : validates the document linked to the main document and its type (Verifiable Credential)
Related VP Document : validates the document linked to the main document and its type (Verifiable Presentation)
Equal โ resolves to โtrueโ if value of the field is equal the the content of the Value parameter.
Not Equal โ resolves to โtrueโ if value of the field is NOT equal the the content of the Value parameter.
In โ resolves to โtrueโ if value of the field is present the the array.
Not In โ resolves to โtrueโ if value of the field is present the the array.
This field of the document to validates the Value parameter.
The content of this parameter is compared to the content of the Field.
Block Property | Definition | Example Input | Status |
---|---|---|---|
tag
Unique name for the logic block.
documentValidatorBlock
permissions
Which entity has rights to interact at this part of the workflow.
VVB
defaultActive
Shows whether this block is active at this time and whether it needs to be shown.
Checked or unchecked.
On errors
Called if the system error has occurs in the Block
No action
Retry
Go to step
Go to tag
stop Propagation
End processing here, don't pass control to the next block.
Checked or unchecked.
DocumentType
Type of the documents to be validated.
ยท VC Document
ยท VP Document
ยท Related VC Document
. Related VP Document
Check Schema
Validates schema documents.
Schema
Check Own Document
If โtrueโ validates document owners.
True / False
Check Assign Document
If โtrueโ validates document owners.
True / False
Conditions
Array containing conditions for validation.
Array