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 4, 2024
1 parent 1987cdb commit 473e136
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 6 deletions.
8 changes: 8 additions & 0 deletions config/v3/get_settings/receive.json
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,14 @@
"description": "(Optional) Indicates the timestamp for the next verification attempt",
"type": "integer"
},
"next_email_attempt": {
"description": "(Optional) Indicates the timestamp for the next email verification attempt",
"type": "integer"
},
"next_verify_attempt": {
"description": "(Optional) Indicates the timestamp for the next verify attempt",
"type": "integer"
},
"verified": {
"description": "Indicates the verification status of the client's phone number.",
"type": "integer",
Expand Down
3 changes: 2 additions & 1 deletion config/v3/p2p_advert_create/receive.json
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@
]
},
"visibility_status": {
"description": "Reasons why an advert is not visible. Possible values: \n- `advert_inactive`: the advert is set inactive. \n- `advert_max_limit`: the minimum order amount exceeds the system maximum order. \n- `advert_min_limit`: the maximum order amount is too small to be shown on the advert list. \n- `advert_remaining`: the remaining amount of the advert is below the minimum order. \n- `advertiser_ads_paused`: the advertiser has paused all adverts. \n- `advertiser_approval`: the advertiser's proof of identity is not verified. \n- `advertiser_balance`: the advertiser's P2P balance is less than the minimum order. \n- `advertiser_block_trade_ineligible`: the advertiser is not currently eligible for block trading. \n- `advertiser_daily_limit`: the advertiser's remaining daily limit is less than the minimum order. \n- `advertiser_temp_ban`: the advertiser is temporarily banned from P2P.",
"description": "Reasons why an advert is not visible. Possible values: \n- `advert_inactive`: the advert is set inactive. \n- `advert_max_limit`: the minimum order amount exceeds the system maximum order. \n- `advert_min_limit`: the maximum order amount is too small to be shown on the advert list. \n- `advert_remaining`: the remaining amount of the advert is below the minimum order. \n- `advert_no_payment_methods`: the advert has no valid payment methods. \n- `advertiser_ads_paused`: the advertiser has paused all adverts. \n- `advertiser_approval`: the advertiser's proof of identity is not verified. \n- `advertiser_balance`: the advertiser's P2P balance is less than the minimum order. \n- `advertiser_block_trade_ineligible`: the advertiser is not currently eligible for block trading. \n- `advertiser_daily_limit`: the advertiser's remaining daily limit is less than the minimum order. \n- `advertiser_temp_ban`: the advertiser is temporarily banned from P2P.",
"type": "array",
"items": {
"type": "string",
Expand All @@ -479,6 +479,7 @@
"advert_max_limit",
"advert_min_limit",
"advert_remaining",
"advert_no_payment_methods",
"advertiser_ads_paused",
"advertiser_approval",
"advertiser_balance",
Expand Down
5 changes: 3 additions & 2 deletions config/v3/p2p_advert_info/receive.json
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@
]
},
"is_visible": {
"description": "Indicates that this advert will appear on the main advert list. It is only visible to the advert owner.",
"description": "Indicates that this advert will appear on the main advert list.",
"type": "integer",
"default": 0,
"enum": [
Expand Down Expand Up @@ -495,7 +495,7 @@
]
},
"visibility_status": {
"description": "Reasons why an advert is not visible, only visible to the advert owner. Possible values: \n- `advert_inactive`: the advert is set inactive. \n- `advert_max_limit`: the minimum order amount exceeds the system maximum order. \n- `advert_min_limit`: the maximum order amount is too small to be shown on the advert list. \n- `advert_remaining`: the remaining amount of the advert is below the minimum order. \n- `advertiser_ads_paused`: the advertiser has paused all adverts. \n- `advertiser_approval`: the advertiser's proof of identity is not verified. \n- `advertiser_balance`: the advertiser's P2P balance is less than the minimum order. \n- `advertiser_block_trade_ineligible`: the advertiser is not currently eligible for block trading. \n- `advertiser_daily_limit`: the advertiser's remaining daily limit is less than the minimum order. \n- `advertiser_temp_ban`: the advertiser is temporarily banned from P2P.",
"description": "Reasons why an advert is not visible, only visible to the advert owner. Possible values: \n- `advert_inactive`: the advert is set inactive. \n- `advert_max_limit`: the minimum order amount exceeds the system maximum order. \n- `advert_min_limit`: the maximum order amount is too small to be shown on the advert list. \n- `advert_remaining`: the remaining amount of the advert is below the minimum order. \n- `advert_no_payment_methods`: the advert has no valid payment methods. \n- `advertiser_ads_paused`: the advertiser has paused all adverts. \n- `advertiser_approval`: the advertiser's proof of identity is not verified. \n- `advertiser_balance`: the advertiser's P2P balance is less than the minimum order. \n- `advertiser_block_trade_ineligible`: the advertiser is not currently eligible for block trading. \n- `advertiser_daily_limit`: the advertiser's remaining daily limit is less than the minimum order. \n- `advertiser_temp_ban`: the advertiser is temporarily banned from P2P.",
"type": "array",
"items": {
"type": "string",
Expand All @@ -504,6 +504,7 @@
"advert_max_limit",
"advert_min_limit",
"advert_remaining",
"advert_no_payment_methods",
"advertiser_ads_paused",
"advertiser_approval",
"advertiser_balance",
Expand Down
3 changes: 2 additions & 1 deletion config/v3/p2p_advert_list/receive.json
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@
]
},
"visibility_status": {
"description": "Reasons why an advert is not visible, only visible to the advert owner. Possible values: \n- `advert_inactive`: the advert is set inactive. \n- `advert_max_limit`: the minimum order amount exceeds the system maximum order. \n- `advert_min_limit`: the maximum order amount is too small to be shown on the advert list. \n- `advert_remaining`: the remaining amount of the advert is below the minimum order. \n- `advertiser_ads_paused`: the advertiser has paused all adverts. \n- `advertiser_approval`: the advertiser's proof of identity is not verified. \n- `advertiser_balance`: the advertiser's P2P balance is less than the minimum order. \n- `advertiser_block_trade_ineligible`: the advertiser is not currently eligible for block trading. \n- `advertiser_daily_limit`: the advertiser's remaining daily limit is less than the minimum order. \n- `advertiser_temp_ban`: the advertiser is temporarily banned from P2P.",
"description": "Reasons why an advert is not visible, only visible to the advert owner. Possible values: \n- `advert_inactive`: the advert is set inactive. \n- `advert_max_limit`: the minimum order amount exceeds the system maximum order. \n- `advert_min_limit`: the maximum order amount is too small to be shown on the advert list. \n- `advert_remaining`: the remaining amount of the advert is below the minimum order. \n- `advert_no_payment_methods`: the advert has no valid payment methods. \n- `advertiser_ads_paused`: the advertiser has paused all adverts. \n- `advertiser_approval`: the advertiser's proof of identity is not verified. \n- `advertiser_balance`: the advertiser's P2P balance is less than the minimum order. \n- `advertiser_block_trade_ineligible`: the advertiser is not currently eligible for block trading. \n- `advertiser_daily_limit`: the advertiser's remaining daily limit is less than the minimum order. \n- `advertiser_temp_ban`: the advertiser is temporarily banned from P2P.",
"type": "array",
"items": {
"type": "string",
Expand All @@ -425,6 +425,7 @@
"advert_max_limit",
"advert_min_limit",
"advert_remaining",
"advert_no_payment_methods",
"advertiser_ads_paused",
"advertiser_approval",
"advertiser_balance",
Expand Down
3 changes: 2 additions & 1 deletion config/v3/p2p_advert_update/receive.json
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@
]
},
"visibility_status": {
"description": "Reasons why an advert is not visible. Possible values: \n- `advert_inactive`: the advert is set inactive. \n- `advert_max_limit`: the minimum order amount exceeds the system maximum order. \n- `advert_min_limit`: the maximum order amount is too small to be shown on the advert list. \n- `advert_remaining`: the remaining amount of the advert is below the minimum order. \n- `advertiser_ads_paused`: the advertiser has paused all adverts. \n- `advertiser_approval`: the advertiser's proof of identity is not verified. \n- `advertiser_balance`: the advertiser's P2P balance is less than the minimum order. \n- `advertiser_block_trade_ineligible`: the advertiser is not currently eligible for block trading. \n- `advertiser_daily_limit`: the advertiser's remaining daily limit is less than the minimum order. \n- `advertiser_temp_ban`: the advertiser is temporarily banned from P2P.",
"description": "Reasons why an advert is not visible. Possible values: \n- `advert_inactive`: the advert is set inactive. \n- `advert_max_limit`: the minimum order amount exceeds the system maximum order. \n- `advert_min_limit`: the maximum order amount is too small to be shown on the advert list. \n- `advert_remaining`: the remaining amount of the advert is below the minimum order. \n- `advert_no_payment_methods`: the advert has no valid payment methods. \n- `advertiser_ads_paused`: the advertiser has paused all adverts. \n- `advertiser_approval`: the advertiser's proof of identity is not verified. \n- `advertiser_balance`: the advertiser's P2P balance is less than the minimum order. \n- `advertiser_block_trade_ineligible`: the advertiser is not currently eligible for block trading. \n- `advertiser_daily_limit`: the advertiser's remaining daily limit is less than the minimum order. \n- `advertiser_temp_ban`: the advertiser is temporarily banned from P2P.",
"type": "array",
"items": {
"type": "string",
Expand All @@ -457,6 +457,7 @@
"advert_max_limit",
"advert_min_limit",
"advert_remaining",
"advert_no_payment_methods",
"advertiser_ads_paused",
"advertiser_approval",
"advertiser_balance",
Expand Down
3 changes: 2 additions & 1 deletion config/v3/p2p_advertiser_adverts/receive.json
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@
]
},
"visibility_status": {
"description": "Reasons why an advert is not visible. Possible values: \n- `advert_inactive`: the advert is set inactive. \n- `advert_max_limit`: the minimum order amount exceeds the system maximum order. \n- `advert_min_limit`: the maximum order amount is too small to be shown on the advert list. \n- `advert_remaining`: the remaining amount of the advert is below the minimum order. \n- `advertiser_ads_paused`: the advertiser has paused all adverts. \n- `advertiser_approval`: the advertiser's proof of identity is not verified. \n- `advertiser_balance`: the advertiser's P2P balance is less than the minimum order. \n- `advertiser_block_trade_ineligible`: the advertiser is not currently eligible for block trading. \n- `advertiser_daily_limit`: the advertiser's remaining daily limit is less than the minimum order. \n- `advertiser_temp_ban`: the advertiser is temporarily banned from P2P.",
"description": "Reasons why an advert is not visible. Possible values: \n- `advert_inactive`: the advert is set inactive. \n- `advert_max_limit`: the minimum order amount exceeds the system maximum order. \n- `advert_min_limit`: the maximum order amount is too small to be shown on the advert list. \n- `advert_remaining`: the remaining amount of the advert is below the minimum order. \n- `advert_no_payment_methods`: the advert has no valid payment methods. \n- `advertiser_ads_paused`: the advertiser has paused all adverts. \n- `advertiser_approval`: the advertiser's proof of identity is not verified. \n- `advertiser_balance`: the advertiser's P2P balance is less than the minimum order. \n- `advertiser_block_trade_ineligible`: the advertiser is not currently eligible for block trading. \n- `advertiser_daily_limit`: the advertiser's remaining daily limit is less than the minimum order. \n- `advertiser_temp_ban`: the advertiser is temporarily banned from P2P.",
"type": "array",
"items": {
"type": "string",
Expand All @@ -386,6 +386,7 @@
"advert_max_limit",
"advert_min_limit",
"advert_remaining",
"advert_no_payment_methods",
"advertiser_ads_paused",
"advertiser_approval",
"advertiser_balance",
Expand Down

0 comments on commit 473e136

Please sign in to comment.