{
  "$schema": "http://json-schema.org/draft-04/schema",
  "title": "PaymentTemplate",
  "description": "A template for a cross-ledger transfer that can have some payment fields missing",
  "type": "object",
  "properties": {
    "id": {
      "description": "Unique ID",
      "$ref": "Iri.json"
    },
    "source_transfers": {
      "description": "Transfers that credit the trader",
      "type": "array",
      "minItems": 1,
      "items": { "$ref": "GenericTransfer.json" }
    },
    "destination_transfers": {
      "description": "Transfers that debit the trader",
      "type": "array",
      "minItems": 1,
      "items": { "$ref": "GenericTransfer.json" }
    }
  },
  "additionalProperties": false
}
