Skip to content

Commit

Permalink
Docs: fix incorrect PEX example (#3087)
Browse files Browse the repository at this point in the history
  • Loading branch information
reinkrul authored May 6, 2024
1 parent 760f130 commit 6762f04
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions docs/pages/deployment/pex.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,18 @@ JSON documents used for policies must have the following structure:

.. code-block:: json
{
"example_scope": {
"organization": {
"id": "example",
"format": {
"ldp_vc": {
"proof_type": ["JsonWebSignature2020"]
{
"example_scope": {
"organization": {
"id": "example",
"format": {
"ldp_vc": {
"proof_type": ["JsonWebSignature2020"]
},
"ldp_vp": {
"proof_type": ["JsonWebSignature2020"]
}
},
"ldp_vp": {
"proof_type": ["JsonWebSignature2020"]
}
},
"definition": {
"input_descriptors": [
{
"id": "1",
Expand All @@ -69,11 +68,11 @@ JSON documents used for policies must have the following structure:
}
},
{
"id": "fullName",
"path": ["$.credentialSubject.fullName"],
"filter": {
"type": "string",
}
"id": "fullName",
"path": ["$.credentialSubject.fullName"],
"filter": {
"type": "string"
}
}
]
}
Expand All @@ -82,7 +81,6 @@ JSON documents used for policies must have the following structure:
}
}
}
}
Where ``example_scope`` is the scope that the presentation definition is associated with.
The ``presentation_definition`` object contains the presentation definition that should be used for the given scope.
Expand Down

0 comments on commit 6762f04

Please sign in to comment.