Skip to content

Commit 4646492

Browse files
author
nobody
committed
JSON Schema Update
1 parent ea10770 commit 4646492

File tree

2 files changed

+57
-9
lines changed

2 files changed

+57
-9
lines changed

config/v3/proposal/receive.json

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,15 @@
206206
"description": "Localized display name",
207207
"type": "string"
208208
},
209+
"display_order_amount": {
210+
"description": "Stop loss amount for display purpose.",
211+
"type": [
212+
"null",
213+
"string"
214+
]
215+
},
209216
"order_amount": {
210-
"description": "Stop loss amount",
217+
"description": "Stop loss amount. Will be deprecated soon. Please use [display_order_amount].",
211218
"type": [
212219
"null",
213220
"number"
@@ -235,9 +242,19 @@
235242
"description": "Localized display name",
236243
"type": "string"
237244
},
245+
"display_order_amount": {
246+
"description": "Stop out amount for display purpose.",
247+
"type": [
248+
"null",
249+
"string"
250+
]
251+
},
238252
"order_amount": {
239-
"description": "Stop out amount",
240-
"type": "number"
253+
"description": "Stop out amount. Will be deprecated soon. Please use [display_order_amount].",
254+
"type": [
255+
"null",
256+
"number"
257+
]
241258
},
242259
"order_date": {
243260
"description": "Stop out order epoch",
@@ -258,8 +275,15 @@
258275
"description": "Localized display name",
259276
"type": "string"
260277
},
278+
"display_order_amount": {
279+
"description": "Take profit amount for display purpose.",
280+
"type": [
281+
"null",
282+
"string"
283+
]
284+
},
261285
"order_amount": {
262-
"description": "Take profit amount",
286+
"description": "Take profit amount. Will be deprecated soon. Please use [display_order_amount].",
263287
"type": [
264288
"null",
265289
"number"
@@ -307,7 +331,7 @@
307331
"description": "[Only for Turbos] The choices of predefined payout per point for client to choose",
308332
"type": "array",
309333
"items": {
310-
"type": "number"
334+
"type": "string"
311335
}
312336
},
313337
"spot": {

config/v3/proposal_open_contract/receive.json

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -517,8 +517,15 @@
517517
"description": "Localized display name",
518518
"type": "string"
519519
},
520+
"display_order_amount": {
521+
"description": "Stop loss amount for display purpose.",
522+
"type": [
523+
"null",
524+
"string"
525+
]
526+
},
520527
"order_amount": {
521-
"description": "Stop loss amount",
528+
"description": "Stop loss amount. Will be deprecated soon. Please use [display_order_amount].",
522529
"type": [
523530
"null",
524531
"number"
@@ -546,9 +553,19 @@
546553
"description": "Localized display name",
547554
"type": "string"
548555
},
556+
"display_order_amount": {
557+
"description": "Stop out amount for display purpose.",
558+
"type": [
559+
"null",
560+
"string"
561+
]
562+
},
549563
"order_amount": {
550-
"description": "Stop out amount",
551-
"type": "number"
564+
"description": "Stop out amount. Will be deprecated soon. Please use [display_order_amount].",
565+
"type": [
566+
"null",
567+
"number"
568+
]
552569
},
553570
"order_date": {
554571
"description": "Stop out order epoch",
@@ -569,8 +586,15 @@
569586
"description": "Localized display name",
570587
"type": "string"
571588
},
589+
"display_order_amount": {
590+
"description": "Take profit amount for display purpose.",
591+
"type": [
592+
"null",
593+
"string"
594+
]
595+
},
572596
"order_amount": {
573-
"description": "Take profit amount",
597+
"description": "Take profit amount. Will be deprecated soon. Please use [display_order_amount].",
574598
"type": [
575599
"null",
576600
"number"

0 commit comments

Comments
 (0)