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 Aug 30, 2024
1 parent 6d1ae84 commit 55783d1
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 9 deletions.
34 changes: 29 additions & 5 deletions config/v3/proposal/receive.json
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,15 @@
"description": "Localized display name",
"type": "string"
},
"display_order_amount": {
"description": "Stop loss amount for display purpose.",
"type": [
"null",
"string"
]
},
"order_amount": {
"description": "Stop loss amount",
"description": "Stop loss amount. Will be deprecated soon. Please use [display_order_amount].",
"type": [
"null",
"number"
Expand Down Expand Up @@ -235,9 +242,19 @@
"description": "Localized display name",
"type": "string"
},
"display_order_amount": {
"description": "Stop out amount for display purpose.",
"type": [
"null",
"string"
]
},
"order_amount": {
"description": "Stop out amount",
"type": "number"
"description": "Stop out amount. Will be deprecated soon. Please use [display_order_amount].",
"type": [
"null",
"number"
]
},
"order_date": {
"description": "Stop out order epoch",
Expand All @@ -258,8 +275,15 @@
"description": "Localized display name",
"type": "string"
},
"display_order_amount": {
"description": "Take profit amount for display purpose.",
"type": [
"null",
"string"
]
},
"order_amount": {
"description": "Take profit amount",
"description": "Take profit amount. Will be deprecated soon. Please use [display_order_amount].",
"type": [
"null",
"number"
Expand Down Expand Up @@ -307,7 +331,7 @@
"description": "[Only for Turbos] The choices of predefined payout per point for client to choose",
"type": "array",
"items": {
"type": "number"
"type": "string"
}
},
"spot": {
Expand Down
32 changes: 28 additions & 4 deletions config/v3/proposal_open_contract/receive.json
Original file line number Diff line number Diff line change
Expand Up @@ -517,8 +517,15 @@
"description": "Localized display name",
"type": "string"
},
"display_order_amount": {
"description": "Stop loss amount for display purpose.",
"type": [
"null",
"string"
]
},
"order_amount": {
"description": "Stop loss amount",
"description": "Stop loss amount. Will be deprecated soon. Please use [display_order_amount].",
"type": [
"null",
"number"
Expand Down Expand Up @@ -546,9 +553,19 @@
"description": "Localized display name",
"type": "string"
},
"display_order_amount": {
"description": "Stop out amount for display purpose.",
"type": [
"null",
"string"
]
},
"order_amount": {
"description": "Stop out amount",
"type": "number"
"description": "Stop out amount. Will be deprecated soon. Please use [display_order_amount].",
"type": [
"null",
"number"
]
},
"order_date": {
"description": "Stop out order epoch",
Expand All @@ -569,8 +586,15 @@
"description": "Localized display name",
"type": "string"
},
"display_order_amount": {
"description": "Take profit amount for display purpose.",
"type": [
"null",
"string"
]
},
"order_amount": {
"description": "Take profit amount",
"description": "Take profit amount. Will be deprecated soon. Please use [display_order_amount].",
"type": [
"null",
"number"
Expand Down

0 comments on commit 55783d1

Please sign in to comment.