# Approve

## POST /requests/{id}/approve

> Approve a request from the current user

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.55.0"},"servers":[{"url":"/v1/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"VaultRequestResponse":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"UPDATE_QUORUM"},"data":{"type":"object","properties":{"quorum":{"type":"integer","minimum":2,"maximum":9007199254740991,"description":"Workspace quorum"}},"required":["quorum"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"UPDATE_QUORUM request"},{"type":"object","properties":{"type":{"type":"string","const":"CREATE_TRANSACTION"},"data":{"$ref":"#/components/schemas/CreateTransactionRequestData"},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"CREATE_TRANSACTION request"},{"type":"object","properties":{"type":{"type":"string","const":"SIGN_MESSAGE"},"data":{"type":"object","properties":{"message":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"EIP191"},"data":{"$ref":"#/components/schemas/MessageHexData"}},"required":["type","data"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"EIP712"},"data":{"$ref":"#/components/schemas/Eip712Data"}},"required":["type","data"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"CIP8"},"data":{"$ref":"#/components/schemas/MessageHexData"},"signingKey":{"type":"string","enum":["PAYMENT","STAKE"],"description":"CIP-8 signing key"}},"required":["type","data","signingKey"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"BIP137"},"data":{"$ref":"#/components/schemas/MessageHexData"}},"required":["type","data"],"additionalProperties":false}],"description":"Message to sign","type":"object"},"accountId":{"type":"string","minLength":1,"description":"Target account id"},"address":{"type":"string","minLength":1,"description":"Address with which to sign the message"},"derivationPath":{"type":"string","minLength":1,"description":"Derivation path of the signing address"}},"required":["message","accountId","address","derivationPath"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"SIGN_MESSAGE request"},{"type":"object","properties":{"type":{"type":"string","const":"SIGN_DIGESTS"},"data":{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"description":"Target account id"},"digests":{"type":"array","items":{"type":"object","properties":{"digest":{"type":"string","pattern":"^[0-9a-fA-F]+$","description":"The hex string digest to sign"},"derivationPath":{"type":"string","minLength":1,"description":"The derivation path with which to sign the digest"}},"required":["digest","derivationPath"],"additionalProperties":false},"description":"The digests to sign"}},"required":["accountId","digests"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"SIGN_DIGESTS request"},{"type":"object","properties":{"type":{"type":"string","const":"CREATE_ACCOUNT"},"data":{"$ref":"#/components/schemas/CreateAccountRequestData"},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"CREATE_ACCOUNT request"},{"type":"object","properties":{"type":{"type":"string","const":"EDIT_ACCOUNT"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"data":{"$ref":"#/components/schemas/EditAccountRequestData"},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","targetId","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"EDIT_ACCOUNT request"},{"type":"object","properties":{"type":{"type":"string","const":"EDIT_TOKEN_RULE"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"data":{"type":"object","properties":{"parentAccountId":{"type":"string","minLength":1,"description":"Parent account unique ID"},"contractAddress":{"type":"string","minLength":1,"description":"Token contract address"},"rules":{"type":"array","items":{"$ref":"#/components/schemas/ClassicGovRuleData"},"description":"Account governance rules"}},"required":["parentAccountId","contractAddress","rules"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","targetId","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"EDIT_TOKEN_RULE request"},{"type":"object","properties":{"type":{"type":"string","const":"CREATE_GROUP"},"data":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":19,"description":"Group name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group description"},"members":{"type":"array","items":{"type":"string"},"description":"List of group members ids"}},"required":["name","description","members"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"CREATE_GROUP request"},{"type":"object","properties":{"type":{"type":"string","const":"EDIT_GROUP"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"data":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":19,"description":"Group name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group description"},"members":{"type":"array","items":{"type":"string"},"description":"List of group members ids"}},"required":["name","description","members"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","targetId","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"EDIT_GROUP request"},{"type":"object","properties":{"type":{"type":"string","const":"REVOKE_GROUP"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"data":{"type":"object","properties":{},"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","targetId","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"REVOKE_GROUP request"},{"type":"object","properties":{"type":{"type":"string","const":"CREATE_WHITELIST"},"data":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":45,"description":"Whitelist name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"addresses":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":50},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use network instead. Currency"},"address":{"type":"string","minLength":1,"maxLength":200},"destinationTags":{"type":"array","items":{"type":"string","minLength":1,"pattern":"^\\w+$"}}},"required":["name","currency","address"],"additionalProperties":false}},"type":{"type":"string","enum":["TRANSACTION","SMART_CONTRACT"]}},"required":["name","description","addresses","type"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"CREATE_WHITELIST request"},{"type":"object","properties":{"type":{"type":"string","const":"EDIT_WHITELIST"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"data":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":45,"description":"Whitelist name"},"addresses":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":50},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use network instead. Currency"},"address":{"type":"string","minLength":1,"maxLength":200},"destinationTags":{"type":"array","items":{"type":"string","minLength":1,"pattern":"^\\w+$"}}},"required":["name","currency","address"],"additionalProperties":false}}},"required":["name","addresses"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","targetId","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"EDIT_WHITELIST request"},{"type":"object","properties":{"type":{"type":"string","const":"CREATE_ENTITY"},"data":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":19,"description":"Entity name"},"accountIds":{"type":"array","items":{"type":"string"},"description":"List of Account IDs"},"memberIds":{"type":"array","items":{"type":"string"},"description":"List of User IDs"}},"required":["name","accountIds","memberIds"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"CREATE_ENTITY request"},{"type":"object","properties":{"type":{"type":"string","const":"EDIT_ENTITY"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"data":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":19,"description":"Entity name"},"accountIds":{"type":"array","items":{"type":"string"},"description":"List of Account IDs"},"memberIds":{"type":"array","items":{"type":"string"},"description":"List of User IDs"}},"required":["name","accountIds","memberIds"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","targetId","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"EDIT_ENTITY request"},{"type":"object","properties":{"type":{"type":"string","const":"REVOKE_ENTITY"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"data":{"type":"object","properties":{},"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","targetId","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"REVOKE_ENTITY request"},{"type":"object","properties":{"type":{"type":"string","const":"CREATE_PSD_USER"},"data":{"type":"object","properties":{"registrationId":{"type":"string","description":"User registration ID"}},"required":["registrationId"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"CREATE_PSD_USER request"},{"type":"object","properties":{"type":{"type":"string","const":"CREATE_API_USER"},"data":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":19,"description":"User name"},"pubKey":{"type":"string","pattern":"^04[0-9a-fA-F]{128}$","description":"Public key, uncompressed secp256r1 format"},"role":{"type":"string","enum":["ADMIN","OPERATOR"],"description":"User role"},"viewAll":{"type":"boolean","description":"View all data"}},"required":["name","pubKey","role"],"additionalProperties":false,"description":"Create API user request data"},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"CREATE_API_USER request"},{"type":"object","properties":{"type":{"type":"string","const":"CREATE_API_USER_ACCESS"},"data":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":19,"description":"User name"}},"required":["name"],"additionalProperties":false,"description":"Create API user credential request data"},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"CREATE_API_USER_ACCESS request"},{"type":"object","properties":{"type":{"type":"string","const":"REVOKE_USER"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"data":{"type":"object","properties":{},"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","targetId","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"REVOKE_USER request"},{"type":"object","properties":{"type":{"type":"string","const":"EDIT_WORKSPACE_RULE"},"data":{"type":"object","properties":{"permission":{"type":"string","enum":["CREATE_ACCOUNT_WITH_POLICY"],"description":"Granted permissions"},"reviewConfig":{"type":"array","items":{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"},"description":"List of admin review steps"}},"required":["permission","reviewConfig"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"EDIT_WORKSPACE_RULE request"},{"type":"object","properties":{"type":{"type":"string","const":"CREATE_SCICONFIG"},"data":{"type":"object","properties":{"account":{"type":"string","description":"Account UUID"},"config":{"type":"object","properties":{"dapps":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Allowed DApps, null allows all"},"customContractCallEnabled":{"type":"boolean","description":"Allow non-DApp SCI"}},"required":["dapps","customContractCallEnabled"],"additionalProperties":false}},"required":["account","config"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"CREATE_SCICONFIG request"},{"type":"object","properties":{"type":{"type":"string","const":"EDIT_SCICONFIG"},"data":{"type":"object","properties":{"config":{"type":"object","properties":{"dapps":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Allowed DApps, null allows all"},"customContractCallEnabled":{"type":"boolean","description":"Allow non-DApp SCI"}},"required":["dapps","customContractCallEnabled"],"additionalProperties":false}},"required":["config"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"EDIT_SCICONFIG request"},{"type":"object","properties":{"type":{"type":"string","const":"CREATE_API_KEY"},"data":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":19,"description":"API key name"},"entities":{"type":"array","items":{"type":"string"},"description":"List of related entities ids"},"scopes":{"type":"object","properties":{},"additionalProperties":false,"description":"FIXME to be precised"}},"required":["name","entities","scopes"],"additionalProperties":false,"description":"Create read-only API key request data"},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"CREATE_API_KEY request"},{"type":"object","properties":{"type":{"type":"string","const":"EDIT_API_KEY"},"data":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":19,"description":"API key name"},"entities":{"type":"array","items":{"type":"string"},"description":"List of related entities ids"},"scopes":{"type":"object","properties":{},"additionalProperties":false,"description":"FIXME to be precised"}},"required":["name","entities","scopes"],"additionalProperties":false,"description":"Edit read-only API key request data"},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"EDIT_API_KEY request"},{"type":"object","properties":{"type":{"type":"string","const":"REVOKE_API_KEY"},"data":{"type":"object","properties":{},"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"REVOKE_API_KEY request"},{"type":"object","properties":{"type":{"type":"string","const":"CREATE_POLICY"},"data":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":19,"description":"Policy name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Description"},"currency":{"anyOf":[{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Currency"},{"type":"null"}]},"govRules":{"type":"array","items":{"$ref":"#/components/schemas/ClassicGovRuleData"},"description":"Governance rules"}},"required":["name","description","currency","govRules"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"CREATE_POLICY request"},{"type":"object","properties":{"type":{"type":"string","const":"EDIT_POLICY"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"data":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":19,"description":"Policy name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Description"},"govRules":{"type":"array","items":{"$ref":"#/components/schemas/ClassicGovRuleData"},"description":"Governance rules"}},"required":["name","description","govRules"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","targetId","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"EDIT_POLICY request"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK_ACTIVATE_ACCOUNT"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"data":{"type":"null"},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","targetId","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"TRADELINK_ACTIVATE_ACCOUNT request"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK_CREATE_CUSTODIAN"},"data":{"type":"object","properties":{"settlement":{"type":"array","items":{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"},"description":"List of settlement review steps"},"withdraw":{"type":"array","items":{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"},"description":"List of withdraw review steps"},"arbitration":{"type":"array","items":{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"},"description":"List of arbitration review steps"}},"required":["settlement","withdraw","arbitration"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"TRADELINK_CREATE_CUSTODIAN request"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK_EDIT_CUSTODIAN"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"data":{"type":"object","properties":{"settlement":{"type":"array","items":{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"},"description":"List of settlement review steps"},"withdraw":{"type":"array","items":{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"},"description":"List of withdraw review steps"},"arbitration":{"type":"array","items":{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"},"description":"List of arbitration review steps"}},"required":["settlement","withdraw","arbitration"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","targetId","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"TRADELINK_EDIT_CUSTODIAN request"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK_CREATE_EXCHANGE"},"data":{"type":"object","properties":{"tradelinkId":{"type":"string","minLength":1},"groups":{"type":"array","items":{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"},"description":"List of asset manager review groups"},"whitelist":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use network instead. Currency"},"address":{"type":"string","minLength":1}},"required":["name","currency","address"],"additionalProperties":false},"description":"List of asset manager whitelisted addresses"}},"required":["tradelinkId","groups","whitelist"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"TRADELINK_CREATE_EXCHANGE request"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK_EDIT_EXCHANGE"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"data":{"type":"object","properties":{"tradelinkId":{"type":"string","minLength":1},"groups":{"type":"array","items":{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"},"description":"List of asset manager review groups"},"whitelist":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use network instead. Currency"},"address":{"type":"string","minLength":1}},"required":["name","currency","address"],"additionalProperties":false},"description":"List of asset manager whitelisted addresses"}},"required":["tradelinkId","groups","whitelist"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","targetId","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"TRADELINK_EDIT_EXCHANGE request"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK_CREATE_ASSET_MANAGER"},"data":{"type":"object","properties":{"tradelinkId":{"type":"string","minLength":1},"groups":{"type":"array","items":{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"},"description":"List of asset manager review groups"},"whitelist":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use network instead. Currency"},"address":{"type":"string","minLength":1}},"required":["name","currency","address"],"additionalProperties":false},"description":"List of asset manager whitelisted addresses"}},"required":["tradelinkId","groups","whitelist"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"TRADELINK_CREATE_ASSET_MANAGER request"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK_EDIT_ASSET_MANAGER"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"data":{"type":"object","properties":{"tradelinkId":{"type":"string","minLength":1},"groups":{"type":"array","items":{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"},"description":"List of asset manager review groups"},"whitelist":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use network instead. Currency"},"address":{"type":"string","minLength":1}},"required":["name","currency","address"],"additionalProperties":false},"description":"List of asset manager whitelisted addresses"}},"required":["tradelinkId","groups","whitelist"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","targetId","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"TRADELINK_EDIT_ASSET_MANAGER request"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK_ADJUST_PLEDGE"},"data":{"type":"object","properties":{"accountId":{"type":"string","description":"Account id"},"exchangeId":{"type":"string","description":"Exchange id"},"amount":{"type":"string","minLength":1,"pattern":"^(-?[1-9]\\d*|0)$","description":"Amount to add to pledge"}},"required":["accountId","exchangeId","amount"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"TRADELINK_ADJUST_PLEDGE request"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK_REPLEDGE"},"data":{"type":"object","properties":{"accountId":{"type":"string","description":"Account id"},"exchangeId":{"type":"string","description":"Exchange id"},"amount":{"type":"string","minLength":1,"pattern":"^(-?[1-9]\\d*|0)$","description":"Amount to add to pledge"}},"required":["accountId","exchangeId","amount"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"TRADELINK_REPLEDGE request"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK_CREATE_SETTLEMENT"},"data":{"type":"object","properties":{"accountId":{"type":"string","description":"Account id"},"exchangeId":{"type":"string","description":"Exchange id"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/BitcoinLikeSendDataOutput"},{"$ref":"#/components/schemas/CantonLikeSendDataOutput"},{"$ref":"#/components/schemas/CardanoSendDataOutput"},{"$ref":"#/components/schemas/EthereumLikeSendDataOutput"},{"$ref":"#/components/schemas/HederaLikeSendDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeSendDataOutput"},{"$ref":"#/components/schemas/RippleLikeSendDataOutput"},{"$ref":"#/components/schemas/SolanaLikeSendDataOutput"},{"$ref":"#/components/schemas/StellarLikeSendDataOutput"},{"$ref":"#/components/schemas/SuiLikeSendDataOutput"},{"$ref":"#/components/schemas/TezosLikeSendDataOutput"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"BITCOIN_LIKE_SEND":"#/components/schemas/BitcoinLikeSendDataOutput","CANTON_LIKE_SEND":"#/components/schemas/CantonLikeSendDataOutput","CARDANO_LIKE_SEND":"#/components/schemas/CardanoSendDataOutput","ETHEREUM_LIKE_SEND":"#/components/schemas/EthereumLikeSendDataOutput","HEDERA_LIKE_SEND":"#/components/schemas/HederaLikeSendDataOutput","POLKADOT_LIKE_SEND":"#/components/schemas/PolkadotLikeSendDataOutput","RIPPLE_LIKE_SEND":"#/components/schemas/RippleLikeSendDataOutput","SOLANA_LIKE_SEND":"#/components/schemas/SolanaLikeSendDataOutput","STELLAR_LIKE_SEND":"#/components/schemas/StellarLikeSendDataOutput","SUI_LIKE_SEND":"#/components/schemas/SuiLikeSendDataOutput","TEZOS_LIKE_SEND":"#/components/schemas/TezosLikeSendDataOutput"}}}},"required":["accountId","exchangeId","transaction"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"TRADELINK_CREATE_SETTLEMENT request"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK_FORCE_UNPLEDGE"},"data":{"type":"object","properties":{"accountId":{"type":"string","description":"Account id"},"exchangeId":{"type":"string","description":"Exchange id"}},"required":["accountId","exchangeId"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"TRADELINK_FORCE_UNPLEDGE request"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK_WITHDRAW"},"data":{"type":"object","properties":{"accountId":{"type":"string","description":"Account id"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/BitcoinLikeSendDataOutput"},{"$ref":"#/components/schemas/CantonLikeSendDataOutput"},{"$ref":"#/components/schemas/CardanoSendDataOutput"},{"$ref":"#/components/schemas/EthereumLikeSendDataOutput"},{"$ref":"#/components/schemas/HederaLikeSendDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeSendDataOutput"},{"$ref":"#/components/schemas/RippleLikeSendDataOutput"},{"$ref":"#/components/schemas/SolanaLikeSendDataOutput"},{"$ref":"#/components/schemas/StellarLikeSendDataOutput"},{"$ref":"#/components/schemas/SuiLikeSendDataOutput"},{"$ref":"#/components/schemas/TezosLikeSendDataOutput"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"BITCOIN_LIKE_SEND":"#/components/schemas/BitcoinLikeSendDataOutput","CANTON_LIKE_SEND":"#/components/schemas/CantonLikeSendDataOutput","CARDANO_LIKE_SEND":"#/components/schemas/CardanoSendDataOutput","ETHEREUM_LIKE_SEND":"#/components/schemas/EthereumLikeSendDataOutput","HEDERA_LIKE_SEND":"#/components/schemas/HederaLikeSendDataOutput","POLKADOT_LIKE_SEND":"#/components/schemas/PolkadotLikeSendDataOutput","RIPPLE_LIKE_SEND":"#/components/schemas/RippleLikeSendDataOutput","SOLANA_LIKE_SEND":"#/components/schemas/SolanaLikeSendDataOutput","STELLAR_LIKE_SEND":"#/components/schemas/StellarLikeSendDataOutput","SUI_LIKE_SEND":"#/components/schemas/SuiLikeSendDataOutput","TEZOS_LIKE_SEND":"#/components/schemas/TezosLikeSendDataOutput"}}}},"required":["accountId","transaction"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"TRADELINK_WITHDRAW request"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK_ARBITRATE"},"data":{"type":"object","properties":{"accountId":{"type":"string","description":"Account id"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/BitcoinLikeSendDataOutput"},{"$ref":"#/components/schemas/CantonLikeSendDataOutput"},{"$ref":"#/components/schemas/CardanoSendDataOutput"},{"$ref":"#/components/schemas/EthereumLikeSendDataOutput"},{"$ref":"#/components/schemas/HederaLikeSendDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeSendDataOutput"},{"$ref":"#/components/schemas/RippleLikeSendDataOutput"},{"$ref":"#/components/schemas/SolanaLikeSendDataOutput"},{"$ref":"#/components/schemas/StellarLikeSendDataOutput"},{"$ref":"#/components/schemas/SuiLikeSendDataOutput"},{"$ref":"#/components/schemas/TezosLikeSendDataOutput"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"BITCOIN_LIKE_SEND":"#/components/schemas/BitcoinLikeSendDataOutput","CANTON_LIKE_SEND":"#/components/schemas/CantonLikeSendDataOutput","CARDANO_LIKE_SEND":"#/components/schemas/CardanoSendDataOutput","ETHEREUM_LIKE_SEND":"#/components/schemas/EthereumLikeSendDataOutput","HEDERA_LIKE_SEND":"#/components/schemas/HederaLikeSendDataOutput","POLKADOT_LIKE_SEND":"#/components/schemas/PolkadotLikeSendDataOutput","RIPPLE_LIKE_SEND":"#/components/schemas/RippleLikeSendDataOutput","SOLANA_LIKE_SEND":"#/components/schemas/SolanaLikeSendDataOutput","STELLAR_LIKE_SEND":"#/components/schemas/StellarLikeSendDataOutput","SUI_LIKE_SEND":"#/components/schemas/SuiLikeSendDataOutput","TEZOS_LIKE_SEND":"#/components/schemas/TezosLikeSendDataOutput"}}}},"required":["accountId","transaction"],"additionalProperties":false},"id":{"type":"string","description":"Request unique identifier"},"legacyId":{"type":"number","description":"Legacy internal unique identifier (for retro-compatibility)"},"state":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Request state"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"stageName":{"type":"string","pattern":"^\\w+$","description":"The review stage name"},"quorum":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Quorum for the review step"}},"required":["stageName","quorum"],"additionalProperties":false},"description":"Request review steps"},"currentStepIndex":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Index of the current approval step"},"expiresAt":{"description":"Request expiration date","type":"string"},"expiredAt":{"description":"Deprecated: use expiresAt","type":"string"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional ID of the target object"},"note":{"anyOf":[{"type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"],"additionalProperties":false},{"type":"null"}],"description":"Optional request note"},"reviews":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Index of the governance step in the request workflow"},"userId":{"type":"string","description":"Reviewer id"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Group name if the reviewer was part of an operator group"},"status":{"type":"string","enum":["PENDING","QUEUED","APPROVED","REJECTED","OBSOLETE"],"description":"Review status"},"createdAt":{"description":"Created date","type":"string"},"updatedAt":{"description":"Updated date","type":"string"}},"required":["stepIndex","userId","groupName","status","createdAt","updatedAt"],"additionalProperties":false},"description":"Requests reviews"},"createdAt":{"description":"Creation timestamp","type":"string"},"updatedAt":{"description":"Last modification timestamp","type":"string"},"createdById":{"type":"string","description":"ID of the user who created the request"},"inflight":{"description":"Extra information if the request is currently being processed","type":"object","properties":{"completionState":{"anyOf":[{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},{"type":"null"}],"description":"Target state after execution is complete"},"retryAfter":{"description":"Date after which next retry is scheduled","type":"string"}},"required":["completionState","retryAfter"],"additionalProperties":false}},"required":["type","data","id","legacyId","state","reviewSteps","currentStepIndex","expiresAt","targetId","note","reviews","createdAt","updatedAt","createdById"],"additionalProperties":false,"description":"TRADELINK_ARBITRATE request"}],"description":"Vault request response data","type":"object"},"CreateTransactionRequestData":{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"description":"Target account id"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/BitcoinLikeSendDataOutput"},{"$ref":"#/components/schemas/CantonLikeSendDataOutput"},{"$ref":"#/components/schemas/CantonLikeSendTokenDataOutput"},{"$ref":"#/components/schemas/CantonLikeWithdrawDataOutput"},{"$ref":"#/components/schemas/CantonLikeReceiveDataOutput"},{"$ref":"#/components/schemas/CantonLikePreApprovalDataOutput"},{"$ref":"#/components/schemas/CardanoSendDataOutput"},{"$ref":"#/components/schemas/CardanoStakingDelegateDataOutput"},{"$ref":"#/components/schemas/CardanoStakingDeregisterDataOutput"},{"$ref":"#/components/schemas/CardanoStakingRegisterDataOutput"},{"$ref":"#/components/schemas/CardanoStakingWithdrawDataOutput"},{"$ref":"#/components/schemas/EthereumLikeDeployContractDataOutput"},{"$ref":"#/components/schemas/EthereumLikeExecuteContractDataOutput"},{"$ref":"#/components/schemas/EthereumLikeSendDataOutput"},{"$ref":"#/components/schemas/GenericTransactionDataOutput"},{"$ref":"#/components/schemas/HederaLikeSendDataOutput"},{"$ref":"#/components/schemas/HederaLikeSendTokenDataOutput"},{"$ref":"#/components/schemas/HederaLikeStakeDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeAddProxyDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeAnonymousProxyDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeBondDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeBondExtraDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeChillDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeKillAnonymousDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeRebondDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeRemoveProxyDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeSendDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeSetPayeeDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeUnbondDataOutput"},{"$ref":"#/components/schemas/PolkadotLikeWithdrawUnbondedDataOutput"},{"$ref":"#/components/schemas/RippleLikeSendDataOutput"},{"$ref":"#/components/schemas/SolanaLikeCreateDelegateStakeDataOutput"},{"$ref":"#/components/schemas/SolanaLikeDeactivateStakeDataOutput"},{"$ref":"#/components/schemas/SolanaLikeDelegateStakeDataOutput"},{"$ref":"#/components/schemas/SolanaLikeMergeStakeDataOutput"},{"$ref":"#/components/schemas/SolanaLikeSendDataOutput"},{"$ref":"#/components/schemas/SolanaLikeSplitDeactivateStakeDataOutput"},{"$ref":"#/components/schemas/SolanaLikeSplitStakeDataOutput"},{"$ref":"#/components/schemas/SolanaLikeWithdrawStakeDataOutput"},{"$ref":"#/components/schemas/SolanaLikeSendTokenDataOutput"},{"$ref":"#/components/schemas/SolanaLikeFundAndSendTokenDataOutput"},{"$ref":"#/components/schemas/SolanaLikeCreateTokenAccountDataOutput"},{"$ref":"#/components/schemas/StellarLikeSendDataOutput"},{"$ref":"#/components/schemas/SuiLikeSendDataOutput"},{"$ref":"#/components/schemas/SuiLikeTransferTokenDataOutput"},{"$ref":"#/components/schemas/SuiLikeStakeDataOutput"},{"$ref":"#/components/schemas/SuiLikeUnstakeDataOutput"},{"$ref":"#/components/schemas/TezosLikeSendDataOutput"},{"$ref":"#/components/schemas/TezosLikeDelegateDataOutput"},{"$ref":"#/components/schemas/TezosLikeUndelegateDataOutput"},{"$ref":"#/components/schemas/TronLikeSendDataOutput"},{"$ref":"#/components/schemas/TronLikeSendTokenDataOutput"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"BITCOIN_LIKE_SEND":"#/components/schemas/BitcoinLikeSendDataOutput","CANTON_LIKE_SEND":"#/components/schemas/CantonLikeSendDataOutput","CANTON_LIKE_SEND_TOKEN":"#/components/schemas/CantonLikeSendTokenDataOutput","CANTON_LIKE_WITHDRAW":"#/components/schemas/CantonLikeWithdrawDataOutput","CANTON_LIKE_RECEIVE":"#/components/schemas/CantonLikeReceiveDataOutput","CANTON_LIKE_PRE_APPROVAL":"#/components/schemas/CantonLikePreApprovalDataOutput","CARDANO_LIKE_SEND":"#/components/schemas/CardanoSendDataOutput","CARDANO_LIKE_STAKING_DELEGATE":"#/components/schemas/CardanoStakingDelegateDataOutput","CARDANO_LIKE_STAKING_DEREGISTER":"#/components/schemas/CardanoStakingDeregisterDataOutput","CARDANO_LIKE_STAKING_REGISTER":"#/components/schemas/CardanoStakingRegisterDataOutput","CARDANO_LIKE_STAKING_WITHDRAW":"#/components/schemas/CardanoStakingWithdrawDataOutput","ETHEREUM_LIKE_DEPLOY_CONTRACT":"#/components/schemas/EthereumLikeDeployContractDataOutput","ETHEREUM_LIKE_EXECUTE_CONTRACT":"#/components/schemas/EthereumLikeExecuteContractDataOutput","ETHEREUM_LIKE_SEND":"#/components/schemas/EthereumLikeSendDataOutput","GENERIC_TRANSACTION":"#/components/schemas/GenericTransactionDataOutput","HEDERA_LIKE_SEND":"#/components/schemas/HederaLikeSendDataOutput","HEDERA_LIKE_SEND_TOKEN":"#/components/schemas/HederaLikeSendTokenDataOutput","HEDERA_LIKE_STAKE":"#/components/schemas/HederaLikeStakeDataOutput","POLKADOT_LIKE_ADDPROXY":"#/components/schemas/PolkadotLikeAddProxyDataOutput","POLKADOT_LIKE_ANONYMOUSPROXY":"#/components/schemas/PolkadotLikeAnonymousProxyDataOutput","POLKADOT_LIKE_BOND":"#/components/schemas/PolkadotLikeBondDataOutput","POLKADOT_LIKE_BONDEXTRA":"#/components/schemas/PolkadotLikeBondExtraDataOutput","POLKADOT_LIKE_CHILL":"#/components/schemas/PolkadotLikeChillDataOutput","POLKADOT_LIKE_KILLANONYMOUS":"#/components/schemas/PolkadotLikeKillAnonymousDataOutput","POLKADOT_LIKE_REBOND":"#/components/schemas/PolkadotLikeRebondDataOutput","POLKADOT_LIKE_REMOVEPROXY":"#/components/schemas/PolkadotLikeRemoveProxyDataOutput","POLKADOT_LIKE_SEND":"#/components/schemas/PolkadotLikeSendDataOutput","POLKADOT_LIKE_SETPAYEE":"#/components/schemas/PolkadotLikeSetPayeeDataOutput","POLKADOT_LIKE_UNBOND":"#/components/schemas/PolkadotLikeUnbondDataOutput","POLKADOT_LIKE_WITHDRAWUNBONDED":"#/components/schemas/PolkadotLikeWithdrawUnbondedDataOutput","RIPPLE_LIKE_SEND":"#/components/schemas/RippleLikeSendDataOutput","SOLANA_LIKE_CREATE_DELEGATE_STAKE":"#/components/schemas/SolanaLikeCreateDelegateStakeDataOutput","SOLANA_LIKE_DEACTIVATE_STAKE":"#/components/schemas/SolanaLikeDeactivateStakeDataOutput","SOLANA_LIKE_DELEGATE_STAKE":"#/components/schemas/SolanaLikeDelegateStakeDataOutput","SOLANA_LIKE_MERGE_STAKE":"#/components/schemas/SolanaLikeMergeStakeDataOutput","SOLANA_LIKE_SEND":"#/components/schemas/SolanaLikeSendDataOutput","SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE":"#/components/schemas/SolanaLikeSplitDeactivateStakeDataOutput","SOLANA_LIKE_SPLIT_STAKE":"#/components/schemas/SolanaLikeSplitStakeDataOutput","SOLANA_LIKE_WITHDRAW_STAKE":"#/components/schemas/SolanaLikeWithdrawStakeDataOutput","SOLANA_LIKE_SEND_TOKEN":"#/components/schemas/SolanaLikeSendTokenDataOutput","SOLANA_LIKE_FUND_AND_SEND_TOKEN":"#/components/schemas/SolanaLikeFundAndSendTokenDataOutput","SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT":"#/components/schemas/SolanaLikeCreateTokenAccountDataOutput","STELLAR_LIKE_SEND":"#/components/schemas/StellarLikeSendDataOutput","SUI_LIKE_SEND":"#/components/schemas/SuiLikeSendDataOutput","SUI_LIKE_SEND_TOKEN":"#/components/schemas/SuiLikeTransferTokenDataOutput","SUI_LIKE_STAKE":"#/components/schemas/SuiLikeStakeDataOutput","SUI_LIKE_UNSTAKE":"#/components/schemas/SuiLikeUnstakeDataOutput","TEZOS_LIKE_SEND":"#/components/schemas/TezosLikeSendDataOutput","TEZOS_LIKE_DELEGATE":"#/components/schemas/TezosLikeDelegateDataOutput","TEZOS_LIKE_UNDELEGATE":"#/components/schemas/TezosLikeUndelegateDataOutput","TRON_LIKE_SEND":"#/components/schemas/TronLikeSendDataOutput","TRON_LIKE_SEND_TOKEN":"#/components/schemas/TronLikeSendTokenDataOutput"}}}},"required":["accountId","transaction"],"additionalProperties":false,"description":"Create transaction request data"},"BitcoinLikeSendDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"BITCOIN_LIKE_SEND"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST","CUSTOM"]},"feePerByte":{"description":"Fee per byte","anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}]}},"required":["type"],"additionalProperties":false,"description":"Bitcoin-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"additionalProperties":false,"description":"Bitcoin-like send data"},"CantonLikeSendDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"executeBeforeSeconds":{"description":"Execute before seconds","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional reason attached to the onchain operation"},"type":{"type":"string","const":"CANTON_LIKE_SEND"}},"required":["amount","currency","recipient","reason","type"],"additionalProperties":false,"description":"Canton-like send data"},"CantonLikeSendTokenDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"executeBeforeSeconds":{"description":"Execute before seconds","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional reason attached to the onchain operation"},"type":{"type":"string","const":"CANTON_LIKE_SEND_TOKEN"}},"required":["amount","currency","recipient","reason","type"],"additionalProperties":false,"description":"Canton-like send token data"},"CantonLikeWithdrawDataOutput":{"type":"object","properties":{"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transfer currency"},"transferProposal":{"$ref":"#/components/schemas/CantonTransferProposalOutput"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Reason of the verdict"},"type":{"type":"string","const":"CANTON_LIKE_WITHDRAW"}},"required":["currency","transferProposal","reason","type"],"additionalProperties":false,"description":"Canton-like withdraw data"},"CantonTransferProposalOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transfer amount"},"contractId":{"type":"string","description":"ID of the transfer-proposal contract"},"instrumentAdmin":{"type":"string","description":"Issuer of the instrument being transferred"},"instrumentId":{"type":"string","description":"ID of the instrument being transferred"},"expiresAtMicros":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Expiration timestamp in microseconds"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional reason attached to the transfer"},"sender":{"type":"string","description":"Party proposing to send the asset"},"recipient":{"type":"string","description":"Intended recipient of the proposed transfer"}},"required":["amount","contractId","instrumentAdmin","instrumentId","expiresAtMicros","reason","sender","recipient"],"additionalProperties":false,"description":"A pending asset-transfer request"},"CantonLikeReceiveDataOutput":{"type":"object","properties":{"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transfer currency"},"transferProposal":{"$ref":"#/components/schemas/CantonTransferProposalOutput"},"verdict":{"type":"string","enum":["ACCEPT","REJECT"],"description":"Accept or reject the transfer"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Reason of the verdict"},"type":{"type":"string","const":"CANTON_LIKE_RECEIVE"}},"required":["currency","transferProposal","verdict","reason","type"],"additionalProperties":false,"description":"Canton-like receive data"},"CantonLikePreApprovalDataOutput":{"type":"object","properties":{"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"recipient":{"type":"string","minLength":1,"description":"Recipient party on which to enable pre-approval"},"type":{"type":"string","const":"CANTON_LIKE_PRE_APPROVAL"}},"required":["currency","recipient","type"],"additionalProperties":false,"description":"Canton-like pre-approval data"},"CardanoSendDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"CARDANO_LIKE_SEND"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Cardano-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"additionalProperties":false,"description":"Cardano-like send data"},"CardanoStakingDelegateDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"CARDANO_LIKE_STAKING_DELEGATE"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Cardano-like fee strategy"},"stakePoolId":{"type":"string","minLength":1,"maxLength":100,"description":""}},"required":["type","currency","maxFee","feeStrategy","stakePoolId"],"additionalProperties":false,"description":"Cardano-like staking delegate"},"CardanoStakingDeregisterDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"CARDANO_LIKE_STAKING_DEREGISTER"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Cardano-like fee strategy"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Amount to deregister"}},"required":["type","currency","maxFee","feeStrategy","amount"],"additionalProperties":false,"description":"Cardano-like staking deregister data"},"CardanoStakingRegisterDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"CARDANO_LIKE_STAKING_REGISTER"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Cardano-like fee strategy"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Amount to register"}},"required":["type","currency","maxFee","feeStrategy","amount"],"additionalProperties":false,"description":"Cardano-like staking register data"},"CardanoStakingWithdrawDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"CARDANO_LIKE_STAKING_WITHDRAW"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Cardano-like fee strategy"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Amount to withdraw"}},"required":["type","currency","maxFee","feeStrategy","amount"],"additionalProperties":false,"description":"Cardano-like staking withdraw data"},"EthereumLikeDeployContractDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","const":""},"type":{"type":"string","const":"ETHEREUM_LIKE_DEPLOY_CONTRACT"},"contractData":{"description":"Contract data in hexadecimal format","type":"string"},"feeStrategy":{"$ref":"#/components/schemas/EthereumLikeFeeStrategyOutput"}},"required":["amount","currency","maxFee","recipient","type","contractData","feeStrategy"],"additionalProperties":false,"description":"Ethereum-like deploy contract data"},"EthereumLikeFeeStrategyOutput":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST","CUSTOM"]},"gasPrice":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Gas price"},"gasLimit":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Gas limit"}},"required":["type","gasPrice","gasLimit"],"additionalProperties":false,"description":"Ethereum-like legacy fee strategy"},{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST","CUSTOM"]},"maxPriorityFeePerGas":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Maximum priority fee per gas"},"maxFeePerGas":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Maximum fee per gas (base + priority)"},"gasLimit":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Gas limit"}},"required":["type","maxPriorityFeePerGas","maxFeePerGas","gasLimit"],"additionalProperties":false,"description":"Ethereum-like EIP-1559 fee strategy"}],"description":"Ethereum-like fee strategy"},"EthereumLikeExecuteContractDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"ETHEREUM_LIKE_EXECUTE_CONTRACT"},"contractData":{"description":"Contract call data in hexadecimal format","type":"string"},"feeStrategy":{"$ref":"#/components/schemas/EthereumLikeFeeStrategyOutput"}},"required":["amount","currency","maxFee","recipient","type","contractData","feeStrategy"],"additionalProperties":false,"description":"Ethereum-like execute contract data"},"EthereumLikeSendDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"ETHEREUM_LIKE_SEND"},"feeStrategy":{"$ref":"#/components/schemas/EthereumLikeFeeStrategyOutput"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"additionalProperties":false,"description":"Ethereum-like send data"},"GenericTransactionDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"GENERIC_TRANSACTION"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"rawTx":{"type":"string","description":"Raw tx"}},"required":["type","currency","rawTx"],"additionalProperties":false,"description":"Generic transaction data"},"HederaLikeSendDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"HEDERA_LIKE_SEND"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"additionalProperties":false,"description":"Hedera-like send data"},"HederaLikeSendTokenDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"HEDERA_LIKE_SEND_TOKEN"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"additionalProperties":false,"description":"Hedera-like send token data"},"HederaLikeStakeDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"HEDERA_LIKE_STAKE"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"nodeId":{"type":"string","minLength":1,"pattern":"^(-?[1-9]\\d*|0)$","description":"Node ID to delegate to"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false}},"required":["type","currency","nodeId","maxFee","feeStrategy"],"additionalProperties":false,"description":"Hedera-like stake data"},"PolkadotLikeAddProxyDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_ADDPROXY"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"kind":{"type":"string","const":"Staking","description":"Proxy kind"},"proxy":{"type":"string","description":"Proxy address"}},"required":["type","currency","kind","proxy"],"additionalProperties":false,"description":"Polkadot-like add proxy data"},"PolkadotLikeAnonymousProxyDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_ANONYMOUSPROXY"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"}},"required":["type","currency"],"additionalProperties":false,"description":"Polkadot-like anonymous proxy data"},"PolkadotLikeBondDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_BOND"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"payee":{"type":"string","enum":["Staked","Stash"]},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Amount"}},"required":["type","currency","payee","amount"],"additionalProperties":false,"description":"Polkadot-like bond data"},"PolkadotLikeBondExtraDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_BONDEXTRA"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Amount"}},"required":["type","currency","amount"],"additionalProperties":false,"description":"Polkadot-like bond extra data"},"PolkadotLikeChillDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_CHILL"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"}},"required":["type","currency"],"additionalProperties":false,"description":"Polkadot-like chill data"},"PolkadotLikeKillAnonymousDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_KILLANONYMOUS"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"}},"required":["type","currency"],"additionalProperties":false,"description":"Polkadot-like kill anonymous data"},"PolkadotLikeRebondDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_REBOND"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Amount"}},"required":["type","currency","amount"],"additionalProperties":false,"description":"Polkadot-like rebond data"},"PolkadotLikeRemoveProxyDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_REMOVEPROXY"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"kind":{"type":"string","const":"Staking"},"proxy":{"type":"string","description":"Proxy address"}},"required":["type","currency","kind","proxy"],"additionalProperties":false,"description":"Polkadot-like remove proxy data"},"PolkadotLikeSendDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"POLKADOT_LIKE_SEND"}},"required":["amount","currency","maxFee","recipient","type"],"additionalProperties":false,"description":"Polkadot-like send data"},"PolkadotLikeSetPayeeDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_SETPAYEE"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"payee":{"type":"string","enum":["Staked","Stash"]}},"required":["type","currency","payee"],"additionalProperties":false,"description":"Polkadot-like set payee data"},"PolkadotLikeUnbondDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_UNBOND"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Amount"}},"required":["type","currency","amount"],"additionalProperties":false,"description":"Polkadot-like unbond data"},"PolkadotLikeWithdrawUnbondedDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"POLKADOT_LIKE_WITHDRAWUNBONDED"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"}},"required":["type","currency"],"additionalProperties":false,"description":"Polkadot-like withdraw unbonded data"},"RippleLikeSendDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"RIPPLE_LIKE_SEND"},"destinationTag":{"anyOf":[{"type":"string","minLength":1,"pattern":"^(-?[1-9]\\d*|0)$"},{"type":"null"}],"description":"Destination tag"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST","CUSTOM"]}},"required":["type"],"additionalProperties":false,"description":"Ripple-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","destinationTag","feeStrategy"],"additionalProperties":false,"description":"Ripple-like send data"},"SolanaLikeCreateDelegateStakeDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","description":"Delegated vote address"},"type":{"type":"string","const":"SOLANA_LIKE_CREATE_DELEGATE_STAKE"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Solana-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"additionalProperties":false,"description":"Solana-like create delegate stake data"},"SolanaLikeDeactivateStakeDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"SOLANA_LIKE_DEACTIVATE_STAKE"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"stakeAccount":{"type":"string","description":"Stake account address"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Solana-like fee strategy"}},"required":["type","currency","maxFee","stakeAccount","feeStrategy"],"additionalProperties":false,"description":"Solana-like deactivate stake data"},"SolanaLikeDelegateStakeDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"SOLANA_LIKE_DELEGATE_STAKE"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","description":"Delegated vote address"},"stakeAccount":{"type":"string","description":"Stake account address"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Solana-like fee strategy"}},"required":["type","currency","maxFee","recipient","stakeAccount","feeStrategy"],"additionalProperties":false,"description":"Solana-like delegate stake data"},"SolanaLikeMergeStakeDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"SOLANA_LIKE_MERGE_STAKE"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"mergeSrcAccount":{"type":"string","description":"Source stake address"},"mergeDstAccount":{"type":"string","description":"Destination stake address"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Solana-like fee strategy"}},"required":["type","currency","maxFee","mergeSrcAccount","mergeDstAccount","feeStrategy"],"additionalProperties":false,"description":"Solana-like merge stake data"},"SolanaLikeSendDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"SOLANA_LIKE_SEND"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Solana-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"additionalProperties":false,"description":"Solana-like send data"},"SolanaLikeSplitDeactivateStakeDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"stakeAccount":{"type":"string","description":"Stake account address"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Solana-like fee strategy"}},"required":["type","amount","currency","maxFee","stakeAccount","feeStrategy"],"additionalProperties":false,"description":"Solana-like split deactivate stake data"},"SolanaLikeSplitStakeDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"SOLANA_LIKE_SPLIT_STAKE"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"stakeAccount":{"type":"string","description":"Stake account address"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Solana-like fee strategy"}},"required":["type","amount","currency","maxFee","stakeAccount","feeStrategy"],"additionalProperties":false,"description":"Solana-like split stake data"},"SolanaLikeWithdrawStakeDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"SOLANA_LIKE_WITHDRAW_STAKE"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"stakeAccount":{"type":"string","description":"Stake account address"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Solana-like fee strategy"}},"required":["type","amount","currency","maxFee","stakeAccount","feeStrategy"],"additionalProperties":false,"description":"Solana-like withdraw stake data"},"SolanaLikeSendTokenDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"SOLANA_LIKE_SEND_TOKEN"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Solana-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"additionalProperties":false,"description":"Solana-like send token data"},"SolanaLikeFundAndSendTokenDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"SOLANA_LIKE_FUND_AND_SEND_TOKEN"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Solana-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"additionalProperties":false,"description":"Solana-like fund token account and send token data"},"SolanaLikeCreateTokenAccountDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Solana-like fee strategy"}},"required":["type","currency","maxFee","feeStrategy"],"additionalProperties":false,"description":"Solana-like create token account"},"StellarLikeSendDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"STELLAR_LIKE_SEND"},"memo":{"anyOf":[{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"MEMO_TEXT"},"value":{"type":"string","maxLength":28,"description":"Text memo (at most a 28 bytes string)"}},"required":["type","value"],"additionalProperties":false,"description":"Text memo"},{"type":"object","properties":{"type":{"type":"string","const":"MEMO_ID"},"value":{"type":"string","minLength":1,"pattern":"^(-?[1-9]\\d*|0)$","description":"Id memo (unsigned 64 bits integer)"}},"required":["type","value"],"additionalProperties":false,"description":"Id memo"},{"type":"object","properties":{"type":{"type":"string","const":"MEMO_HASH"},"value":{"type":"string","maxLength":128,"pattern":"^[a-fA-F0-9]+$","description":"Transaction hash memo (64 bytes hexadecimal string)"}},"required":["type","value"],"additionalProperties":false,"description":"Hash memo"},{"type":"object","properties":{"type":{"type":"string","const":"MEMO_RETURN"},"value":{"type":"string","maxLength":128,"pattern":"^[a-fA-F0-9]+$","description":"A 64 bytes hexadecimal string intended to be interpreted as the hash of the transaction the sender is refunding."}},"required":["type","value"],"additionalProperties":false,"description":"Return memo"}],"type":"object"},{"type":"null"}],"description":"Stellar memo"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Stellar-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","memo","feeStrategy"],"additionalProperties":false,"description":"Stellar-like send data"},"SuiLikeSendDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"SUI_LIKE_SEND"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Sui-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"additionalProperties":false,"description":"Sui-like send data"},"SuiLikeTransferTokenDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"SUI_LIKE_SEND_TOKEN"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Sui-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"additionalProperties":false,"description":"Sui-like transfer token data"},"SuiLikeStakeDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"SUI_LIKE_STAKE"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Sui-like fee strategy"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"validator":{"type":"string","minLength":1,"description":"Validator address"}},"required":["type","feeStrategy","amount","currency","maxFee","validator"],"additionalProperties":false,"description":"Sui-like stake data"},"SuiLikeUnstakeDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"SUI_LIKE_UNSTAKE"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Sui-like fee strategy"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"stakedSuiId":{"type":"string","minLength":1,"description":"Staked object to (partially?) unstake"},"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Amount to unstake from the position"},"useAllAmount":{"type":"boolean","description":"Whether to unstake the full amount (triggers different sets of transaction commands)"}},"required":["type","feeStrategy","currency","maxFee","stakedSuiId","amount","useAllAmount"],"additionalProperties":false,"description":"Sui-like unstake data"},"TezosLikeSendDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"TEZOS_LIKE_SEND"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST","CUSTOM"]}},"required":["type"],"additionalProperties":false,"description":"Tezos-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"additionalProperties":false,"description":"Tezos-like send data"},"TezosLikeDelegateDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"TEZOS_LIKE_DELEGATE"},"amount":{"description":"Deprecated: DO NOT USE!","type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST","CUSTOM"]}},"required":["type"],"additionalProperties":false,"description":"Tezos-like fee strategy"}},"required":["type","currency","maxFee","recipient","feeStrategy"],"additionalProperties":false,"description":"Tezos-like delegate data"},"TezosLikeUndelegateDataOutput":{"type":"object","properties":{"type":{"type":"string","const":"TEZOS_LIKE_UNDELEGATE"},"amount":{"description":"Deprecated: DO NOT USE!","type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"description":"Deprecated: DO NOT USE!","type":"string","minLength":1},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST","CUSTOM"]}},"required":["type"],"additionalProperties":false,"description":"Tezos-like fee strategy"}},"required":["type","currency","maxFee","feeStrategy"],"additionalProperties":false,"description":"Tezos-like undelegate data"},"TronLikeSendDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"TRON_LIKE_SEND"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Tron-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"additionalProperties":false,"description":"Tron-like send data"},"TronLikeSendTokenDataOutput":{"type":"object","properties":{"amount":{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$","description":"Transaction amount"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use Account.network. Transaction currency"},"maxFee":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Transaction max fee"},"recipient":{"type":"string","minLength":1,"description":"Transaction recipient"},"type":{"type":"string","const":"TRON_LIKE_SEND_TOKEN"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"additionalProperties":false,"description":"Tron-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"additionalProperties":false,"description":"Tron-like send token data"},"MessageHexData":{"type":"string","minLength":1,"pattern":"^[0-9a-fA-F]+$","description":"Hex data string to sign"},"Eip712Data":{"type":"object","properties":{"types":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"}},"required":["name","type"],"additionalProperties":false}},"description":"EIP-712 types"},"primaryType":{"type":"string","description":"EIP-712 primary type"},"domain":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"EIP-712 domain"},"message":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"EIP-712 message"}},"required":["types","primaryType","domain","message"],"additionalProperties":false,"description":"EIP-712 data to sign"},"CreateAccountRequestData":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":40,"description":"Account name"},"currency":{"type":"string","minLength":1,"maxLength":40,"pattern":"^\\w+$","description":"Will be deprecated soon, use network instead. Currency"},"contractAddress":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"description":"Token issuer"},"tokenIdentifier":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"description":"Token identifier"},"governance":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"CLASSIC"},"policy":{"anyOf":[{"type":"object","properties":{"policyId":{"type":"string","minLength":1}},"required":["policyId"],"additionalProperties":false,"description":"Account policy"},{"type":"object","properties":{"rules":{"type":"array","items":{"$ref":"#/components/schemas/ClassicGovRuleData"}}},"required":["rules"],"additionalProperties":false,"description":"Account governance rules"}],"description":"Account policy or governance rules"}},"required":["type","policy"],"additionalProperties":false,"description":"Classic governance"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK"},"assetManagerId":{"type":"string"},"exchangeConfigs":{"type":"array","items":{"type":"object","properties":{"exchangeId":{"type":"string","description":"Tradelink exchange id"},"repledgeAuthorized":{"type":"boolean","description":"Determines whether this exchange is authorized to repledge on this account"},"needsAssetManagerApprovalForSettlements":{"type":"boolean","description":"Determines whether asset manager will \"pre-approve\" the settlement requests on this account"}},"required":["exchangeId","repledgeAuthorized","needsAssetManagerApprovalForSettlements"],"additionalProperties":false}}},"required":["type","assetManagerId","exchangeConfigs"],"additionalProperties":false,"description":"Tradelink governance"},{"type":"object","properties":{"type":{"type":"string","const":"RAW_SIGNING"},"policy":{"type":"object","properties":{"rules":{"type":"array","items":{"type":"object","properties":{"operationType":{"type":"string","const":"SIGN_DIGESTS"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"}}},"required":["operationType","reviewSteps"],"additionalProperties":false,"description":"Digest signing rule"}}},"required":["rules"],"additionalProperties":false}},"required":["type","policy"],"additionalProperties":false,"description":"Raw signing governance"}],"description":"Governance fields","type":"object"},"index":{"type":"number","minimum":0,"description":"Account index"},"derivationPath":{"type":"string","description":"Account bip44 derivation path"},"type":{"type":"string","enum":["BITCOIN_LIKE","CANTON_LIKE","CARDANO_LIKE","ETHEREUM_LIKE","GENERIC_LIKE","HEDERA_LIKE","POLKADOT_LIKE","RAW_SIGNING","RIPPLE_LIKE","SOLANA_LIKE","STELLAR_LIKE","SUI_LIKE","TEZOS_LIKE","TRON_LIKE"]}},"required":["name","currency","contractAddress","tokenIdentifier","governance","index","derivationPath","type"],"additionalProperties":false,"description":"Create account request data"},"ClassicGovRuleData":{"type":"object","properties":{"reviewSteps":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"},{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"groupId":{"type":"string","minLength":1,"description":"Group id in the step"}},"required":["quorum","groupId"],"additionalProperties":false,"description":"Review step with group"}]},"description":"Review steps"},"threshold":{"type":"object","properties":{"min":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Minimum transaction amount"},"max":{"anyOf":[{"type":"string","minLength":1,"pattern":"^([1-9]\\d*|0)$"},{"type":"null"}],"description":"Maximum transaction amount"}},"required":["min","max"],"additionalProperties":false,"description":"Threshold for the transaction value"},"whitelistIds":{"type":"array","items":{"type":"string","minLength":1},"description":"IDs of whitelists for the recipient address"},"operationType":{"type":"string","enum":["SEND","STAKE","DEPLOY_CONTRACT","EXECUTE_CONTRACT","SIGN_MESSAGE","ACTIVATE_TOKEN","RECEIVE"],"description":"Allowed action"}},"required":["reviewSteps","operationType"],"additionalProperties":false,"description":"Account governance rule"},"EditAccountRequestData":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":40,"description":"Account name"},"governance":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"CLASSIC"},"policy":{"anyOf":[{"type":"object","properties":{"policyId":{"type":"string","minLength":1}},"required":["policyId"],"additionalProperties":false,"description":"Account policy"},{"type":"object","properties":{"rules":{"type":"array","items":{"$ref":"#/components/schemas/ClassicGovRuleData"}}},"required":["rules"],"additionalProperties":false,"description":"Account governance rules"}],"description":"Account policy or governance rules"}},"required":["type","policy"],"additionalProperties":false,"description":"Classic governance"},{"type":"object","properties":{"type":{"type":"string","const":"TRADELINK"},"exchangeConfigs":{"type":"array","items":{"type":"object","properties":{"exchangeId":{"type":"string","description":"Tradelink exchange id"},"repledgeAuthorized":{"type":"boolean","description":"Determines whether this exchange is authorized to repledge on this account"},"needsAssetManagerApprovalForSettlements":{"type":"boolean","description":"Determines whether asset manager will \"pre-approve\" the settlement requests on this account"}},"required":["exchangeId","repledgeAuthorized","needsAssetManagerApprovalForSettlements"],"additionalProperties":false}}},"required":["type","exchangeConfigs"],"additionalProperties":false,"description":"Tradelink governance"},{"type":"object","properties":{"type":{"type":"string","const":"RAW_SIGNING"},"policy":{"type":"object","properties":{"rules":{"type":"array","items":{"type":"object","properties":{"operationType":{"type":"string","const":"SIGN_DIGESTS"},"reviewSteps":{"type":"array","items":{"type":"object","properties":{"quorum":{"type":"number","minimum":0,"description":"Number of required approvals for the step"},"userIds":{"type":"array","items":{"type":"string","minLength":1},"description":"User ids in the step"}},"required":["quorum","userIds"],"additionalProperties":false,"description":"Review step with users"}}},"required":["operationType","reviewSteps"],"additionalProperties":false,"description":"Digest signing rule"}}},"required":["rules"],"additionalProperties":false}},"required":["type","policy"],"additionalProperties":false,"description":"Raw signing governance"}],"description":"Governance fields","type":"object"}},"required":["name","governance"],"additionalProperties":false,"description":"Edit account request data"},"error.BAD_REQUEST":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","type":"array","items":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":false}}},"required":["message","code"],"additionalProperties":false,"title":"Invalid input data error (400)","description":"The error information"},"error.UNAUTHORIZED":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","type":"array","items":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":false}}},"required":["message","code"],"additionalProperties":false,"title":"Authorization not provided error (401)","description":"The error information"},"error.FORBIDDEN":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","type":"array","items":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":false}}},"required":["message","code"],"additionalProperties":false,"title":"Insufficient access error (403)","description":"The error information"},"error.INTERNAL_SERVER_ERROR":{"type":"object","properties":{"message":{"type":"string","description":"The error message"},"code":{"type":"string","description":"The error code"},"issues":{"description":"An array of issues that were responsible for the error","type":"array","items":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":false}}},"required":["message","code"],"additionalProperties":false,"title":"Internal server error error (500)","description":"The error information"}}},"paths":{"/requests/{id}/approve":{"post":{"operationId":"requests-approve","summary":"Approve a request from the current user","tags":["request"],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"ID of the request to approve"},"required":true,"description":"ID of the request to approve"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"oneOf":[{"type":"object","properties":{"challengeType":{"type":"string","enum":["PSD","API"],"description":"Challenge type"},"signature":{"type":"string","minLength":1,"description":"Challenge signature"}},"required":["challengeType","signature"]},{"type":"object","properties":{"challengeType":{"type":"string","enum":["SOFT"],"description":"Challenge type"}},"required":["challengeType"]}],"type":"object"}},"required":["data"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VaultRequestResponse"}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}}}}
```
