|
2 | 2 | "openapi" : "3.0.1",
|
3 | 3 | "info" : {
|
4 | 4 | "title" : "Aries Cloud Agent",
|
5 |
| - "version" : "v1.3.0rc0" |
| 5 | + "version" : "v1.3.0rc1" |
6 | 6 | },
|
7 | 7 | "servers" : [ {
|
8 | 8 | "url" : "/"
|
|
7781 | 7781 | "required" : [ "attrNames", "issuerId", "name", "version" ],
|
7782 | 7782 | "type" : "object"
|
7783 | 7783 | },
|
| 7784 | + "AnoncredsPresSpec" : { |
| 7785 | + "properties" : { |
| 7786 | + "requested_attributes" : { |
| 7787 | + "additionalProperties" : { |
| 7788 | + "$ref" : "#/components/schemas/AnoncredsRequestedCredsRequestedAttr" |
| 7789 | + }, |
| 7790 | + "description" : "Nested object mapping proof request attribute referents to requested-attribute specifiers", |
| 7791 | + "type" : "object" |
| 7792 | + }, |
| 7793 | + "requested_predicates" : { |
| 7794 | + "additionalProperties" : { |
| 7795 | + "$ref" : "#/components/schemas/AnoncredsRequestedCredsRequestedPred" |
| 7796 | + }, |
| 7797 | + "description" : "Nested object mapping proof request predicate referents to requested-predicate specifiers", |
| 7798 | + "type" : "object" |
| 7799 | + }, |
| 7800 | + "self_attested_attributes" : { |
| 7801 | + "additionalProperties" : { |
| 7802 | + "description" : "Self-attested attribute values to use in requested-credentials structure for proof construction", |
| 7803 | + "example" : "self_attested_value", |
| 7804 | + "type" : "string" |
| 7805 | + }, |
| 7806 | + "description" : "Self-attested attributes to build into proof", |
| 7807 | + "type" : "object" |
| 7808 | + }, |
| 7809 | + "trace" : { |
| 7810 | + "description" : "Whether to trace event (default false)", |
| 7811 | + "example" : false, |
| 7812 | + "type" : "boolean" |
| 7813 | + } |
| 7814 | + }, |
| 7815 | + "required" : [ "requested_attributes", "requested_predicates", "self_attested_attributes" ], |
| 7816 | + "type" : "object" |
| 7817 | + }, |
7784 | 7818 | "AnoncredsPresentationReqAttrSpec" : {
|
7785 | 7819 | "properties" : {
|
7786 | 7820 | "name" : {
|
|
7945 | 7979 | },
|
7946 | 7980 | "type" : "object"
|
7947 | 7981 | },
|
| 7982 | + "AnoncredsRequestedCredsRequestedAttr" : { |
| 7983 | + "properties" : { |
| 7984 | + "cred_id" : { |
| 7985 | + "description" : "Wallet credential identifier (typically but not necessarily a UUID)", |
| 7986 | + "example" : "3fa85f64-5717-4562-b3fc-2c963f66afa6", |
| 7987 | + "type" : "string" |
| 7988 | + }, |
| 7989 | + "revealed" : { |
| 7990 | + "description" : "Whether to reveal attribute in proof (default true)", |
| 7991 | + "type" : "boolean" |
| 7992 | + } |
| 7993 | + }, |
| 7994 | + "required" : [ "cred_id" ], |
| 7995 | + "type" : "object" |
| 7996 | + }, |
| 7997 | + "AnoncredsRequestedCredsRequestedPred" : { |
| 7998 | + "properties" : { |
| 7999 | + "cred_id" : { |
| 8000 | + "description" : "Wallet credential identifier (typically but not necessarily a UUID)", |
| 8001 | + "example" : "3fa85f64-5717-4562-b3fc-2c963f66afa6", |
| 8002 | + "type" : "string" |
| 8003 | + }, |
| 8004 | + "timestamp" : { |
| 8005 | + "description" : "Epoch timestamp of interest for non-revocation proof", |
| 8006 | + "example" : 1640995199, |
| 8007 | + "maximum" : 18446744073709551615, |
| 8008 | + "minimum" : 0, |
| 8009 | + "type" : "integer" |
| 8010 | + } |
| 8011 | + }, |
| 8012 | + "required" : [ "cred_id" ], |
| 8013 | + "type" : "object" |
| 8014 | + }, |
7948 | 8015 | "AnoncredsRevocationModuleResponse" : {
|
7949 | 8016 | "type" : "object"
|
7950 | 8017 | },
|
@@ -12030,39 +12097,66 @@
|
12030 | 12097 | },
|
12031 | 12098 | "LedgerConfigInstance" : {
|
12032 | 12099 | "properties" : {
|
12033 |
| - "genesis_file" : { |
12034 |
| - "description" : "genesis_file", |
12035 |
| - "type" : "string" |
12036 |
| - }, |
12037 |
| - "genesis_transactions" : { |
12038 |
| - "description" : "genesis_transactions", |
| 12100 | + "endorser_alias" : { |
| 12101 | + "description" : "Endorser service alias (optional)", |
12039 | 12102 | "type" : "string"
|
12040 | 12103 | },
|
12041 |
| - "genesis_url" : { |
12042 |
| - "description" : "genesis_url", |
| 12104 | + "endorser_did" : { |
| 12105 | + "description" : "Endorser DID (optional)", |
12043 | 12106 | "type" : "string"
|
12044 | 12107 | },
|
12045 | 12108 | "id" : {
|
12046 |
| - "description" : "ledger_id", |
| 12109 | + "description" : "Ledger identifier. Auto-generated UUID4 if not provided", |
| 12110 | + "example" : "f47ac10b-58cc-4372-a567-0e02b2c3d479", |
12047 | 12111 | "type" : "string"
|
12048 | 12112 | },
|
12049 | 12113 | "is_production" : {
|
12050 |
| - "description" : "is_production", |
| 12114 | + "description" : "Production-grade ledger (true/false)", |
| 12115 | + "type" : "boolean" |
| 12116 | + }, |
| 12117 | + "is_write" : { |
| 12118 | + "description" : "Write capability enabled (default: False)", |
| 12119 | + "type" : "boolean" |
| 12120 | + }, |
| 12121 | + "keepalive" : { |
| 12122 | + "description" : "Keep-alive timeout in seconds for idle connections", |
| 12123 | + "type" : "integer" |
| 12124 | + }, |
| 12125 | + "pool_name" : { |
| 12126 | + "description" : "Ledger pool name (defaults to ledger ID if not specified)", |
| 12127 | + "example" : "bcovrin-test-pool", |
| 12128 | + "type" : "string" |
| 12129 | + }, |
| 12130 | + "read_only" : { |
| 12131 | + "description" : "Read-only access (default: False)", |
12051 | 12132 | "type" : "boolean"
|
| 12133 | + }, |
| 12134 | + "socks_proxy" : { |
| 12135 | + "description" : "SOCKS proxy URL (optional)", |
| 12136 | + "type" : "string" |
12052 | 12137 | }
|
12053 | 12138 | },
|
| 12139 | + "required" : [ "id", "is_production" ], |
12054 | 12140 | "type" : "object"
|
12055 | 12141 | },
|
12056 | 12142 | "LedgerConfigList" : {
|
12057 | 12143 | "properties" : {
|
12058 |
| - "ledger_config_list" : { |
| 12144 | + "non_production_ledgers" : { |
| 12145 | + "description" : "Non-production ledgers (may be empty)", |
| 12146 | + "items" : { |
| 12147 | + "$ref" : "#/components/schemas/LedgerConfigInstance" |
| 12148 | + }, |
| 12149 | + "type" : "array" |
| 12150 | + }, |
| 12151 | + "production_ledgers" : { |
| 12152 | + "description" : "Production ledgers (may be empty)", |
12059 | 12153 | "items" : {
|
12060 | 12154 | "$ref" : "#/components/schemas/LedgerConfigInstance"
|
12061 | 12155 | },
|
12062 | 12156 | "type" : "array"
|
12063 | 12157 | }
|
12064 | 12158 | },
|
12065 |
| - "required" : [ "ledger_config_list" ], |
| 12159 | + "required" : [ "non_production_ledgers", "production_ledgers" ], |
12066 | 12160 | "type" : "object"
|
12067 | 12161 | },
|
12068 | 12162 | "LedgerModulesResult" : {
|
|
16631 | 16725 | "properties" : {
|
16632 | 16726 | "anoncreds" : {
|
16633 | 16727 | "allOf" : [ {
|
16634 |
| - "$ref" : "#/components/schemas/IndyPresSpec" |
| 16728 | + "$ref" : "#/components/schemas/AnoncredsPresSpec" |
16635 | 16729 | } ],
|
16636 | 16730 | "description" : "Presentation specification for anoncreds",
|
16637 | 16731 | "type" : "object"
|
|
0 commit comments