{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "bolt11"
  ],
  "properties": {
    "bolt11": {
      "type": "string"
    },
    "amount_msat": {
      "type": "msat"
    },
    "label": {
      "type": "string"
    },
    "riskfactor": {
      "type": "number"
    },
    "maxfeepercent": {
      "type": "number"
    },
    "retry_for": {
      "type": "u16"
    },
    "maxdelay": {
      "type": "u16"
    },
    "exemptfee": {
      "type": "msat"
    },
    "localinvreqid": {
      "type": "hex"
    },
    "exclude": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "type": "short_channel_id_dir"
          },
          {
            "type": "pubkey"
          }
        ]
      }
    },
    "maxfee": {
      "type": "msat"
    },
    "description": {
      "type": "string"
    }
  }
}
