You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

check-cash.json 1.0KB

123456789101112131415161718192021222324252627
  1. {
  2. "$schema": "http://json-schema.org/draft-04/schema#",
  3. "title": "checkCash",
  4. "link": "check-cash",
  5. "type": "object",
  6. "properties": {
  7. "checkID": {
  8. "$ref": "hash256",
  9. "description": "The ID of the Check ledger object to cash, as a 64-character hexadecimal string."
  10. },
  11. "amount": {
  12. "$ref": "laxAmount",
  13. "description": "Redeem the Check for exactly this amount, if possible. The currency must match that of the sendMax of the corresponding CheckCreate transaction. You must provide either this field or deliverMin."
  14. },
  15. "deliverMin": {
  16. "$ref": "laxAmount",
  17. "description": "Redeem the Check for at least this amount and for as much as possible. The currency must match that of the sendMax of the corresponding CheckCreate transaction. You must provide either this field or amount."
  18. },
  19. "memos": {"$ref": "memos"}
  20. },
  21. "required": ["checkID"],
  22. "oneOf": [
  23. {"required": ["amount"]},
  24. {"required": ["deliverMin"]}
  25. ],
  26. "additionalProperties": false
  27. }