diff --git a/prism-agent/service/server/src/main/scala/io/iohk/atala/issue/controller/http/IssueCredentialRecord.scala b/prism-agent/service/server/src/main/scala/io/iohk/atala/issue/controller/http/IssueCredentialRecord.scala index 704ba3f662..2816a9c38a 100644 --- a/prism-agent/service/server/src/main/scala/io/iohk/atala/issue/controller/http/IssueCredentialRecord.scala +++ b/prism-agent/service/server/src/main/scala/io/iohk/atala/issue/controller/http/IssueCredentialRecord.scala @@ -115,11 +115,11 @@ object IssueCredentialRecord { ) object claims - extends Annotation[Map[String, String]]( + extends Annotation[zio.json.ast.Json]( description = "The claims that will be associated with the issued verifiable credential.", - example = Map( - "firstname" -> "Alice", - "lastname" -> "Wonderland" + example = zio.json.ast.Json.Obj( + "firstname" -> zio.json.ast.Json.Str("Alice"), + "lastname" -> zio.json.ast.Json.Str("Wonderland"), ) )