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.

trustline.json 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "$schema": "http://json-schema.org/draft-04/schema#",
  3. "title": "trustline",
  4. "link": "trustline",
  5. "type": "object",
  6. "properties": {
  7. "currency": {
  8. "$ref": "currency",
  9. "description": "The currency this trustline applies to."
  10. },
  11. "counterparty": {
  12. "$ref": "address",
  13. "description": "The address of the account this trustline extends trust to."
  14. },
  15. "limit": {
  16. "$ref": "value",
  17. "description": "The maximum amount that the owner of the trustline can be owed through the trustline."
  18. },
  19. "qualityIn": {
  20. "$ref": "quality",
  21. "description": "Incoming balances on this trustline are valued at this ratio."
  22. },
  23. "qualityOut": {
  24. "$ref": "quality",
  25. "description": "Outgoing balances on this trustline are valued at this ratio."
  26. },
  27. "ripplingDisabled": {
  28. "type": "boolean",
  29. "description": "If true, payments cannot ripple through this trustline."
  30. },
  31. "authorized": {
  32. "type": "boolean",
  33. "description": "If true, authorize the counterparty to hold issuances from this account."
  34. },
  35. "frozen": {
  36. "type": "boolean",
  37. "description": "If true, the trustline is frozen, which means that funds can only be sent to the owner."
  38. },
  39. "memos": {"$ref": "memos"}
  40. },
  41. "required": ["currency", "counterparty", "limit"],
  42. "additionalProperties": false
  43. }