Skip to content
This repository has been archived by the owner on Dec 28, 2023. It is now read-only.

Commit

Permalink
JSON Schema Update
Browse files Browse the repository at this point in the history
  • Loading branch information
nobody committed May 17, 2023
1 parent 6b35aa2 commit ef29f3d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/v3/get_account_status/receive.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@
"description": "2-letter country code used to request the attempt.",
"type": "string"
},
"document_type": {
"description": "The document type of the attempt.",
"type": "string"
},
"id": {
"description": "The id of the attempt.",
"type": "string"
Expand Down
16 changes: 16 additions & 0 deletions config/v3/proposal_open_contract/receive.json
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,22 @@
"9874.520"
]
},
"current_spot_high_barrier": {
"description": "[Applicable for accumulator] High barrier based on current spot.",
"type": "string",
"pattern": "^[+-]?[0-9]+\\.?[0-9]*$",
"examples": [
"42.123"
]
},
"current_spot_low_barrier": {
"description": "[Applicable for accumulator] Low barrier based on current spot.",
"type": "string",
"pattern": "^[+-]?[0-9]+\\.?[0-9]*$",
"examples": [
"42.123"
]
},
"current_spot_time": {
"description": "The corresponding time of the current spot.",
"type": "integer",
Expand Down

0 comments on commit ef29f3d

Please sign in to comment.