Skip to content

Commit

Permalink
JSON Schema Update
Browse files Browse the repository at this point in the history
  • Loading branch information
nobody committed May 6, 2024
1 parent ad32351 commit 740bef2
Showing 1 changed file with 71 additions and 22 deletions.
93 changes: 71 additions & 22 deletions config/v3/mt5_login_list/receive.json
Original file line number Diff line number Diff line change
Expand Up @@ -205,28 +205,77 @@
},
"rights": {
"description": "Rights assigned to the MT5 account.",
"type": "array",
"items": {
"type": "string",
"enum": [
"api",
"api_deprecated",
"confirmed",
"enabled",
"exclude_reports",
"expert",
"investor",
"otp_enabled",
"password",
"push",
"readonly",
"reports",
"reset_pass",
"sponsored",
"technical",
"trade_disabled",
"trailing"
]
"type": "object",
"additionalProperties": false,
"properties": {
"api": {
"description": "User is allowed to connect via MT5 Web API",
"type": "boolean"
},
"api_deprecated": {
"description": "This flag is obsolete and not used",
"type": "boolean"
},
"confirmed": {
"description": "User's certificate is confirmed",
"type": "boolean"
},
"enabled": {
"description": "The User is allowed to connect",
"type": "boolean"
},
"exclude_reports": {
"description": "User is not allowed to view reports",
"type": "boolean"
},
"expert": {
"description": "User is allowed to use Expert Advisors",
"type": "boolean"
},
"investor": {
"description": "For internal mt5 usage",
"type": "boolean"
},
"otp_enabled": {
"description": "User is allowed to use OTP",
"type": "boolean"
},
"password_change": {
"description": "User is allowed to change password",
"type": "boolean"
},
"push": {
"description": "User has enabled push notifications",
"type": "boolean"
},
"readonly": {
"description": "Value for internal mt5 usage",
"type": "boolean"
},
"reports": {
"description": "User is allowed to receive daily reports",
"type": "boolean"
},
"reset_pass": {
"description": "User must change password during next connection",
"type": "boolean"
},
"sponsored": {
"description": "VPS is enabled for user",
"type": "boolean"
},
"technical": {
"description": "User can view technical accounts in manager/admin terminal",
"type": "boolean"
},
"trade_disabled": {
"description": "Trading is disabled for user",
"type": "boolean"
},
"trailing": {
"description": "User is allowed to use trailing stops",
"type": "boolean"
}
}
},
"server": {
Expand Down

0 comments on commit 740bef2

Please sign in to comment.