@@ -18,7 +18,9 @@ Message to discover supported features by agent. This message follows the DIDCom
1818
1919| Field | Description | Type | Required |
2020| ---------------| ------------------| --------| ----------|
21- | queries | List of queries | string | ✅ |
21+ | queries | List of queries | object | ✅ |
22+ | queries[ ] .feature-type| Feature type | string | ✅ |
23+ | queries[ ] .match| Regex pattern to match features | string | ❌ |
2224
2325- ** Example of report problem message:**
2426
@@ -30,7 +32,10 @@ Message to discover supported features by agent. This message follows the DIDCom
3032 "type" : " https://didcomm.org/discover-features/2.0/queries" ,
3133 "body" : {
3234 "queries" : [
33- { "feature-type" : " accept" }
35+ {
36+ "feature-type" : " accept" ,
37+ "match" : " iden3comm/v1;env=application/iden3-zkp-json;.*"
38+ }
3439 ]
3540 },
3641 "from" : " did:polygonid:polygon:amoy:2qaPod1Qxo9UKTzR7K3Yo63gNRFHBm98bh1k1SEY6x" ,
@@ -50,15 +55,22 @@ Example of response
5055 "disclosures" : [
5156 {
5257 "feature-type" : " accept" ,
53- "accept" : [
54- " iden3comm/v1;env=application/iden3-zkp-json;circuitId=authV2;alg=groth16"
55- ]
58+ "id" : " iden3comm/v1;env=application/iden3-zkp-json;circuitId=authV2;alg=groth16"
59+ },
60+ {
61+ "feature-type" : " accept" ,
62+ "id" : " iden3comm/v1;env=application/iden3comm-plain-json"
5663 }
5764 ]
5865 },
5966 "to" : " did:polygonid:polygon:amoy:2qaPod1Qxo9UKTzR7K3Yo63gNRFHBm98bh1k1SEY6x" ,
6067 "from" : " did:polygonid:polygon:mumbai:2qFroxB5kwgCxgVrNGUM6EW3khJgCdHHnKTr3VnTcp"
6168}
6269```
70+ | Field | Description | Type | Required |
71+ | ---------------------| ----------------------------------------------| --------| ----------|
72+ | disclosures | List of disclosed features | object | ✅ |
73+ | disclosures[ ] .feature-type | Feature type | string | ✅ |
74+ | disclosures[ ] .id | List of supported feature identifiers | string | ✅ |
6375
6476See possible accept profiles [ here] ( ../../media-types/overview.md )
0 commit comments