Skip to content

Commit

Permalink
JSON Schema Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Github Workflow committed Jun 24, 2024
1 parent a5b331a commit c16587a
Show file tree
Hide file tree
Showing 106 changed files with 278 additions and 339 deletions.
2 changes: 1 addition & 1 deletion config/v3/active_symbols/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
]
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
"type": "string",
"pattern": "^[A-Za-z]+[0-9]+$"
},
Expand Down
2 changes: 1 addition & 1 deletion config/v3/api_token/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
]
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
"type": "string",
"pattern": "^[A-Za-z]+[0-9]+$"
},
Expand Down
2 changes: 1 addition & 1 deletion config/v3/app_delete/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"type": "integer"
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
"type": "string",
"pattern": "^[A-Za-z]+[0-9]+$"
},
Expand Down
2 changes: 1 addition & 1 deletion config/v3/app_get/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"type": "integer"
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
"type": "string",
"pattern": "^[A-Za-z]+[0-9]+$"
},
Expand Down
2 changes: 1 addition & 1 deletion config/v3/app_list/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
]
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
"type": "string",
"pattern": "^[A-Za-z]+[0-9]+$"
},
Expand Down
2 changes: 1 addition & 1 deletion config/v3/app_markup_details/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"uniqueItems": true
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
"type": "string",
"pattern": "^[A-Za-z]+[0-9]+$"
},
Expand Down
2 changes: 1 addition & 1 deletion config/v3/app_markup_statistics/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"pattern": "^([0-9]{4}-(0?[1-9]|1[012])-(0?[1-9]|[12][0-9]|3[01]) ([01]?[0-9]|2[0-3]):([0-5]?[0-9]):([0-5]?[0-9])|[0-9]{1,10})$"
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
"type": "string",
"pattern": "^[A-Za-z]+[0-9]+$"
},
Expand Down
2 changes: 1 addition & 1 deletion config/v3/app_register/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"pattern": "^[a-z][a-z0-9.+\\-]*://[0-9a-zA-Z\\.-]+[\\%\\/\\w \\.-]*$"
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
"type": "string",
"pattern": "^[A-Za-z]+[0-9]+$"
},
Expand Down
2 changes: 1 addition & 1 deletion config/v3/app_update/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"pattern": "^[a-z][a-z0-9.+\\-]*://[0-9a-zA-Z\\.-]+[\\%\\/\\w \\.-]*$"
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
"type": "string",
"pattern": "^[A-Za-z]+[0-9]+$"
},
Expand Down
2 changes: 1 addition & 1 deletion config/v3/asset_index/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
]
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
"type": "string",
"pattern": "^[A-Za-z]+[0-9]+$"
},
Expand Down
6 changes: 3 additions & 3 deletions config/v3/authorize/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
],
"properties": {
"authorize": {
"description": "Authentication token. May be retrieved from https://www.binary.com/en/user/security/api_tokenws.html. Set to MULTI when using multiple tokens.",
"description": "Authentication token. May be retrieved from https://www.binary.com/en/user/security/api_tokenws.html",
"type": "string",
"pattern": "^[\\w\\-]{1,128}$",
"sensitive": 1
Expand All @@ -25,13 +25,13 @@
]
},
"tokens": {
"description": "Additional Authentication tokens of authorized user that may be used in this session. Upto 25 tokens.",
"description": "Additional Authentication tokens of authorized user that may be used in this session. Upto 10 tokens.",
"type": "array",
"items": {
"type": "string",
"pattern": "^[\\w\\-]{1,128}$"
},
"maxItems": 25,
"maxItems": 10,
"sensitive": 1
},
"passthrough": {
Expand Down
2 changes: 1 addition & 1 deletion config/v3/balance/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
]
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
"type": "string",
"pattern": "^[A-Za-z]+[0-9]+$"
},
Expand Down
2 changes: 1 addition & 1 deletion config/v3/buy/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@
]
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
"type": "string",
"pattern": "^[A-Za-z]+[0-9]+$"
},
Expand Down
2 changes: 1 addition & 1 deletion config/v3/buy_contract_for_multiple_accounts/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
"sensitive": 1
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
"type": "string",
"pattern": "^[A-Za-z]+[0-9]+$"
},
Expand Down
2 changes: 1 addition & 1 deletion config/v3/cancel/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"type": "integer"
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
"type": "string",
"pattern": "^[A-Za-z]+[0-9]+$"
},
Expand Down
2 changes: 1 addition & 1 deletion config/v3/cashier/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"pattern": "^\\w{8,128}$"
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
"type": "string",
"pattern": "^[A-Za-z]+[0-9]+$"
},
Expand Down
2 changes: 1 addition & 1 deletion config/v3/contract_update/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
}
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
"type": "string",
"pattern": "^[A-Za-z]+[0-9]+$"
},
Expand Down
2 changes: 1 addition & 1 deletion config/v3/contract_update_history/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"minimum": 1
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
"type": "string",
"pattern": "^[A-Za-z]+[0-9]+$"
},
Expand Down
2 changes: 1 addition & 1 deletion config/v3/contracts_for/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
]
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
"type": "string",
"pattern": "^[A-Za-z]+[0-9]+$"
},
Expand Down
2 changes: 1 addition & 1 deletion config/v3/copy_start/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
]
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
"type": "string",
"pattern": "^[A-Za-z]+[0-9]+$"
},
Expand Down
2 changes: 1 addition & 1 deletion config/v3/copy_stop/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"sensitive": 1
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
"type": "string",
"pattern": "^[A-Za-z]+[0-9]+$"
},
Expand Down
2 changes: 1 addition & 1 deletion config/v3/copytrading_list/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
]
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
"type": "string",
"pattern": "^[A-Za-z]+[0-9]+$"
},
Expand Down
2 changes: 1 addition & 1 deletion config/v3/crypto_config/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"pattern": "^[a-zA-Z0-9]{2,20}$"
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
"type": "string",
"pattern": "^[A-Za-z]+[0-9]+$"
},
Expand Down
2 changes: 1 addition & 1 deletion config/v3/crypto_estimations/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
]
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
"type": "string",
"pattern": "^[A-Za-z]+[0-9]+$"
},
Expand Down
2 changes: 1 addition & 1 deletion config/v3/document_upload/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
}
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
"type": "string",
"pattern": "^[A-Za-z]+[0-9]+$"
},
Expand Down
2 changes: 1 addition & 1 deletion config/v3/exchange_rates/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"pattern": "^[a-zA-Z0-9]{2,20}$"
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
"type": "string",
"pattern": "^[A-Za-z]+[0-9]+$"
},
Expand Down
2 changes: 1 addition & 1 deletion config/v3/get_account_status/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
]
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
"type": "string",
"pattern": "^[A-Za-z]+[0-9]+$"
},
Expand Down
2 changes: 1 addition & 1 deletion config/v3/get_financial_assessment/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
]
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
"type": "string",
"pattern": "^[A-Za-z]+[0-9]+$"
},
Expand Down
2 changes: 1 addition & 1 deletion config/v3/get_limits/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
]
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
"type": "string",
"pattern": "^[A-Za-z]+[0-9]+$"
},
Expand Down
2 changes: 1 addition & 1 deletion config/v3/get_self_exclusion/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
]
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
"type": "string",
"pattern": "^[A-Za-z]+[0-9]+$"
},
Expand Down
2 changes: 1 addition & 1 deletion config/v3/get_settings/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
]
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
"type": "string",
"pattern": "^[A-Za-z]+[0-9]+$"
},
Expand Down
2 changes: 1 addition & 1 deletion config/v3/identity_verification_document_add/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"pattern": "^[a-z]{2}$"
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
"type": "string",
"pattern": "^[A-Za-z]+[0-9]+$"
},
Expand Down
2 changes: 1 addition & 1 deletion config/v3/kyc_auth_status/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
}
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
"type": "string",
"pattern": "^[A-Za-z]+[0-9]+$"
},
Expand Down
Loading

0 comments on commit c16587a

Please sign in to comment.