rgb-cln/doc/schemas/invoice.request.json

73 lines
1.3 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"required": [
"amount_msat",
"label",
"description"
],
"properties": {
"amount_msat": {
"type": "msat_or_any",
"description": ""
},
"description": {
"type": "string",
"description": ""
},
"label": {
"oneOf": [
{
"type": "string",
"description": ""
},
{
"type": "integer",
"description": ""
}
]
},
"expiry": {
"type": "u64",
"description": ""
},
"fallbacks": {
"type": "array",
"description": "",
"items": {
"type": "string"
}
},
"preimage": {
"type": "hex",
"description": ""
},
"exposeprivatechannels": {
"oneOf": [
{
"type": "boolean",
"description": ""
},
{
"type": "array",
"items": {
"type": "short_channel_id"
}
},
{
"type": "short_channel_id"
}
]
},
"cltv": {
"type": "u32",
"description": ""
},
"deschashonly": {
"type": "boolean",
"description": ""
}
}
}