Artifact Content
Not logged in

Artifact 2f2e239513135f0527daeb533bcff9f0df7965fb:


{
  "$schema": "http://json-schema.org/draft-04/schema",
  "title": "Payment",
  "description": "Payment",
  "type": "object",
  "properties": {
    "destination": {
      "description": "Destination",
      "type": "string"
    },
    "sourceAmount": {
      "description": "Source amount",
      "type": "number"
    },
    "destinationAmount": {
      "description": "Destination amount",
      "type": "number"
    }
  },
  "required": ["destination"],
  "anyOf": [
    {"required": ["sourceAmount"]},
    {"required": ["destinationAmount"]}
  ]
}