-
Notifications
You must be signed in to change notification settings - Fork 0
/
openapi.json
1 lines (1 loc) · 70.7 KB
/
openapi.json
1
{"openapi":"3.0.2","info":{"title":"FastAPI","version":"0.1.0"},"paths":{"/topic/connections":{"post":{"tags":["connections"],"summary":"Connection updates","operationId":"connections_topic_connections_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnRecord"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/topic/oob_invitation":{"post":{"tags":["connections"],"summary":"Out-of-band updates","operationId":"oob_invitation_topic_oob_invitation_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationRecord"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/topic/mediation":{"post":{"tags":["connections"],"summary":"Mediation updates","operationId":"mediation_topic_mediation_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediationRecord"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/topic/revocation_registry":{"post":{"tags":["credentials"],"summary":"Revocation registry updates","operationId":"revocation_registry_topic_revocation_registry_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssuerRevRegRecord"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/topic/issuer_cred_rev":{"post":{"tags":["credentials"],"summary":"Credential revocation updates (issuer)","operationId":"issuer_cred_rev_topic_issuer_cred_rev_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssuerCredRevRecord"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/topic/issue_credential":{"post":{"tags":["credentials"],"summary":"Credential exchange updates","operationId":"issue_credential_topic_issue_credential_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V10CredentialExchange"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/topic/issue_credential_v2_0":{"post":{"tags":["credentials"],"summary":"Credential exchange v2 updates","operationId":"issue_credential_v2_0_topic_issue_credential_v2_0_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V20CredExRecord"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/topic/present_proof":{"post":{"tags":["credentials"],"summary":"Presentation exchange updates","operationId":"present_proof_topic_present_proof_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V10PresentationExchange"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/topic/present_proof_v2_0":{"post":{"tags":["credentials"],"summary":"Presentation exchange v2 updates","operationId":"present_proof_v2_0_topic_present_proof_v2_0_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V20PresExRecord"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/topic/discover_feature":{"post":{"tags":["other"],"summary":"Discover Feature 1.0","operationId":"discover_feature_topic_discover_feature_post","parameters":[{"name":"body","in":"query","required":true,"schema":{"title":"Body"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/topic/discover_feature_v2_0":{"post":{"tags":["other"],"summary":"Discover Feature 2.0","operationId":"discover_feature_v2_0_topic_discover_feature_v2_0_post","parameters":[{"name":"body","in":"query","required":true,"schema":{"title":"Body"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/topic/endorse_transaction":{"post":{"tags":["other"],"summary":"Endorse Transaction updates","operationId":"endorse_transaction_topic_endorse_transaction_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionRecord"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/topic/{topic}":{"post":{"summary":"Webhook Received","operationId":"webhook_received_topic__topic__post","parameters":[{"required":true,"schema":{"title":"Topic","type":"string"},"name":"topic","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"Accept":{"title":"Accept","enum":["manual","auto"],"description":"Connection acceptance: manual or auto"},"AttachDecorator":{"title":"AttachDecorator","required":["data"],"type":"object","properties":{"byte_count":{"title":"Byte Count","type":"integer","description":"Byte count of data included by reference","example":1234},"data":{"$ref":"#/components/schemas/AttachDecoratorData"},"description":{"title":"Description","type":"string","description":"Human-readable description of content","example":"view from doorway, facing east, with lights off"},"filename":{"title":"Filename","type":"string","description":"File name","example":"IMG1092348.png"},"lastmod_time":{"title":"Lastmod Time","pattern":"^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$","type":"string","description":"Hint regarding last modification datetime, in ISO-8601 format","example":"2021-12-31 23:59:59+00:00"},"mime-type":{"title":"Mime-Type","type":"string","description":"MIME type","example":"image/png"}}},"AttachDecoratorData":{"title":"AttachDecoratorData","type":"object","properties":{"base64":{"title":"Base64","pattern":"^[a-zA-Z0-9+/]*={0,2}$","type":"string","description":"Base64-encoded data","example":"ey4uLn0="},"json":{"title":"Json","type":"object","description":"JSON-serialized data","example":"{\"sample\": \"content\"}"},"jws":{"title":"Jws","allOf":[{"$ref":"#/components/schemas/AttachDecoratorDataJWS"}],"description":"Detached Java Web Signature"},"links":{"title":"Links","type":"array","items":{"type":"string"},"description":"List of hypertext links to data"},"sha256":{"title":"Sha256","pattern":"^[a-fA-F0-9+/]{64}$","type":"string","description":"SHA256 hash (binhex encoded) of content","example":"617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"}}},"AttachDecoratorData1JWS":{"title":"AttachDecoratorData1JWS","required":["header","signature"],"type":"object","properties":{"header":{"$ref":"#/components/schemas/AttachDecoratorDataJWSHeader"},"protected":{"title":"Protected","pattern":"^[-_a-zA-Z0-9]*$","type":"string","description":"protected JWS header","example":"ey4uLn0"},"signature":{"title":"Signature","pattern":"^[-_a-zA-Z0-9]*$","type":"string","description":"signature","example":"ey4uLn0"}}},"AttachDecoratorDataJWS":{"title":"AttachDecoratorDataJWS","type":"object","properties":{"header":{"$ref":"#/components/schemas/AttachDecoratorDataJWSHeader"},"protected":{"title":"Protected","pattern":"^[-_a-zA-Z0-9]*$","type":"string","description":"protected JWS header","example":"ey4uLn0"},"signature":{"title":"Signature","pattern":"^[-_a-zA-Z0-9]*$","type":"string","description":"signature","example":"ey4uLn0"},"signatures":{"title":"Signatures","type":"array","items":{"$ref":"#/components/schemas/AttachDecoratorData1JWS"},"description":"List of signatures"}}},"AttachDecoratorDataJWSHeader":{"title":"AttachDecoratorDataJWSHeader","required":["kid"],"type":"object","properties":{"kid":{"title":"Kid","pattern":"^did:(?:key:z[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]+|sov:[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}(;.*)?(\\?.*)?#.+)$","type":"string","description":"Key identifier, in W3C did:key or DID URL format","example":"did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"}}},"ConnRecord":{"title":"ConnRecord","type":"object","properties":{"accept":{"allOf":[{"$ref":"#/components/schemas/Accept"}],"description":"Connection acceptance: manual or auto","example":"auto"},"alias":{"title":"Alias","type":"string","description":"Optional alias to apply to connection for later use","example":"Bob, providing quotes"},"connection_id":{"title":"Connection Id","type":"string","description":"Connection identifier","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"connection_protocol":{"allOf":[{"$ref":"#/components/schemas/ConnectionProtocol"}],"description":"Connection protocol used","example":"connections/1.0"},"created_at":{"title":"Created At","pattern":"^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$","type":"string","description":"Time of record creation","example":"2021-12-31 23:59:59+00:00"},"error_msg":{"title":"Error Msg","type":"string","description":"Error message","example":"No DIDDoc provided; cannot connect to public DID"},"inbound_connection_id":{"title":"Inbound Connection Id","type":"string","description":"Inbound routing connection id to use","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"invitation_key":{"title":"Invitation Key","pattern":"^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{43,44}$","type":"string","description":"Public key for connection","example":"H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV"},"invitation_mode":{"allOf":[{"$ref":"#/components/schemas/InvitationMode"}],"description":"Invitation mode","example":"once"},"invitation_msg_id":{"title":"Invitation Msg Id","type":"string","description":"ID of out-of-band invitation message","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"my_did":{"title":"My Did","pattern":"^(did:sov:)?[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}$","type":"string","description":"Our DID for connection","example":"WgWxqztrNooG92RXvxSTWv"},"request_id":{"title":"Request Id","type":"string","description":"Connection request identifier","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"rfc23_state":{"title":"Rfc23 State","type":"string","description":"State per RFC 23","example":"invitation-sent"},"routing_state":{"allOf":[{"$ref":"#/components/schemas/RoutingState"}],"description":"Routing state of connection","example":"active"},"state":{"title":"State","type":"string","description":"Current record state","example":"active"},"their_did":{"title":"Their Did","pattern":"^(did:sov:)?[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}$","type":"string","description":"Their DID for connection","example":"WgWxqztrNooG92RXvxSTWv"},"their_label":{"title":"Their Label","type":"string","description":"Their label for connection","example":"Bob"},"their_public_did":{"title":"Their Public Did","type":"string","description":"Other agent's public DID for connection","example":"2cpBmR3FqGKWi5EyUbpRY8"},"their_role":{"allOf":[{"$ref":"#/components/schemas/TheirRole"}],"description":"Their role in the connection protocol","example":"requester"},"updated_at":{"title":"Updated At","pattern":"^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$","type":"string","description":"Time of last record update","example":"2021-12-31 23:59:59+00:00"}}},"ConnectionProtocol":{"title":"ConnectionProtocol","enum":["connections/1.0","didexchange/1.0"],"description":"Connection protocol used"},"CredAttrSpec":{"title":"CredAttrSpec","required":["name","value"],"type":"object","properties":{"mime-type":{"title":"Mime-Type","type":"string","description":"MIME type: omit for (null) default","example":"image/jpeg"},"name":{"title":"Name","type":"string","description":"Attribute name","example":"favourite_drink"},"value":{"title":"Value","type":"string","description":"Attribute value: base64-encode if MIME type is present","example":"martini"}}},"CredentialOffer":{"title":"CredentialOffer","required":["offers~attach"],"type":"object","properties":{"comment":{"title":"Comment","type":"string","description":"Human-readable comment"},"credential_preview":{"$ref":"#/components/schemas/CredentialPreview"},"offers~attach":{"title":"Offers~Attach","type":"array","items":{"$ref":"#/components/schemas/AttachDecorator"}}}},"CredentialPreview":{"title":"CredentialPreview","required":["attributes"],"type":"object","properties":{"attributes":{"title":"Attributes","type":"array","items":{"$ref":"#/components/schemas/CredAttrSpec"}}}},"CredentialProposal":{"title":"CredentialProposal","type":"object","properties":{"comment":{"title":"Comment","type":"string","description":"Human-readable comment"},"cred_def_id":{"title":"Cred Def Id","pattern":"^([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}):3:CL:(([1-9][0-9]*)|([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}:2:.+:[0-9.]+)):(.+)?$","type":"string","example":"WgWxqztrNooG92RXvxSTWv:3:CL:20:tag"},"credential_proposal":{"$ref":"#/components/schemas/CredentialPreview"},"issuer_did":{"title":"Issuer Did","pattern":"^(did:sov:)?[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}$","type":"string","example":"WgWxqztrNooG92RXvxSTWv"},"schema_id":{"title":"Schema Id","pattern":"^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}:2:.+:[0-9.]+$","type":"string","example":"WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0"},"schema_issuer_did":{"title":"Schema Issuer Did","pattern":"^(did:sov:)?[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}$","type":"string","example":"WgWxqztrNooG92RXvxSTWv"},"schema_name":{"title":"Schema Name","type":"string"},"schema_version":{"title":"Schema Version","pattern":"^[0-9.]+$","type":"string","example":"1.0"}}},"HTTPValidationError":{"title":"HTTPValidationError","type":"object","properties":{"detail":{"title":"Detail","type":"array","items":{"$ref":"#/components/schemas/ValidationError"}}}},"IndyAttrValue":{"title":"IndyAttrValue","required":["encoded","raw"],"type":"object","properties":{"encoded":{"title":"Encoded","pattern":"^-?[0-9]*$","type":"string","description":"Attribute encoded value","example":-1},"raw":{"title":"Raw","type":"string","description":"Attribute raw value"}}},"IndyCredAbstract":{"title":"IndyCredAbstract","required":["cred_def_id","key_correctness_proof","nonce","schema_id"],"type":"object","properties":{"cred_def_id":{"title":"Cred Def Id","pattern":"^([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}):3:CL:(([1-9][0-9]*)|([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}:2:.+:[0-9.]+)):(.+)?$","type":"string","description":"Credential definition identifier","example":"WgWxqztrNooG92RXvxSTWv:3:CL:20:tag"},"key_correctness_proof":{"title":"Key Correctness Proof","allOf":[{"$ref":"#/components/schemas/IndyKeyCorrectnessProof"}],"description":"Key correctness proof"},"nonce":{"title":"Nonce","pattern":"^[0-9]*$","type":"string","description":"Nonce in credential abstract","example":"0"},"schema_id":{"title":"Schema Id","pattern":"^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}:2:.+:[0-9.]+$","type":"string","description":"Schema identifier","example":"WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0"}}},"IndyCredInfo":{"title":"IndyCredInfo","type":"object","properties":{"attrs":{"title":"Attrs","type":"object","additionalProperties":{"type":"string"},"description":"Attribute names and value"},"cred_def_id":{"title":"Cred Def Id","pattern":"^([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}):3:CL:(([1-9][0-9]*)|([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}:2:.+:[0-9.]+)):(.+)?$","type":"string","description":"Credential definition identifier","example":"WgWxqztrNooG92RXvxSTWv:3:CL:20:tag"},"cred_rev_id":{"title":"Cred Rev Id","pattern":"^[1-9][0-9]*$","type":"string","description":"Credential revocation identifier","example":"12345"},"referent":{"title":"Referent","type":"string","description":"Wallet referent","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"rev_reg_id":{"title":"Rev Reg Id","pattern":"^([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}):4:([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}):3:CL:(([1-9][0-9]*)|([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}:2:.+:[0-9.]+))(:.+)?:CL_ACCUM:(.+$)","type":"string","description":"Revocation registry identifier","example":"WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0"},"schema_id":{"title":"Schema Id","pattern":"^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}:2:.+:[0-9.]+$","type":"string","description":"Schema identifier","example":"WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0"}}},"IndyCredRequest":{"title":"IndyCredRequest","required":["blinded_ms","blinded_ms_correctness_proof","cred_def_id","nonce","prover_did"],"type":"object","properties":{"blinded_ms":{"title":"Blinded Ms","type":"object","description":"Blinded master secret"},"blinded_ms_correctness_proof":{"title":"Blinded Ms Correctness Proof","type":"object","description":"Blinded master secret correctness proof"},"cred_def_id":{"title":"Cred Def Id","pattern":"^([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}):3:CL:(([1-9][0-9]*)|([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}:2:.+:[0-9.]+)):(.+)?$","type":"string","description":"Credential definition identifier","example":"WgWxqztrNooG92RXvxSTWv:3:CL:20:tag"},"nonce":{"title":"Nonce","pattern":"^[0-9]*$","type":"string","description":"Nonce in credential request","example":"0"},"prover_did":{"title":"Prover Did","pattern":"^(did:sov:)?[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}$","type":"string","description":"Prover DID","example":"WgWxqztrNooG92RXvxSTWv"}}},"IndyCredential":{"title":"IndyCredential","required":["cred_def_id","schema_id","signature","signature_correctness_proof","values"],"type":"object","properties":{"cred_def_id":{"title":"Cred Def Id","pattern":"^([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}):3:CL:(([1-9][0-9]*)|([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}:2:.+:[0-9.]+)):(.+)?$","type":"string","description":"Credential definition identifier","example":"WgWxqztrNooG92RXvxSTWv:3:CL:20:tag"},"rev_reg":{"title":"Rev Reg","type":"object","description":"Revocation registry state"},"rev_reg_id":{"title":"Rev Reg Id","pattern":"^([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}):4:([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}):3:CL:(([1-9][0-9]*)|([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}:2:.+:[0-9.]+))(:.+)?:CL_ACCUM:(.+$)","type":"string","description":"Revocation registry identifier","example":"WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0"},"schema_id":{"title":"Schema Id","pattern":"^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}:2:.+:[0-9.]+$","type":"string","description":"Schema identifier","example":"WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0"},"signature":{"title":"Signature","type":"object","description":"Credential signature"},"signature_correctness_proof":{"title":"Signature Correctness Proof","type":"object","description":"Credential signature correctness proof"},"values":{"title":"Values","type":"object","additionalProperties":{"$ref":"#/components/schemas/IndyAttrValue"},"description":"Credential attributes"},"witness":{"title":"Witness","type":"object","description":"Witness for revocation proof"}}},"IndyEQProof":{"title":"IndyEQProof","type":"object","properties":{"a_prime":{"title":"A Prime","pattern":"^[0-9]*$","type":"string","example":"0"},"e":{"title":"E","pattern":"^[0-9]*$","type":"string","example":"0"},"m":{"title":"M","type":"object","additionalProperties":{"type":"string"}},"m2":{"title":"M2","pattern":"^[0-9]*$","type":"string","example":"0"},"revealed_attrs":{"title":"Revealed Attrs","type":"object","additionalProperties":{"type":"string"}},"v":{"title":"V","pattern":"^[0-9]*$","type":"string","example":"0"}}},"IndyGEProof":{"title":"IndyGEProof","type":"object","properties":{"alpha":{"title":"Alpha","pattern":"^[0-9]*$","type":"string","example":"0"},"mj":{"title":"Mj","pattern":"^[0-9]*$","type":"string","example":"0"},"predicate":{"$ref":"#/components/schemas/IndyGEProofPred"},"r":{"title":"R","type":"object","additionalProperties":{"type":"string"}},"t":{"title":"T","type":"object","additionalProperties":{"type":"string"}},"u":{"title":"U","type":"object","additionalProperties":{"type":"string"}}}},"IndyGEProofPred":{"title":"IndyGEProofPred","type":"object","properties":{"attr_name":{"title":"Attr Name","type":"string","description":"Attribute name, indy-canonicalized"},"p_type":{"allOf":[{"$ref":"#/components/schemas/PType"}],"description":"Predicate type"},"value":{"title":"Value","type":"integer","description":"Predicate threshold value"}}},"IndyKeyCorrectnessProof":{"title":"IndyKeyCorrectnessProof","required":["c","xr_cap","xz_cap"],"type":"object","properties":{"c":{"title":"C","pattern":"^[0-9]*$","type":"string","description":"c in key correctness proof","example":"0"},"xr_cap":{"title":"Xr Cap","type":"array","items":{"type":"array","items":{"type":"string"}},"description":"xr_cap in key correctness proof"},"xz_cap":{"title":"Xz Cap","pattern":"^[0-9]*$","type":"string","description":"xz_cap in key correctness proof","example":"0"}}},"IndyNonRevocProof":{"title":"IndyNonRevocProof","type":"object","properties":{"c_list":{"title":"C List","type":"object","additionalProperties":{"type":"string"}},"x_list":{"title":"X List","type":"object","additionalProperties":{"type":"string"}}}},"IndyPresAttrSpec":{"title":"IndyPresAttrSpec","required":["name"],"type":"object","properties":{"cred_def_id":{"title":"Cred Def Id","pattern":"^([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}):3:CL:(([1-9][0-9]*)|([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}:2:.+:[0-9.]+)):(.+)?$","type":"string","example":"WgWxqztrNooG92RXvxSTWv:3:CL:20:tag"},"mime-type":{"title":"Mime-Type","type":"string","description":"MIME type (default null)","example":"image/jpeg"},"name":{"title":"Name","type":"string","description":"Attribute name","example":"favourite_drink"},"referent":{"title":"Referent","type":"string","description":"Credential referent","example":"0"},"value":{"title":"Value","type":"string","description":"Attribute value","example":"martini"}}},"IndyPresPredSpec":{"title":"IndyPresPredSpec","required":["name","predicate","threshold"],"type":"object","properties":{"cred_def_id":{"title":"Cred Def Id","pattern":"^([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}):3:CL:(([1-9][0-9]*)|([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}:2:.+:[0-9.]+)):(.+)?$","type":"string","description":"Credential definition identifier","example":"WgWxqztrNooG92RXvxSTWv:3:CL:20:tag"},"name":{"title":"Name","type":"string","description":"Attribute name","example":"high_score"},"predicate":{"allOf":[{"$ref":"#/components/schemas/Predicate1"}],"description":"Predicate type ('<', '<=', '>=', or '>')","example":">="},"threshold":{"title":"Threshold","type":"integer","description":"Threshold value"}}},"IndyPresPreview":{"title":"IndyPresPreview","required":["attributes","predicates"],"type":"object","properties":{"attributes":{"title":"Attributes","type":"array","items":{"$ref":"#/components/schemas/IndyPresAttrSpec"}},"predicates":{"title":"Predicates","type":"array","items":{"$ref":"#/components/schemas/IndyPresPredSpec"}}}},"IndyPrimaryProof":{"title":"IndyPrimaryProof","type":"object","properties":{"eq_proof":{"title":"Eq Proof","allOf":[{"$ref":"#/components/schemas/IndyEQProof"}],"description":"Indy equality proof"},"ge_proofs":{"title":"Ge Proofs","type":"array","items":{"$ref":"#/components/schemas/IndyGEProof"},"description":"Indy GE proofs"}}},"IndyProof":{"title":"IndyProof","type":"object","properties":{"identifiers":{"title":"Identifiers","type":"array","items":{"$ref":"#/components/schemas/IndyProofIdentifier"},"description":"Indy proof.identifiers content"},"proof":{"title":"Proof","allOf":[{"$ref":"#/components/schemas/IndyProofProof"}],"description":"Indy proof.proof content"},"requested_proof":{"title":"Requested Proof","allOf":[{"$ref":"#/components/schemas/IndyProofRequestedProof"}],"description":"Indy proof.requested_proof content"}}},"IndyProofIdentifier":{"title":"IndyProofIdentifier","type":"object","properties":{"cred_def_id":{"title":"Cred Def Id","pattern":"^([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}):3:CL:(([1-9][0-9]*)|([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}:2:.+:[0-9.]+)):(.+)?$","type":"string","description":"Credential definition identifier","example":"WgWxqztrNooG92RXvxSTWv:3:CL:20:tag"},"rev_reg_id":{"title":"Rev Reg Id","pattern":"^([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}):4:([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}):3:CL:(([1-9][0-9]*)|([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}:2:.+:[0-9.]+))(:.+)?:CL_ACCUM:(.+$)","type":"string","description":"Revocation registry identifier","example":"WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0"},"schema_id":{"title":"Schema Id","pattern":"^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}:2:.+:[0-9.]+$","type":"string","description":"Schema identifier","example":"WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0"},"timestamp":{"title":"Timestamp","maximum":1.8446744073709552e+19,"minimum":0.0,"type":"integer","description":"Timestamp epoch","example":1640995199}}},"IndyProofProof":{"title":"IndyProofProof","type":"object","properties":{"aggregated_proof":{"title":"Aggregated Proof","allOf":[{"$ref":"#/components/schemas/IndyProofProofAggregatedProof"}],"description":"Indy proof aggregated proof"},"proofs":{"title":"Proofs","type":"array","items":{"$ref":"#/components/schemas/IndyProofProofProofsProof"},"description":"Indy proof proofs"}}},"IndyProofProofAggregatedProof":{"title":"IndyProofProofAggregatedProof","type":"object","properties":{"c_hash":{"title":"C Hash","type":"string","description":"c_hash value"},"c_list":{"title":"C List","type":"array","items":{"type":"array","items":{"type":"integer"}},"description":"c_list value"}}},"IndyProofProofProofsProof":{"title":"IndyProofProofProofsProof","type":"object","properties":{"non_revoc_proof":{"title":"Non Revoc Proof","allOf":[{"$ref":"#/components/schemas/IndyNonRevocProof"}],"description":"Indy non-revocation proof"},"primary_proof":{"title":"Primary Proof","allOf":[{"$ref":"#/components/schemas/IndyPrimaryProof"}],"description":"Indy primary proof"}}},"IndyProofReqAttrSpec":{"title":"IndyProofReqAttrSpec","type":"object","properties":{"name":{"title":"Name","type":"string","description":"Attribute name","example":"favouriteDrink"},"names":{"title":"Names","type":"array","items":{"type":"string"},"description":"Attribute name group"},"non_revoked":{"$ref":"#/components/schemas/IndyProofReqAttrSpecNonRevoked"},"restrictions":{"title":"Restrictions","type":"array","items":{"type":"object","additionalProperties":{"type":"string"}},"description":"If present, credential must satisfy one of given restrictions: specify schema_id, schema_issuer_did, schema_name, schema_version, issuer_did, cred_def_id, and/or attr::<attribute-name>::value where <attribute-name> represents a credential attribute name"}}},"IndyProofReqAttrSpecNonRevoked":{"title":"IndyProofReqAttrSpecNonRevoked","type":"object","properties":{"from":{"title":"From","maximum":1.8446744073709552e+19,"minimum":0.0,"type":"integer","description":"Earliest time of interest in non-revocation interval","example":1640995199},"to":{"title":"To","maximum":1.8446744073709552e+19,"minimum":0.0,"type":"integer","description":"Latest time of interest in non-revocation interval","example":1640995199}}},"IndyProofReqPredSpec":{"title":"IndyProofReqPredSpec","required":["name","p_type","p_value"],"type":"object","properties":{"name":{"title":"Name","type":"string","description":"Attribute name","example":"index"},"non_revoked":{"$ref":"#/components/schemas/IndyProofReqPredSpecNonRevoked"},"p_type":{"allOf":[{"$ref":"#/components/schemas/Predicate1"}],"description":"Predicate type ('<', '<=', '>=', or '>')","example":">="},"p_value":{"title":"P Value","type":"integer","description":"Threshold value"},"restrictions":{"title":"Restrictions","type":"array","items":{"type":"object","additionalProperties":{"type":"string"}},"description":"If present, credential must satisfy one of given restrictions: specify schema_id, schema_issuer_did, schema_name, schema_version, issuer_did, cred_def_id, and/or attr::<attribute-name>::value where <attribute-name> represents a credential attribute name"}}},"IndyProofReqPredSpecNonRevoked":{"title":"IndyProofReqPredSpecNonRevoked","type":"object","properties":{"from":{"title":"From","maximum":1.8446744073709552e+19,"minimum":0.0,"type":"integer","description":"Earliest time of interest in non-revocation interval","example":1640995199},"to":{"title":"To","maximum":1.8446744073709552e+19,"minimum":0.0,"type":"integer","description":"Latest time of interest in non-revocation interval","example":1640995199}}},"IndyProofRequest":{"title":"IndyProofRequest","required":["requested_attributes","requested_predicates"],"type":"object","properties":{"name":{"title":"Name","type":"string","description":"Proof request name","example":"Proof request"},"non_revoked":{"$ref":"#/components/schemas/IndyProofRequestNonRevoked"},"nonce":{"title":"Nonce","pattern":"^[1-9][0-9]*$","type":"string","description":"Nonce","example":"1"},"requested_attributes":{"title":"Requested Attributes","type":"object","additionalProperties":{"$ref":"#/components/schemas/IndyProofReqAttrSpec"},"description":"Requested attribute specifications of proof request"},"requested_predicates":{"title":"Requested Predicates","type":"object","additionalProperties":{"$ref":"#/components/schemas/IndyProofReqPredSpec"},"description":"Requested predicate specifications of proof request"},"version":{"title":"Version","pattern":"^[0-9.]+$","type":"string","description":"Proof request version","example":"1.0"}}},"IndyProofRequestNonRevoked":{"title":"IndyProofRequestNonRevoked","type":"object","properties":{"from":{"title":"From","maximum":1.8446744073709552e+19,"minimum":0.0,"type":"integer","description":"Earliest time of interest in non-revocation interval","example":1640995199},"to":{"title":"To","maximum":1.8446744073709552e+19,"minimum":0.0,"type":"integer","description":"Latest time of interest in non-revocation interval","example":1640995199}}},"IndyProofRequestedProof":{"title":"IndyProofRequestedProof","type":"object","properties":{"predicates":{"title":"Predicates","type":"object","additionalProperties":{"$ref":"#/components/schemas/IndyProofRequestedProofPredicate"},"description":"Proof requested proof predicates."},"revealed_attr_groups":{"title":"Revealed Attr Groups","type":"object","additionalProperties":{"$ref":"#/components/schemas/IndyProofRequestedProofRevealedAttrGroup"},"description":"Proof requested proof revealed attribute groups"},"revealed_attrs":{"title":"Revealed Attrs","type":"object","additionalProperties":{"$ref":"#/components/schemas/IndyProofRequestedProofRevealedAttr"},"description":"Proof requested proof revealed attributes"},"self_attested_attrs":{"title":"Self Attested Attrs","type":"object","description":"Proof requested proof self-attested attributes"},"unrevealed_attrs":{"title":"Unrevealed Attrs","type":"object","description":"Unrevealed attributes"}}},"IndyProofRequestedProofPredicate":{"title":"IndyProofRequestedProofPredicate","type":"object","properties":{"sub_proof_index":{"title":"Sub Proof Index","type":"integer","description":"Sub-proof index"}}},"IndyProofRequestedProofRevealedAttr":{"title":"IndyProofRequestedProofRevealedAttr","type":"object","properties":{"encoded":{"title":"Encoded","pattern":"^-?[0-9]*$","type":"string","description":"Encoded value","example":-1},"raw":{"title":"Raw","type":"string","description":"Raw value"},"sub_proof_index":{"title":"Sub Proof Index","type":"integer","description":"Sub-proof index"}}},"IndyProofRequestedProofRevealedAttrGroup":{"title":"IndyProofRequestedProofRevealedAttrGroup","type":"object","properties":{"sub_proof_index":{"title":"Sub Proof Index","type":"integer","description":"Sub-proof index"},"values":{"title":"Values","type":"object","additionalProperties":{"$ref":"#/components/schemas/RawEncoded"},"description":"Indy proof requested proof revealed attr groups group value"}}},"IndyRevRegDef":{"title":"IndyRevRegDef","type":"object","properties":{"credDefId":{"title":"Creddefid","pattern":"^([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}):3:CL:(([1-9][0-9]*)|([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}:2:.+:[0-9.]+)):(.+)?$","type":"string","description":"Credential definition identifier","example":"WgWxqztrNooG92RXvxSTWv:3:CL:20:tag"},"id":{"title":"Id","pattern":"^([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}):4:([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}):3:CL:(([1-9][0-9]*)|([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}:2:.+:[0-9.]+))(:.+)?:CL_ACCUM:(.+$)","type":"string","description":"Indy revocation registry identifier","example":"WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0"},"revocDefType":{"allOf":[{"$ref":"#/components/schemas/RevocDefType"}],"description":"Revocation registry type (specify CL_ACCUM)","example":"CL_ACCUM"},"tag":{"title":"Tag","type":"string","description":"Revocation registry tag"},"value":{"title":"Value","allOf":[{"$ref":"#/components/schemas/IndyRevRegDefValue"}],"description":"Revocation registry definition value"},"ver":{"title":"Ver","pattern":"^[0-9.]+$","type":"string","description":"Version of revocation registry definition","example":"1.0"}}},"IndyRevRegDefValue":{"title":"IndyRevRegDefValue","type":"object","properties":{"issuanceType":{"allOf":[{"$ref":"#/components/schemas/IssuanceType"}],"description":"Issuance type"},"maxCredNum":{"title":"Maxcrednum","minimum":1.0,"type":"integer","description":"Maximum number of credentials; registry size","example":10},"publicKeys":{"title":"Publickeys","allOf":[{"$ref":"#/components/schemas/IndyRevRegDefValuePublicKeys"}],"description":"Public keys"},"tailsHash":{"title":"Tailshash","pattern":"^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{43,44}$","type":"string","description":"Tails hash value","example":"H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV"},"tailsLocation":{"title":"Tailslocation","type":"string","description":"Tails file location"}}},"IndyRevRegDefValuePublicKeys":{"title":"IndyRevRegDefValuePublicKeys","type":"object","properties":{"accumKey":{"$ref":"#/components/schemas/IndyRevRegDefValuePublicKeysAccumKey"}}},"IndyRevRegDefValuePublicKeysAccumKey":{"title":"IndyRevRegDefValuePublicKeysAccumKey","type":"object","properties":{"z":{"title":"Z","type":"string","description":"Value for z","example":"1 120F522F81E6B7 1 09F7A59005C4939854"}}},"IndyRevRegEntry":{"title":"IndyRevRegEntry","type":"object","properties":{"value":{"title":"Value","allOf":[{"$ref":"#/components/schemas/IndyRevRegEntryValue"}],"description":"Revocation registry entry value"},"ver":{"title":"Ver","pattern":"^[0-9.]+$","type":"string","description":"Version of revocation registry entry","example":"1.0"}}},"IndyRevRegEntryValue":{"title":"IndyRevRegEntryValue","type":"object","properties":{"accum":{"title":"Accum","type":"string","description":"Accumulator value","example":"21 11792B036AED0AAA12A4 4 298B2571FFC63A737"},"prevAccum":{"title":"Prevaccum","type":"string","description":"Previous accumulator value","example":"21 137AC810975E4 6 76F0384B6F23"},"revoked":{"title":"Revoked","type":"array","items":{"type":"integer"},"description":"Revoked credential revocation identifiers"}}},"Initiator":{"title":"Initiator","enum":["self","external"],"description":"Issue-credential exchange initiator: self or external"},"InvitationMessage":{"title":"InvitationMessage","type":"object","properties":{"accept":{"title":"Accept","type":"array","items":{"type":"string"},"description":"List of mime type in order of preference","example":["didcomm/aip1","didcomm/aip2;env=rfc19"]},"handshake_protocols":{"title":"Handshake Protocols","type":"array","items":{"type":"string"}},"imageUrl":{"title":"Imageurl","type":"string","description":"Optional image URL for out-of-band invitation","example":"http://192.168.56.101/img/logo.jpg"},"label":{"title":"Label","type":"string","description":"Optional label","example":"Bob"},"requests~attach":{"title":"Requests~Attach","type":"array","items":{"$ref":"#/components/schemas/AttachDecorator"},"description":"Optional request attachment"},"services":{"title":"Services","type":"array","items":{"anyOf":[{"type":"object"},{"type":"string"}]},"example":[{"did":"WgWxqztrNooG92RXvxSTWv","id":"string","recipientKeys":["did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH"],"routingKeys":["did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH"],"serviceEndpoint":"http://192.168.56.101:8020","type":"string"},"did:sov:WgWxqztrNooG92RXvxSTWv"]}}},"InvitationMode":{"title":"InvitationMode","enum":["once","multi","static"],"description":"Invitation mode"},"InvitationRecord":{"title":"InvitationRecord","type":"object","properties":{"created_at":{"title":"Created At","pattern":"^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$","type":"string","description":"Time of record creation","example":"2021-12-31 23:59:59+00:00"},"invi_msg_id":{"title":"Invi Msg Id","type":"string","description":"Invitation message identifier","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"invitation":{"title":"Invitation","allOf":[{"$ref":"#/components/schemas/InvitationMessage"}],"description":"Out of band invitation message"},"invitation_id":{"title":"Invitation Id","type":"string","description":"Invitation record identifier","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"invitation_url":{"title":"Invitation Url","type":"string","description":"Invitation message URL","example":"https://example.com/endpoint?c_i=eyJAdHlwZSI6ICIuLi4iLCAiLi4uIjogIi4uLiJ9XX0="},"oob_id":{"title":"Oob Id","type":"string","description":"Out of band record identifier","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"state":{"title":"State","type":"string","description":"Out of band message exchange state","example":"await_response"},"trace":{"title":"Trace","type":"boolean","description":"Record trace information, based on agent configuration"},"updated_at":{"title":"Updated At","pattern":"^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$","type":"string","description":"Time of last record update","example":"2021-12-31 23:59:59+00:00"}}},"IssuanceType":{"title":"IssuanceType","enum":["ISSUANCE_ON_DEMAND","ISSUANCE_BY_DEFAULT"],"description":"Issuance type"},"IssuerCredRevRecord":{"title":"IssuerCredRevRecord","type":"object","properties":{"created_at":{"title":"Created At","pattern":"^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$","type":"string","description":"Time of record creation","example":"2021-12-31 23:59:59+00:00"},"cred_def_id":{"title":"Cred Def Id","pattern":"^([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}):3:CL:(([1-9][0-9]*)|([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}:2:.+:[0-9.]+)):(.+)?$","type":"string","description":"Credential definition identifier","example":"WgWxqztrNooG92RXvxSTWv:3:CL:20:tag"},"cred_ex_id":{"title":"Cred Ex Id","type":"string","description":"Credential exchange record identifier at credential issue","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"cred_ex_version":{"title":"Cred Ex Version","type":"string","description":"Credential exchange version"},"cred_rev_id":{"title":"Cred Rev Id","pattern":"^[1-9][0-9]*$","type":"string","description":"Credential revocation identifier","example":"12345"},"record_id":{"title":"Record Id","type":"string","description":"Issuer credential revocation record identifier","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"rev_reg_id":{"title":"Rev Reg Id","pattern":"^([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}):4:([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}):3:CL:(([1-9][0-9]*)|([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}:2:.+:[0-9.]+))(:.+)?:CL_ACCUM:(.+$)","type":"string","description":"Revocation registry identifier","example":"WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0"},"state":{"title":"State","type":"string","description":"Issue credential revocation record state","example":"issued"},"updated_at":{"title":"Updated At","pattern":"^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$","type":"string","description":"Time of last record update","example":"2021-12-31 23:59:59+00:00"}}},"IssuerRevRegRecord":{"title":"IssuerRevRegRecord","type":"object","properties":{"created_at":{"title":"Created At","pattern":"^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$","type":"string","description":"Time of record creation","example":"2021-12-31 23:59:59+00:00"},"cred_def_id":{"title":"Cred Def Id","pattern":"^([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}):3:CL:(([1-9][0-9]*)|([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}:2:.+:[0-9.]+)):(.+)?$","type":"string","description":"Credential definition identifier","example":"WgWxqztrNooG92RXvxSTWv:3:CL:20:tag"},"error_msg":{"title":"Error Msg","type":"string","description":"Error message","example":"Revocation registry undefined"},"issuer_did":{"title":"Issuer Did","pattern":"^(did:sov:)?[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}$","type":"string","description":"Issuer DID","example":"WgWxqztrNooG92RXvxSTWv"},"max_cred_num":{"title":"Max Cred Num","type":"integer","description":"Maximum number of credentials for revocation registry","example":1000},"pending_pub":{"title":"Pending Pub","type":"array","items":{"type":"string"},"description":"Credential revocation identifier for credential revoked and pending publication to ledger"},"record_id":{"title":"Record Id","type":"string","description":"Issuer revocation registry record identifier","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"revoc_def_type":{"allOf":[{"$ref":"#/components/schemas/RevocDefType"}],"description":"Revocation registry type (specify CL_ACCUM)","example":"CL_ACCUM"},"revoc_reg_def":{"title":"Revoc Reg Def","allOf":[{"$ref":"#/components/schemas/IndyRevRegDef"}],"description":"Revocation registry definition"},"revoc_reg_entry":{"title":"Revoc Reg Entry","allOf":[{"$ref":"#/components/schemas/IndyRevRegEntry"}],"description":"Revocation registry entry"},"revoc_reg_id":{"title":"Revoc Reg Id","pattern":"^([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}):4:([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}):3:CL:(([1-9][0-9]*)|([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}:2:.+:[0-9.]+))(:.+)?:CL_ACCUM:(.+$)","type":"string","description":"Revocation registry identifier","example":"WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0"},"state":{"title":"State","type":"string","description":"Issue revocation registry record state","example":"active"},"tag":{"title":"Tag","type":"string","description":"Tag within issuer revocation registry identifier"},"tails_hash":{"title":"Tails Hash","pattern":"^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{43,44}$","type":"string","description":"Tails hash","example":"H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV"},"tails_local_path":{"title":"Tails Local Path","type":"string","description":"Local path to tails file"},"tails_public_uri":{"title":"Tails Public Uri","type":"string","description":"Public URI for tails file"},"updated_at":{"title":"Updated At","pattern":"^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$","type":"string","description":"Time of last record update","example":"2021-12-31 23:59:59+00:00"}}},"MediationRecord":{"title":"MediationRecord","required":["connection_id","role"],"type":"object","properties":{"connection_id":{"title":"Connection Id","type":"string"},"created_at":{"title":"Created At","pattern":"^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$","type":"string","description":"Time of record creation","example":"2021-12-31 23:59:59+00:00"},"endpoint":{"title":"Endpoint","type":"string"},"mediation_id":{"title":"Mediation Id","type":"string"},"mediator_terms":{"title":"Mediator Terms","type":"array","items":{"type":"string"}},"recipient_terms":{"title":"Recipient Terms","type":"array","items":{"type":"string"}},"role":{"title":"Role","type":"string"},"routing_keys":{"title":"Routing Keys","type":"array","items":{"$ref":"#/components/schemas/RoutingKey2"}},"state":{"title":"State","type":"string","description":"Current record state","example":"active"},"updated_at":{"title":"Updated At","pattern":"^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$","type":"string","description":"Time of last record update","example":"2021-12-31 23:59:59+00:00"}}},"PType":{"title":"PType","enum":["LT","LE","GE","GT"],"description":"Predicate type"},"Predicate1":{"title":"Predicate1","enum":["<","<=",">=",">"],"description":"Predicate type ('<', '<=', '>=', or '>')"},"PresentationProposal":{"title":"PresentationProposal","required":["presentation_proposal"],"type":"object","properties":{"comment":{"title":"Comment","type":"string","description":"Human-readable comment"},"presentation_proposal":{"$ref":"#/components/schemas/IndyPresPreview"}}},"PresentationRequest":{"title":"PresentationRequest","required":["request_presentations~attach"],"type":"object","properties":{"comment":{"title":"Comment","type":"string","description":"Human-readable comment"},"request_presentations~attach":{"title":"Request Presentations~Attach","type":"array","items":{"$ref":"#/components/schemas/AttachDecorator"}}}},"RawEncoded":{"title":"RawEncoded","type":"object","properties":{"encoded":{"title":"Encoded","pattern":"^-?[0-9]*$","type":"string","description":"Encoded value","example":-1},"raw":{"title":"Raw","type":"string","description":"Raw value"}}},"RevocDefType":{"title":"RevocDefType","enum":["CL_ACCUM"],"description":"Revocation registry type (specify CL_ACCUM)"},"Role2":{"title":"Role2","enum":["holder","issuer"],"description":"Issue-credential exchange role: holder or issuer"},"Role3":{"title":"Role3","enum":["prover","verifier"],"description":"Present-proof exchange role: prover or verifier"},"Role4":{"title":"Role4","enum":["issuer","holder"],"description":"Issue-credential exchange role: holder or issuer"},"RoutingKey2":{"title":"RoutingKey2","pattern":"^did:key:z[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]+$","type":"string","example":"did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH"},"RoutingState":{"title":"RoutingState","enum":["none","request","active","error"],"description":"Routing state of connection"},"State1":{"title":"State1","enum":["proposal-sent","proposal-received","offer-sent","offer-received","request-sent","request-received","credential-issued","credential-received","done","credential-revoked","abandoned","deleted"],"description":"Issue-credential exchange state"},"State2":{"title":"State2","enum":["proposal-sent","proposal-received","request-sent","request-received","presentation-sent","presentation-received","done","abandoned","deleted"],"description":"Present-proof exchange state"},"TheirRole":{"title":"TheirRole","enum":["invitee","requester","inviter","responder"],"description":"Their role in the connection protocol"},"TransactionRecord":{"title":"TransactionRecord","type":"object","properties":{"connection_id":{"title":"Connection Id","type":"string","description":"The connection identifier for thie particular transaction record","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"created_at":{"title":"Created At","pattern":"^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$","type":"string","description":"Time of record creation","example":"2021-12-31 23:59:59+00:00"},"endorser_write_txn":{"title":"Endorser Write Txn","type":"boolean","description":"If True, Endorser will write the transaction after endorsing it","example":true},"formats":{"title":"Formats","type":"array","items":{"type":"object","additionalProperties":{"type":"string"}}},"messages_attach":{"title":"Messages Attach","type":"array","items":{"type":"object"}},"meta_data":{"title":"Meta Data","type":"object","example":{"context":{"param1":"param1_value","param2":"param2_value"},"post_process":[{"topic":"topic_value","other":"other_value"}]}},"signature_request":{"title":"Signature Request","type":"array","items":{"type":"object"}},"signature_response":{"title":"Signature Response","type":"array","items":{"type":"object"}},"state":{"title":"State","type":"string","description":"Current record state","example":"active"},"thread_id":{"title":"Thread Id","type":"string","description":"Thread Identifier","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"timing":{"title":"Timing","type":"object","example":{"expires_time":"2020-12-13T17:29:06+0000"}},"trace":{"title":"Trace","type":"boolean","description":"Record trace information, based on agent configuration"},"transaction_id":{"title":"Transaction Id","type":"string","description":"Transaction identifier","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"updated_at":{"title":"Updated At","pattern":"^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$","type":"string","description":"Time of last record update","example":"2021-12-31 23:59:59+00:00"}}},"V10CredentialExchange":{"title":"V10CredentialExchange","type":"object","properties":{"auto_issue":{"title":"Auto Issue","type":"boolean","description":"Issuer choice to issue to request in this credential exchange","example":false},"auto_offer":{"title":"Auto Offer","type":"boolean","description":"Holder choice to accept offer in this credential exchange","example":false},"auto_remove":{"title":"Auto Remove","type":"boolean","description":"Issuer choice to remove this credential exchange record when complete","example":false},"connection_id":{"title":"Connection Id","type":"string","description":"Connection identifier","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"created_at":{"title":"Created At","pattern":"^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$","type":"string","description":"Time of record creation","example":"2021-12-31 23:59:59+00:00"},"credential":{"title":"Credential","allOf":[{"$ref":"#/components/schemas/IndyCredInfo"}],"description":"Credential as stored"},"credential_definition_id":{"title":"Credential Definition Id","pattern":"^([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}):3:CL:(([1-9][0-9]*)|([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}:2:.+:[0-9.]+)):(.+)?$","type":"string","description":"Credential definition identifier","example":"WgWxqztrNooG92RXvxSTWv:3:CL:20:tag"},"credential_exchange_id":{"title":"Credential Exchange Id","type":"string","description":"Credential exchange identifier","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"credential_id":{"title":"Credential Id","type":"string","description":"Credential identifier","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"credential_offer":{"title":"Credential Offer","allOf":[{"$ref":"#/components/schemas/IndyCredAbstract"}],"description":"(Indy) credential offer"},"credential_offer_dict":{"title":"Credential Offer Dict","allOf":[{"$ref":"#/components/schemas/CredentialOffer"}],"description":"Credential offer message"},"credential_proposal_dict":{"title":"Credential Proposal Dict","allOf":[{"$ref":"#/components/schemas/CredentialProposal"}],"description":"Credential proposal message"},"credential_request":{"title":"Credential Request","allOf":[{"$ref":"#/components/schemas/IndyCredRequest"}],"description":"(Indy) credential request"},"credential_request_metadata":{"title":"Credential Request Metadata","type":"object","description":"(Indy) credential request metadata"},"error_msg":{"title":"Error Msg","type":"string","description":"Error message","example":"Credential definition identifier is not set in proposal"},"initiator":{"allOf":[{"$ref":"#/components/schemas/Initiator"}],"description":"Issue-credential exchange initiator: self or external","example":"self"},"parent_thread_id":{"title":"Parent Thread Id","type":"string","description":"Parent thread identifier","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"raw_credential":{"title":"Raw Credential","allOf":[{"$ref":"#/components/schemas/IndyCredential"}],"description":"Credential as received, prior to storage in holder wallet"},"revoc_reg_id":{"title":"Revoc Reg Id","type":"string","description":"Revocation registry identifier"},"revocation_id":{"title":"Revocation Id","type":"string","description":"Credential identifier within revocation registry"},"role":{"allOf":[{"$ref":"#/components/schemas/Role2"}],"description":"Issue-credential exchange role: holder or issuer","example":"issuer"},"schema_id":{"title":"Schema Id","pattern":"^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}:2:.+:[0-9.]+$","type":"string","description":"Schema identifier","example":"WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0"},"state":{"title":"State","type":"string","description":"Issue-credential exchange state","example":"credential_acked"},"thread_id":{"title":"Thread Id","type":"string","description":"Thread identifier","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"trace":{"title":"Trace","type":"boolean","description":"Record trace information, based on agent configuration"},"updated_at":{"title":"Updated At","pattern":"^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$","type":"string","description":"Time of last record update","example":"2021-12-31 23:59:59+00:00"}}},"V10PresentationExchange":{"title":"V10PresentationExchange","type":"object","properties":{"auto_present":{"title":"Auto Present","type":"boolean","description":"Prover choice to auto-present proof as verifier requests","example":false},"auto_verify":{"title":"Auto Verify","type":"boolean","description":"Verifier choice to auto-verify proof presentation"},"connection_id":{"title":"Connection Id","type":"string","description":"Connection identifier","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"created_at":{"title":"Created At","pattern":"^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$","type":"string","description":"Time of record creation","example":"2021-12-31 23:59:59+00:00"},"error_msg":{"title":"Error Msg","type":"string","description":"Error message","example":"Invalid structure"},"initiator":{"allOf":[{"$ref":"#/components/schemas/Initiator"}],"description":"Present-proof exchange initiator: self or external","example":"self"},"presentation":{"title":"Presentation","allOf":[{"$ref":"#/components/schemas/IndyProof"}],"description":"(Indy) presentation (also known as proof)"},"presentation_exchange_id":{"title":"Presentation Exchange Id","type":"string","description":"Presentation exchange identifier","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"presentation_proposal_dict":{"title":"Presentation Proposal Dict","allOf":[{"$ref":"#/components/schemas/PresentationProposal"}],"description":"Presentation proposal message"},"presentation_request":{"title":"Presentation Request","allOf":[{"$ref":"#/components/schemas/IndyProofRequest"}],"description":"(Indy) presentation request (also known as proof request)"},"presentation_request_dict":{"title":"Presentation Request Dict","allOf":[{"$ref":"#/components/schemas/PresentationRequest"}],"description":"Presentation request message"},"role":{"allOf":[{"$ref":"#/components/schemas/Role3"}],"description":"Present-proof exchange role: prover or verifier","example":"prover"},"state":{"title":"State","type":"string","description":"Present-proof exchange state","example":"verified"},"thread_id":{"title":"Thread Id","type":"string","description":"Thread identifier","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"trace":{"title":"Trace","type":"boolean","description":"Record trace information, based on agent configuration"},"updated_at":{"title":"Updated At","pattern":"^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$","type":"string","description":"Time of last record update","example":"2021-12-31 23:59:59+00:00"},"verified":{"allOf":[{"$ref":"#/components/schemas/Verified"}],"description":"Whether presentation is verified: true or false","example":"true"},"verified_msgs":{"title":"Verified Msgs","type":"array","items":{"type":"string"}}}},"V20CredAttrSpec":{"title":"V20CredAttrSpec","required":["name","value"],"type":"object","properties":{"mime-type":{"title":"Mime-Type","type":"string","description":"MIME type: omit for (null) default","example":"image/jpeg"},"name":{"title":"Name","type":"string","description":"Attribute name","example":"favourite_drink"},"value":{"title":"Value","type":"string","description":"Attribute value: base64-encode if MIME type is present","example":"martini"}}},"V20CredExRecord":{"title":"V20CredExRecord","type":"object","properties":{"auto_issue":{"title":"Auto Issue","type":"boolean","description":"Issuer choice to issue to request in this credential exchange","example":false},"auto_offer":{"title":"Auto Offer","type":"boolean","description":"Holder choice to accept offer in this credential exchange","example":false},"auto_remove":{"title":"Auto Remove","type":"boolean","description":"Issuer choice to remove this credential exchange record when complete","example":false},"by_format":{"title":"By Format","allOf":[{"$ref":"#/components/schemas/V20CredExRecordByFormat"}],"description":"Attachment content by format for proposal, offer, request, and issue"},"connection_id":{"title":"Connection Id","type":"string","description":"Connection identifier","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"created_at":{"title":"Created At","pattern":"^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$","type":"string","description":"Time of record creation","example":"2021-12-31 23:59:59+00:00"},"cred_ex_id":{"title":"Cred Ex Id","type":"string","description":"Credential exchange identifier","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"cred_issue":{"title":"Cred Issue","allOf":[{"$ref":"#/components/schemas/V20CredIssue"}],"description":"Serialized credential issue message"},"cred_offer":{"title":"Cred Offer","allOf":[{"$ref":"#/components/schemas/V20CredOffer"}],"description":"Credential offer message"},"cred_preview":{"title":"Cred Preview","allOf":[{"$ref":"#/components/schemas/V20CredPreview"}],"description":"Credential preview from credential proposal"},"cred_proposal":{"title":"Cred Proposal","allOf":[{"$ref":"#/components/schemas/V20CredProposal"}],"description":"Credential proposal message"},"cred_request":{"title":"Cred Request","allOf":[{"$ref":"#/components/schemas/V20CredRequest"}],"description":"Serialized credential request message"},"error_msg":{"title":"Error Msg","type":"string","description":"Error message","example":"The front fell off"},"initiator":{"allOf":[{"$ref":"#/components/schemas/Initiator"}],"description":"Issue-credential exchange initiator: self or external","example":"self"},"parent_thread_id":{"title":"Parent Thread Id","type":"string","description":"Parent thread identifier","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"role":{"allOf":[{"$ref":"#/components/schemas/Role4"}],"description":"Issue-credential exchange role: holder or issuer","example":"issuer"},"state":{"allOf":[{"$ref":"#/components/schemas/State1"}],"description":"Issue-credential exchange state","example":"done"},"thread_id":{"title":"Thread Id","type":"string","description":"Thread identifier","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"trace":{"title":"Trace","type":"boolean","description":"Record trace information, based on agent configuration"},"updated_at":{"title":"Updated At","pattern":"^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$","type":"string","description":"Time of last record update","example":"2021-12-31 23:59:59+00:00"}}},"V20CredExRecordByFormat":{"title":"V20CredExRecordByFormat","type":"object","properties":{"cred_issue":{"title":"Cred Issue","type":"object"},"cred_offer":{"title":"Cred Offer","type":"object"},"cred_proposal":{"title":"Cred Proposal","type":"object"},"cred_request":{"title":"Cred Request","type":"object"}}},"V20CredFormat":{"title":"V20CredFormat","required":["attach_id","format"],"type":"object","properties":{"attach_id":{"title":"Attach Id","type":"string","description":"Attachment identifier","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"format":{"title":"Format","type":"string","description":"Attachment format specifier","example":"aries/[email protected]"}}},"V20CredIssue":{"title":"V20CredIssue","required":["credentials~attach","formats"],"type":"object","properties":{"comment":{"title":"Comment","type":"string","description":"Human-readable comment"},"credentials~attach":{"title":"Credentials~Attach","type":"array","items":{"$ref":"#/components/schemas/AttachDecorator"},"description":"Credential attachments"},"formats":{"title":"Formats","type":"array","items":{"$ref":"#/components/schemas/V20CredFormat"},"description":"Acceptable attachment formats"},"replacement_id":{"title":"Replacement Id","type":"string","description":"Issuer-unique identifier to coordinate credential replacement","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}}},"V20CredOffer":{"title":"V20CredOffer","required":["formats","offers~attach"],"type":"object","properties":{"comment":{"title":"Comment","type":"string","description":"Human-readable comment"},"credential_preview":{"$ref":"#/components/schemas/V20CredPreview"},"formats":{"title":"Formats","type":"array","items":{"$ref":"#/components/schemas/V20CredFormat"},"description":"Acceptable credential formats"},"offers~attach":{"title":"Offers~Attach","type":"array","items":{"$ref":"#/components/schemas/AttachDecorator"},"description":"Offer attachments"},"replacement_id":{"title":"Replacement Id","type":"string","description":"Issuer-unique identifier to coordinate credential replacement","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}}},"V20CredPreview":{"title":"V20CredPreview","required":["attributes"],"type":"object","properties":{"attributes":{"title":"Attributes","type":"array","items":{"$ref":"#/components/schemas/V20CredAttrSpec"}}}},"V20CredProposal":{"title":"V20CredProposal","required":["filters~attach","formats"],"type":"object","properties":{"comment":{"title":"Comment","type":"string","description":"Human-readable comment"},"credential_preview":{"title":"Credential Preview","allOf":[{"$ref":"#/components/schemas/V20CredPreview"}],"description":"Credential preview"},"filters~attach":{"title":"Filters~Attach","type":"array","items":{"$ref":"#/components/schemas/AttachDecorator"},"description":"Credential filter per acceptable format on corresponding identifier"},"formats":{"title":"Formats","type":"array","items":{"$ref":"#/components/schemas/V20CredFormat"},"description":"Attachment formats"}}},"V20CredRequest":{"title":"V20CredRequest","required":["formats","requests~attach"],"type":"object","properties":{"comment":{"title":"Comment","type":"string","description":"Human-readable comment"},"formats":{"title":"Formats","type":"array","items":{"$ref":"#/components/schemas/V20CredFormat"},"description":"Acceptable attachment formats"},"requests~attach":{"title":"Requests~Attach","type":"array","items":{"$ref":"#/components/schemas/AttachDecorator"},"description":"Request attachments"}}},"V20Pres":{"title":"V20Pres","required":["formats","presentations~attach"],"type":"object","properties":{"comment":{"title":"Comment","type":"string","description":"Human-readable comment"},"formats":{"title":"Formats","type":"array","items":{"$ref":"#/components/schemas/V20PresFormat"},"description":"Acceptable attachment formats"},"presentations~attach":{"title":"Presentations~Attach","type":"array","items":{"$ref":"#/components/schemas/AttachDecorator"}}}},"V20PresExRecord":{"title":"V20PresExRecord","type":"object","properties":{"auto_present":{"title":"Auto Present","type":"boolean","description":"Prover choice to auto-present proof as verifier requests","example":false},"auto_verify":{"title":"Auto Verify","type":"boolean","description":"Verifier choice to auto-verify proof presentation"},"by_format":{"title":"By Format","allOf":[{"$ref":"#/components/schemas/V20PresExRecordByFormat"}],"description":"Attachment content by format for proposal, request, and presentation"},"connection_id":{"title":"Connection Id","type":"string","description":"Connection identifier","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"created_at":{"title":"Created At","pattern":"^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$","type":"string","description":"Time of record creation","example":"2021-12-31 23:59:59+00:00"},"error_msg":{"title":"Error Msg","type":"string","description":"Error message","example":"Invalid structure"},"initiator":{"allOf":[{"$ref":"#/components/schemas/Initiator"}],"description":"Present-proof exchange initiator: self or external","example":"self"},"pres":{"title":"Pres","allOf":[{"$ref":"#/components/schemas/V20Pres"}],"description":"Presentation message"},"pres_ex_id":{"title":"Pres Ex Id","type":"string","description":"Presentation exchange identifier","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"pres_proposal":{"title":"Pres Proposal","allOf":[{"$ref":"#/components/schemas/V20PresProposal"}],"description":"Presentation proposal message"},"pres_request":{"title":"Pres Request","allOf":[{"$ref":"#/components/schemas/V20PresRequest"}],"description":"Presentation request message"},"role":{"allOf":[{"$ref":"#/components/schemas/Role3"}],"description":"Present-proof exchange role: prover or verifier","example":"prover"},"state":{"allOf":[{"$ref":"#/components/schemas/State2"}],"description":"Present-proof exchange state"},"thread_id":{"title":"Thread Id","type":"string","description":"Thread identifier","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"trace":{"title":"Trace","type":"boolean","description":"Record trace information, based on agent configuration"},"updated_at":{"title":"Updated At","pattern":"^\\d{4}-\\d\\d-\\d\\d[T ]\\d\\d:\\d\\d(?:\\:(?:\\d\\d(?:\\.\\d{1,6})?))?(?:[+-]\\d\\d:?\\d\\d|Z|)$","type":"string","description":"Time of last record update","example":"2021-12-31 23:59:59+00:00"},"verified":{"allOf":[{"$ref":"#/components/schemas/Verified"}],"description":"Whether presentation is verified: 'true' or 'false'","example":"true"},"verified_msgs":{"title":"Verified Msgs","type":"array","items":{"type":"string"}}}},"V20PresExRecordByFormat":{"title":"V20PresExRecordByFormat","type":"object","properties":{"pres":{"title":"Pres","type":"object"},"pres_proposal":{"title":"Pres Proposal","type":"object"},"pres_request":{"title":"Pres Request","type":"object"}}},"V20PresFormat":{"title":"V20PresFormat","required":["attach_id","format"],"type":"object","properties":{"attach_id":{"title":"Attach Id","type":"string","description":"Attachment identifier","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"format":{"title":"Format","type":"string","description":"Attachment format specifier","example":"dif/presentation-exchange/[email protected]"}}},"V20PresProposal":{"title":"V20PresProposal","required":["formats","proposals~attach"],"type":"object","properties":{"comment":{"title":"Comment","type":"string","description":"Human-readable comment"},"formats":{"title":"Formats","type":"array","items":{"$ref":"#/components/schemas/V20PresFormat"}},"proposals~attach":{"title":"Proposals~Attach","type":"array","items":{"$ref":"#/components/schemas/AttachDecorator"},"description":"Attachment per acceptable format on corresponding identifier"}}},"V20PresRequest":{"title":"V20PresRequest","required":["formats","request_presentations~attach"],"type":"object","properties":{"comment":{"title":"Comment","type":"string","description":"Human-readable comment"},"formats":{"title":"Formats","type":"array","items":{"$ref":"#/components/schemas/V20PresFormat"}},"request_presentations~attach":{"title":"Request Presentations~Attach","type":"array","items":{"$ref":"#/components/schemas/AttachDecorator"},"description":"Attachment per acceptable format on corresponding identifier"},"will_confirm":{"title":"Will Confirm","type":"boolean","description":"Whether verifier will send confirmation ack"}}},"ValidationError":{"title":"ValidationError","required":["loc","msg","type"],"type":"object","properties":{"loc":{"title":"Location","type":"array","items":{"type":"string"}},"msg":{"title":"Message","type":"string"},"type":{"title":"Error Type","type":"string"}}},"Verified":{"title":"Verified","enum":["true","false"],"description":"Whether presentation is verified: true or false"}}},"tags":[{"name":"connections","description":"Connection related webhooks"},{"name":"credentials","description":"Credential and Presentation related webhooks"},{"name":"other","description":"Miscellaneous webhooks"}]}