Skip to content

Commit

Permalink
JSON Schema Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis CI committed Aug 2, 2018
1 parent 47d6aa4 commit c4972cb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions config/v3/buy/send.json
Expand Up @@ -52,6 +52,8 @@
"description":"Epoch value of the expiry time of the contract. You must either specify date_expiry or duration."
},
"duration": {
"minimum": 0,
"maximum": 3600,
"type": "integer",
"description":"Duration quantity"
},
Expand Down
2 changes: 2 additions & 0 deletions config/v3/buy_contract_for_multiple_accounts/send.json
Expand Up @@ -61,6 +61,8 @@
"description":"Epoch value of the expiry time of the contract. You must either specify date_expiry or duration."
},
"duration": {
"minimum": 0,
"maximum": 3600,
"type": "integer",
"description":"Duration quantity"
},
Expand Down
1 change: 1 addition & 0 deletions config/v3/proposal/send.json
Expand Up @@ -49,6 +49,7 @@
},
"duration": {
"minimum": 0,
"maximum": 3600,
"type": "integer",
"description":"Duration quantity. Either date_expiry or duration is required."
},
Expand Down
3 changes: 2 additions & 1 deletion config/v3/proposal_array/send.json
Expand Up @@ -54,7 +54,8 @@
"description":"Epoch value of the expiry time of the contract. You must either specify date_expiry or duration."
},
"duration": {
"minimum" : 1,
"minimum": 0,
"maximum": 3600,
"type": "integer",
"description":"Duration quantity."
},
Expand Down

0 comments on commit c4972cb

Please sign in to comment.