Skip to content

Commit

Permalink
Merge branch 'main' into fix/1115
Browse files Browse the repository at this point in the history
  • Loading branch information
yshyn-iohk authored Jan 10, 2025
2 parents d632d65 + 37a8f41 commit 073a12d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -261,15 +261,19 @@ object IssueCredentialRecord {

object goalcode
extends Annotation[String](
description =
"A self-attested code the receiver may want to display to the user or use in automatically deciding what to do with the out-of-band message.",
description = """
|A self-attested code the receiver may want to display to the user or use in automatically deciding what to do with the out-of-band message.
|The goalCode is optional and can be included when the credential offer originates from an invitation for connectionless issuance
|""".stripMargin,
example = "issue-vc"
)

object goal
extends Annotation[String](
description =
"A self-attested string that the receiver may want to display to the user about the context-specific goal of the out-of-band message.",
description = """
|A self-attested string that the receiver may want to display to the user about the context-specific goal of the out-of-band message.
|The goal is optional and can be included when the credential offer originates from an invitation for connectionless issuance
|""".stripMargin,
example = "To issue a Faber College Graduate credential"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,14 +201,18 @@ object PresentationStatus {
object goalcode
extends Annotation[String](
description =
"A self-attested code the receiver may want to display to the user or use in automatically deciding what to do with the out-of-band message.",
"""A self-attested code the receiver may want to display to the user or use in automatically deciding what to do with the out-of-band message.
|The goalcode is optional and can be included when the presentation request originates from an invitation for connectionless proof request
|""".stripMargin,
example = "present-vp"
)

object goal
extends Annotation[String](
description =
"A self-attested string that the receiver may want to display to the user about the context-specific goal of the out-of-band message.",
"""A self-attested string that the receiver may want to display to the user about the context-specific goal of the out-of-band message.
|The goal is optional and can be included when the presentation request originates from an invitation for connectionless proof request
|""".stripMargin,
example = "To verify a Peter College Graduate credential"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ object RequestPresentationInput {
extends Annotation[Option[String]](
description = """
| A self-attested code the receiver may want to display to the user or use in automatically deciding what to do with the out-of-band message.
| goalcode is optional and can be provided when the presentation request is from invitation for connectionless verification.
| goalcode is optional and can be included when the presentation request is from invitation for connectionless verification.
|""".stripMargin,
example = Some("present-vp")
)
Expand All @@ -68,7 +68,7 @@ object RequestPresentationInput {
extends Annotation[Option[String]](
description = """
| A self-attested string that the receiver may want to display to the user about the context-specific goal of the out-of-band message.
| goal is optional and can be provided when the presentation request is from invitation for connectionless verification.
| goal is optional and can be included when the presentation request is from invitation for connectionless verification.
|""".stripMargin,
example = Some("Request proof of vaccine")
)
Expand Down

0 comments on commit 073a12d

Please sign in to comment.