{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "required": [
    "payment_hash",
    "status"
  ],
  "additionalProperties": false,
  "properties": {
    "payment_hash": {
      "type": "hash",
      "description": "the hash of the *payment_preimage* which will prove payment"
    },
    "status": {
      "type": "string",
      "enum": [
        "complete",
        "failed"
      ]
    },
    "partid": {
      "type": "u64"
    },
    "groupid": {
      "type": "u64"
    }
  }
}
