@@ -560,7 +560,7 @@ If the Verifier responds with any HTTP error response, the Wallet MUST terminate
560
560
The Verifiable Presentation Query Language (VP Query) is a JSON-encoded query
561
561
language that allows the Verifier to request the Wallet to present Verifiable
562
562
Credentials that match the query. The Verifier MAY encode constraints on the
563
- combinations of credentials and claims that may be returned . The Wallet evaluates the
563
+ combinations of credentials and claims that are requested . The Wallet evaluates the
564
564
query against the Verifiable Credentials it holds and returns the Verifiable
565
565
Presentations that match the query.
566
566
@@ -572,10 +572,10 @@ top-level properties:
572
572
that specify the requested Verifiable Credentials.
573
573
574
574
` valid_credential_sets ` :
575
- : OPTIONAL. A non-empty array containing arrays of identifiers for elements in
575
+ : OPTIONAL. A non-empty array containing arrays of identifiers for Credential Queries defined in
576
576
` expect_credentials ` that defines which sets of Credentials may be returned.
577
577
The identifier MAY be postfixed by ` ? ` , indicating that
578
- delivery of the the respective credential is optional. For details, see
578
+ delivery of the the respective Credential is optional. For details, see
579
579
(#vp_query_lang_processing_rules).
580
580
581
581
Note: While this specification does not define additional top-level properties,
@@ -585,24 +585,24 @@ the Wallet when processing the query.
585
585
## Credential Query {#credential_query}
586
586
587
587
A Credential Query is an object representing a request for one specific
588
- credential .
588
+ Credential .
589
589
590
590
It contains the following properties:
591
591
592
592
` id ` :
593
- : REQUIRED. A string identifying the credential in the response and, if provided,
593
+ : REQUIRED. A string identifying the Credential in the response and, if provided,
594
594
the constraints in ` valid_credential_sets ` .
595
595
596
596
` format ` :
597
597
: REQUIRED. A string that specifies the format of the requested
598
- Verifiable Credential. Valid Credential format identifier values are defined in
598
+ Verifiable Credential. Valid Credential Format Identifier values are defined in
599
599
Appendix A of [ @!OpenID.VCI] . The value of this property MUST be one of the
600
- supported Credential formats as defined in the Wallet's metadata.
600
+ supported Credential Formats as defined in the Wallet's metadata.
601
601
602
602
` expect_meta ` :
603
603
: OPTIONAL. An object defining additional properties requested by the Verifier that
604
- apply to the metadata and validity data of the credential . The properties of
605
- this object are defined per format in (#format_specific_properties). If omitted,
604
+ apply to the metadata and validity data of the Credential . The properties of
605
+ this object are defined per Credential Format in (#format_specific_properties). If omitted,
606
606
no specific restrictions are placed on the metadata or validity of the requested
607
607
Credential.
608
608
@@ -627,17 +627,17 @@ Within the particular `expected_claims` array, the same `id` MUST NOT
627
627
be present more than once.
628
628
629
629
` path ` :
630
- : REQUIRED if the credential format uses a JSON-based claims structure; MUST NOT
630
+ : REQUIRED if the Credential Format uses a JSON-based claims structure; MUST NOT
631
631
be present otherwise. The value MUST be a claims path pointer that specifies the path to the claim
632
632
within the Verifiable Credential, as defined in (#claims_path_pointer).
633
633
634
634
` namespace ` :
635
- : REQUIRED if the credential format is based on ISO 18013-5; MUST NOT be present otherwise.
635
+ : REQUIRED if the Credential Format is based on mdoc format defined in ISO 18013-5; MUST NOT be present otherwise.
636
636
The value MUST be a string that specifies the namespace of the claim
637
637
within the Verifiable Credential, e.g., ` org.iso.18013.5.1 ` .
638
638
639
639
` claim_name ` :
640
- : REQUIRED if the credential format is based on ISO 18013-5; MUST NOT be present otherwise.
640
+ : REQUIRED if the Credential Format is based on mdoc format defined in ISO 18013-5; MUST NOT be present otherwise.
641
641
The value MUST be a string that specifies the name of the claim within the provided namespace
642
642
in the Verifiable Credential, e.g., ` first_name ` .
643
643
@@ -667,15 +667,15 @@ The following rules apply for selecting claims via `expect_claims` and `valid_cl
667
667
` valid_claim_sets ` , with optional claims marked by the postfix ` ? ` .
668
668
669
669
If the Wallet cannot fulfill the request by the Verifier, it MUST NOT
670
- return the respective credential .
670
+ return the respective Credential .
671
671
672
672
#### Selecting Credentials
673
673
674
- The following rules apply for selecting credentials via ` expect_credentials ` and ` valid_credential_sets ` :
674
+ The following rules apply for selecting Credentials via ` expect_credentials ` and ` valid_credential_sets ` :
675
675
676
676
- If ` valid_credential_sets ` is not provided, the Verifier expects all
677
- credentials in ` expect_credentials ` to be returned.
678
- - Otherwise, the Verifier expects one combination of the credentials
677
+ Credentials in ` expect_credentials ` to be returned.
678
+ - Otherwise, the Verifier expects one combination of the Credentials
679
679
listed in ` valid_credential_sets ` , with optional credentials marked by the postfix ` ? ` .
680
680
681
681
Credentials not matching the respective restrictions expressed within
@@ -725,10 +725,10 @@ TBD
725
725
726
726
A claims path pointer is a pointer into the JSON structure of the Verifiable
727
727
Credential, identifying one or more claims. A claims path pointer MUST be a
728
- non-empty array of strings and non-negative integers. A ` * ` string value indicates
729
- that all elements of the currently selected array(s) are to be selected; any other
730
- string indicates that the respective key is to be selected; and a non-negative
731
- integer indicates that the respective index in an array is to be selected. The path
728
+ non-empty array of strings and non-negative integers. A string value
729
+ indicates that the respective key is to be selected, the special string value ` * `
730
+ indicates that all elements of the currently selected array(s) are to be selected;
731
+ and a non-negative integer indicates that the respective index in an array is to be selected. The path
732
732
is formed as follows:
733
733
734
734
- Start with an empty array.
@@ -784,7 +784,7 @@ claims:
784
784
785
785
In detail, the array is processed by the Wallet from left to right as follows:
786
786
787
- 1 . Select the root element of the credential , i.e., the top-level JSON object.
787
+ 1 . Select the root element of the Credential , i.e., the top-level JSON object.
788
788
2 . Process the query components from left to right:
789
789
1 . If the query component is a string, select the element in the respective
790
790
key in the currently selected element(s). If any of the currently
0 commit comments