core-lightning/doc/schemas/listsendpays.request.json
Rusty Russell dc924b8859 doc: set additionalProperties to false in all request schemas.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-04-02 09:46:01 +10:30

22 lines
374 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": [],
"additionalProperties": false,
"properties": {
"bolt11": {
"type": "string"
},
"payment_hash": {
"type": "hex"
},
"status": {
"type": "string",
"enum": [
"pending",
"complete",
"failed"
]
}
}
}