# Request

## GET /requests

> List requests

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.56.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.NOT_FOUND":{"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":"Not found error (404)","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":{"get":{"operationId":"requests-list","summary":"List requests","tags":["request"],"parameters":[{"in":"query","name":"page","schema":{"default":1,"description":"Which page to fetch","type":"integer","minimum":1,"maximum":9007199254740991}},{"in":"query","name":"pageSize","schema":{"default":30,"description":"Page size to use","type":"integer","minimum":1,"maximum":30}},{"in":"query","name":"type","schema":{"anyOf":[{"type":"array","items":{"type":"string","enum":["UPDATE_QUORUM","CREATE_TRANSACTION","SIGN_MESSAGE","SIGN_DIGESTS","CREATE_ACCOUNT","EDIT_ACCOUNT","CREATE_GROUP","EDIT_GROUP","REVOKE_GROUP","CREATE_WHITELIST","EDIT_WHITELIST","CREATE_ENTITY","EDIT_ENTITY","REVOKE_ENTITY","CREATE_PSD_USER","CREATE_API_USER","CREATE_API_USER_ACCESS","REVOKE_USER","EDIT_WORKSPACE_RULE","CREATE_SCICONFIG","EDIT_SCICONFIG","CREATE_API_KEY","EDIT_API_KEY","REVOKE_API_KEY","CREATE_POLICY","EDIT_POLICY","EDIT_TOKEN_RULE","TRADELINK_CREATE_CUSTODIAN","TRADELINK_EDIT_CUSTODIAN","TRADELINK_CREATE_EXCHANGE","TRADELINK_EDIT_EXCHANGE","TRADELINK_CREATE_ASSET_MANAGER","TRADELINK_EDIT_ASSET_MANAGER","TRADELINK_ACTIVATE_ACCOUNT","TRADELINK_ADJUST_PLEDGE","TRADELINK_CREATE_SETTLEMENT","TRADELINK_FORCE_UNPLEDGE","TRADELINK_ARBITRATE","TRADELINK_WITHDRAW","TRADELINK_REPLEDGE"]},"description":"Multiple types"},{"type":"string","enum":["UPDATE_QUORUM","CREATE_TRANSACTION","SIGN_MESSAGE","SIGN_DIGESTS","CREATE_ACCOUNT","EDIT_ACCOUNT","CREATE_GROUP","EDIT_GROUP","REVOKE_GROUP","CREATE_WHITELIST","EDIT_WHITELIST","CREATE_ENTITY","EDIT_ENTITY","REVOKE_ENTITY","CREATE_PSD_USER","CREATE_API_USER","CREATE_API_USER_ACCESS","REVOKE_USER","EDIT_WORKSPACE_RULE","CREATE_SCICONFIG","EDIT_SCICONFIG","CREATE_API_KEY","EDIT_API_KEY","REVOKE_API_KEY","CREATE_POLICY","EDIT_POLICY","EDIT_TOKEN_RULE","TRADELINK_CREATE_CUSTODIAN","TRADELINK_EDIT_CUSTODIAN","TRADELINK_CREATE_EXCHANGE","TRADELINK_EDIT_EXCHANGE","TRADELINK_CREATE_ASSET_MANAGER","TRADELINK_EDIT_ASSET_MANAGER","TRADELINK_ACTIVATE_ACCOUNT","TRADELINK_ADJUST_PLEDGE","TRADELINK_CREATE_SETTLEMENT","TRADELINK_FORCE_UNPLEDGE","TRADELINK_ARBITRATE","TRADELINK_WITHDRAW","TRADELINK_REPLEDGE"],"description":"Single type"}],"description":"Search by request type"}},{"in":"query","name":"state","schema":{"anyOf":[{"type":"array","items":{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"]},"description":"Multiple states"},{"type":"string","enum":["INITIAL","PENDING_APPROVAL","EXECUTING","EXECUTED","FAILED","ABORTED","BLOCKED","EXPIRED","STUCK"],"description":"Single state"}],"description":"Search by request state"}},{"in":"query","name":"targetId","schema":{"type":"string","description":"Search by target ID"}},{"in":"query","name":"createdBy","schema":{"type":"string","description":"Search by request creator (user ID or 'me')"}},{"in":"query","name":"reviewedBy","schema":{"type":"string","description":"Search by user who has already reviewed (user ID or 'me')"}},{"in":"query","name":"pendingBy","schema":{"type":"string","description":"Search by user who has a pending review for the request (user ID or 'me')"}},{"in":"query","name":"sortBy","schema":{"default":"createdAt","description":"Sort by attribute","type":"string","enum":["state","expiresAt","createdAt","updatedAt"]}},{"in":"query","name":"sortOrder","schema":{"default":"asc","description":"Sort order","type":"string","enum":["asc","desc"]}},{"in":"query","name":"fromDate","schema":{"description":"Search by createdAt >= this date (inclusive)","type":"string"}},{"in":"query","name":"toDate","schema":{"description":"Search by createdAt <= this date (inclusive)","type":"string"}},{"in":"query","name":"support","schema":{"type":"string","enum":["standalone","legacy"],"description":"Filter requests by support"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"page":{"type":"number","description":"Current page"},"next":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Next page or null if there is none"},"prev":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Previous page or null if there is none"},"pageSize":{"type":"number","description":"Max count of items per page"},"total":{"type":"number","description":"Total count of items"},"results":{"type":"array","items":{"$ref":"#/components/schemas/VaultRequestResponse"},"description":"Array of results"}},"required":["page","next","prev","pageSize","total","results"],"additionalProperties":false}}}},"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"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}}}}
```

## GET /requests/{id}

> Get a request by ID

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.56.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.NOT_FOUND":{"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":"Not found error (404)","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}":{"get":{"operationId":"requests-findById","summary":"Get a request by ID","tags":["request"],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the request"},"required":true,"description":"Id of the request"}],"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"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}}}}
```

## GET /requests/{id}/challenge

> Get the challenge of the specified request for current user

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.56.0"},"servers":[{"url":"/v1/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"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.NOT_FOUND":{"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":"Not found error (404)","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}/challenge":{"get":{"operationId":"requests-getChallenge","summary":"Get the challenge of the specified request for current user","tags":["request"],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"Id of the request"},"required":true,"description":"Id of the request"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"pubKey":{"type":"string","description":"Public key of the current user"},"challenge":{"oneOf":[{"type":"object","properties":{"challengeType":{"type":"string","const":"PSD"},"wActions":{"type":"array","items":{"type":"string"},"description":"Wrapped blobs that describe the screens to display"},"handshake":{"type":"string","description":"Handshake for the HSM <-> PSD communication"},"handshakeAttestation":{"type":"object","properties":{"codeHash":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$","description":"Hash of the executable that generated this certificate"},"attestationPub":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$","description":"Attestation public key"},"certificate":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$","description":"Certificate bytes"},"signature":{"type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$","description":"Certificate signature"}},"required":["codeHash","attestationPub","certificate","signature"],"additionalProperties":false,"description":"Handshake attestation to verify secure channel between HSM & PSD"},"partitionId":{"type":"string","description":"HSM partition id (maybe not useful)"}},"required":["challengeType","wActions","handshake","handshakeAttestation","partitionId"],"additionalProperties":false},{"type":"object","properties":{"challengeType":{"type":"string","const":"API"},"payload":{"type":"object","properties":{"approve":{"type":"string","description":"JSON payload to sign (as JWS) to approve"},"reject":{"type":"string","description":"JSON payload to sign (as JWS) to reject"}},"required":["approve","reject"],"additionalProperties":false,"description":"JSON payload to approve and to reject"}},"required":["challengeType","payload"],"additionalProperties":false},{"type":"object","properties":{"challengeType":{"type":"string","const":"SOFT"}},"required":["challengeType"],"additionalProperties":false}],"description":"Challenge data to sign with the user's private key","type":"object"}},"required":["pubKey","challenge"],"additionalProperties":false}}}},"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"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}}}}
```

## POST /requests/transaction/sui

> Create a Sui transaction request

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.56.0"},"servers":[{"url":"/v1/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"SuiLikeSendData":{"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"],"description":"Sui-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"description":"Sui-like send data"},"SuiLikeTransferTokenData":{"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"],"description":"Sui-like fee strategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"description":"Sui-like transfer token data"},"SuiLikeStakeData":{"type":"object","properties":{"type":{"type":"string","const":"SUI_LIKE_STAKE"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"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"],"description":"Sui-like stake data"},"SuiLikeUnstakeData":{"type":"object","properties":{"type":{"type":"string","const":"SUI_LIKE_UNSTAKE"},"feeStrategy":{"type":"object","properties":{"type":{"type":"string","enum":["SLOW","NORMAL","FAST"]}},"required":["type"],"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"],"description":"Sui-like unstake 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"},"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/transaction/sui":{"post":{"operationId":"requests-createSuiTransaction","summary":"Create a Sui transaction request","tags":["request"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"description":"Target account id"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/SuiLikeSendData"},{"$ref":"#/components/schemas/SuiLikeTransferTokenData"},{"$ref":"#/components/schemas/SuiLikeStakeData"},{"$ref":"#/components/schemas/SuiLikeUnstakeData"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"SUI_LIKE_SEND":"#/components/schemas/SuiLikeSendData","SUI_LIKE_SEND_TOKEN":"#/components/schemas/SuiLikeTransferTokenData","SUI_LIKE_STAKE":"#/components/schemas/SuiLikeStakeData","SUI_LIKE_UNSTAKE":"#/components/schemas/SuiLikeUnstakeData"}}},"note":{"description":"Optional request note","type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"]}},"required":["accountId","transaction"],"description":"Transaction request data"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","const":"CREATE_TRANSACTION"},"data":{"type":"object","properties":{"accountId":{"type":"string"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/SuiLikeSendDataOutput"},{"$ref":"#/components/schemas/SuiLikeTransferTokenDataOutput"},{"$ref":"#/components/schemas/SuiLikeStakeDataOutput"},{"$ref":"#/components/schemas/SuiLikeUnstakeDataOutput"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"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"}}}},"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":"Transaction request"}}}},"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"}}}}}}}}}
```

## POST /requests/transaction/ethereum

> Create an Ethereum transaction request

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.56.0"},"servers":[{"url":"/v1/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"EthereumLikeDeployContractData":{"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","pattern":"^(?:0x|0X)?[a-fA-F0-9]+$"},"feeStrategy":{"$ref":"#/components/schemas/EthereumLikeFeeStrategy"}},"required":["amount","currency","maxFee","recipient","type","contractData","feeStrategy"],"description":"Ethereum-like deploy contract data"},"EthereumLikeFeeStrategy":{"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"],"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"],"description":"Ethereum-like EIP-1559 fee strategy"}],"description":"Ethereum-like fee strategy"},"EthereumLikeExecuteContractData":{"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","pattern":"^(?:0x|0X)?[a-fA-F0-9]+$"},"feeStrategy":{"$ref":"#/components/schemas/EthereumLikeFeeStrategy"}},"required":["amount","currency","maxFee","recipient","type","contractData","feeStrategy"],"description":"Ethereum-like execute contract data"},"EthereumLikeSendData":{"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/EthereumLikeFeeStrategy"}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"description":"Ethereum-like send 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"},"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/transaction/ethereum":{"post":{"operationId":"requests-createEthTransaction","summary":"Create an Ethereum transaction request","tags":["request"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"description":"Target account id"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/EthereumLikeDeployContractData"},{"$ref":"#/components/schemas/EthereumLikeExecuteContractData"},{"$ref":"#/components/schemas/EthereumLikeSendData"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"ETHEREUM_LIKE_DEPLOY_CONTRACT":"#/components/schemas/EthereumLikeDeployContractData","ETHEREUM_LIKE_EXECUTE_CONTRACT":"#/components/schemas/EthereumLikeExecuteContractData","ETHEREUM_LIKE_SEND":"#/components/schemas/EthereumLikeSendData"}}},"note":{"description":"Optional request note","type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"]}},"required":["accountId","transaction"],"description":"Transaction request data"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","const":"CREATE_TRANSACTION"},"data":{"type":"object","properties":{"accountId":{"type":"string"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/EthereumLikeDeployContractDataOutput"},{"$ref":"#/components/schemas/EthereumLikeExecuteContractDataOutput"},{"$ref":"#/components/schemas/EthereumLikeSendDataOutput"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"ETHEREUM_LIKE_DEPLOY_CONTRACT":"#/components/schemas/EthereumLikeDeployContractDataOutput","ETHEREUM_LIKE_EXECUTE_CONTRACT":"#/components/schemas/EthereumLikeExecuteContractDataOutput","ETHEREUM_LIKE_SEND":"#/components/schemas/EthereumLikeSendDataOutput"}}}},"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":"Transaction request"}}}},"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"}}}}}}}}}
```

## POST /requests/transaction/hedera

> Create a Hedera transaction request

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.56.0"},"servers":[{"url":"/v1/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"HederaLikeSendData":{"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"]}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"description":"Hedera-like send data"},"HederaLikeSendTokenData":{"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"]}},"required":["amount","currency","maxFee","recipient","type","feeStrategy"],"description":"Hedera-like send token data"},"HederaLikeStakeData":{"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"]}},"required":["type","currency","nodeId","maxFee","feeStrategy"],"description":"Hedera-like stake 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"},"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/transaction/hedera":{"post":{"operationId":"requests-createHederaTransaction","summary":"Create a Hedera transaction request","tags":["request"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"description":"Target account id"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/HederaLikeSendData"},{"$ref":"#/components/schemas/HederaLikeSendTokenData"},{"$ref":"#/components/schemas/HederaLikeStakeData"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"HEDERA_LIKE_SEND":"#/components/schemas/HederaLikeSendData","HEDERA_LIKE_SEND_TOKEN":"#/components/schemas/HederaLikeSendTokenData","HEDERA_LIKE_STAKE":"#/components/schemas/HederaLikeStakeData"}}},"note":{"description":"Optional request note","type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"]}},"required":["accountId","transaction"],"description":"Transaction request data"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","const":"CREATE_TRANSACTION"},"data":{"type":"object","properties":{"accountId":{"type":"string"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/HederaLikeSendDataOutput"},{"$ref":"#/components/schemas/HederaLikeSendTokenDataOutput"},{"$ref":"#/components/schemas/HederaLikeStakeDataOutput"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"HEDERA_LIKE_SEND":"#/components/schemas/HederaLikeSendDataOutput","HEDERA_LIKE_SEND_TOKEN":"#/components/schemas/HederaLikeSendTokenDataOutput","HEDERA_LIKE_STAKE":"#/components/schemas/HederaLikeStakeDataOutput"}}}},"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":"Transaction request"}}}},"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"}}}}}}}}}
```

## POST /requests/transaction/canton

> Create a Canton transaction request

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.56.0"},"servers":[{"url":"/v1/rest"}],"security":[{"Authorization":[]}],"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"CantonLikeSendData":{"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"],"description":"Canton-like send data"},"CantonLikeSendTokenData":{"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"],"description":"Canton-like send token data"},"CantonLikeWithdrawData":{"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/CantonTransferProposal"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Reason of the verdict"},"type":{"type":"string","const":"CANTON_LIKE_WITHDRAW"}},"required":["currency","transferProposal","reason","type"],"description":"Canton-like withdraw data"},"CantonTransferProposal":{"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"],"description":"A pending asset-transfer request"},"CantonLikeReceiveData":{"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/CantonTransferProposal"},"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"],"description":"Canton-like receive data"},"CantonLikePreApprovalData":{"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"],"description":"Canton-like pre-approval 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"},"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/transaction/canton":{"post":{"operationId":"requests-createCantonTransaction","summary":"Create a Canton transaction request","tags":["request"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"description":"Target account id"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/CantonLikeSendData"},{"$ref":"#/components/schemas/CantonLikeSendTokenData"},{"$ref":"#/components/schemas/CantonLikeWithdrawData"},{"$ref":"#/components/schemas/CantonLikeReceiveData"},{"$ref":"#/components/schemas/CantonLikePreApprovalData"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"CANTON_LIKE_SEND":"#/components/schemas/CantonLikeSendData","CANTON_LIKE_SEND_TOKEN":"#/components/schemas/CantonLikeSendTokenData","CANTON_LIKE_WITHDRAW":"#/components/schemas/CantonLikeWithdrawData","CANTON_LIKE_RECEIVE":"#/components/schemas/CantonLikeReceiveData","CANTON_LIKE_PRE_APPROVAL":"#/components/schemas/CantonLikePreApprovalData"}}},"note":{"description":"Optional request note","type":"object","properties":{"title":{"type":"string","description":"Note title"},"content":{"type":"string","description":"Note content"}},"required":["title","content"]}},"required":["accountId","transaction"],"description":"Transaction request data"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","const":"CREATE_TRANSACTION"},"data":{"type":"object","properties":{"accountId":{"type":"string"},"transaction":{"oneOf":[{"$ref":"#/components/schemas/CantonLikeSendDataOutput"},{"$ref":"#/components/schemas/CantonLikeSendTokenDataOutput"},{"$ref":"#/components/schemas/CantonLikeWithdrawDataOutput"},{"$ref":"#/components/schemas/CantonLikeReceiveDataOutput"},{"$ref":"#/components/schemas/CantonLikePreApprovalDataOutput"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"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"}}}},"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":"Transaction request"}}}},"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"}}}}}}}}}
```

## POST /requests/create-account

> Create an account

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.56.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/create-account":{"post":{"operationId":"requests-createAccount","summary":"Create an account","tags":["request"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"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"},"index":{"description":"Account index","type":"number","minimum":0},"contractAddress":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"description":"Token issuer"},"tokenIdentifier":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"description":"Token identifier"},"policyId":{"type":"string","minLength":1,"description":"Account policy"}},"required":["name","currency","contractAddress","tokenIdentifier","policyId"],"description":"Create account request data (for API admin only)"}}}},"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"}}}}}}}}}
```

## POST /requests/sign-digests

> Sign digests

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.56.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/sign-digests":{"post":{"operationId":"requests-signDigests","summary":"Sign digests","tags":["request"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"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"]},"description":"The digests to sign"}},"required":["accountId","digests"]}}}},"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"}}}}}}}}}
```

## POST /requests/{id}/approve

> Approve a request from the current user

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.56.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"}}}}}}}}}
```

## POST /requests/{id}/reject

> Reject a request from the current user

```json
{"openapi":"3.1.0","info":{"title":"revault-api","version":"1.56.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}/reject":{"post":{"operationId":"requests-reject","summary":"Reject a request from the current user","tags":["request"],"parameters":[{"in":"path","name":"id","schema":{"type":"string","description":"ID of the request to reject"},"required":true,"description":"ID of the request to reject"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"anyOf":[{"type":"object","properties":{"signature":{"type":"string","minLength":1},"challengeType":{"type":"string","const":"API"}},"required":["signature","challengeType"]},{"type":"null"}],"description":"Response to the challenge"}},"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"}}}}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.enterprise.ledger.com/api-documentation-v2/reference/request.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
