aries / net.globalid.aries.features.presentproof.models.preview / PresentationPreviewPredicate

PresentationPreviewPredicate

@JsonClass(true) data class PresentationPreviewPredicate

Represents a predicate specification for an attribute. Each specification proposes its predicate's characteristics for creation within a presentation.

Constructors

<init>

Represents a predicate specification for an attribute. Each specification proposes its predicate's characteristics for creation within a presentation.

PresentationPreviewPredicate(name: String, credentialDefinitionId: String, predicate: String, threshold: String)

Properties

credentialDefinitionId

is mandatory. It maps to the credential definition ID of the credential with the current attribute.

val credentialDefinitionId: String

name

is mandatory. It maps to the name of the attribute.

val name: String

predicate

maps to the predicate operator: <, <=, >=, >.

val predicate: String

threshold

maps to the threshold value for the predicate

val threshold: String