Skip to content

Commit f954d40

Browse files
author
nobody
committed
JSON Schema Update
1 parent fa45d2e commit f954d40

File tree

4 files changed

+29
-0
lines changed

4 files changed

+29
-0
lines changed

config/v3/buy/send.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,10 @@
171171
"type": "number",
172172
"minimum": 0
173173
},
174+
"payout_per_point": {
175+
"description": "[Optional] Clients can provide payout_per_point directly, and the barrier will be calculated based on this payout_per_point value.",
176+
"type": "number"
177+
},
174178
"product_type": {
175179
"description": "[Optional] The product type.",
176180
"type": "string",

config/v3/contracts_for/receive.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,19 @@
111111
"CALL"
112112
]
113113
},
114+
"default_stake": {
115+
"description": "Default stake for the contract",
116+
"type": "number"
117+
},
118+
"display_number_of_contracts": {
119+
"description": "[Only for Turbos] Its selected payout per point",
120+
"type": "number",
121+
"examples": [
122+
0,
123+
1,
124+
2
125+
]
126+
},
114127
"exchange_name": {
115128
"description": "Name of exchange",
116129
"type": "string",
@@ -221,6 +234,10 @@
221234
"description": "Multiplier range.",
222235
"type": "array"
223236
},
237+
"payout_choices": {
238+
"description": "[Only for Turbos] Payout Choices",
239+
"type": "array"
240+
},
224241
"payout_limit": {
225242
"description": "Maximum payout.",
226243
"type": "number",

config/v3/contracts_for_company/receive.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@
7575
"CALL"
7676
]
7777
},
78+
"default_stake": {
79+
"description": "Default stake for the contract",
80+
"type": "number"
81+
},
7882
"sentiment": {
7983
"description": "Type of sentiment.",
8084
"type": "string",

config/v3/proposal/send.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,10 @@
159159
"type": "number",
160160
"minimum": 0
161161
},
162+
"payout_per_point": {
163+
"description": "[Optional] Clients can provide payout_per_point directly, and the barrier will be calculated based on this payout_per_point value.",
164+
"type": "number"
165+
},
162166
"product_type": {
163167
"description": "[Optional] The product type.",
164168
"type": "string",

0 commit comments

Comments
 (0)