core-lightning/doc/schemas/autoclean-once.schema.json
Rusty Russell 4613b29815 doc: document autoclean-once command.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-12-06 10:42:05 +01:00

125 lines
3.3 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": true,
"required": [
"autoclean"
],
"properties": {
"autoclean": {
"type": "object",
"additionalProperties": false,
"properties": {
"succeededforwards": {
"type": "object",
"additionalProperties": false,
"required": [
"cleaned",
"uncleaned"
],
"properties": {
"cleaned": {
"type": "u64",
"description": "total number of deletions done this run"
},
"uncleaned": {
"type": "u64",
"description": "the total number of entries *not* deleted this run"
}
}
},
"failedforwards": {
"type": "object",
"additionalProperties": false,
"required": [
"cleaned",
"uncleaned"
],
"properties": {
"cleaned": {
"type": "u64",
"description": "total number of deletions done this run"
},
"uncleaned": {
"type": "u64",
"description": "the total number of entries *not* deleted this run"
}
}
},
"succeededpays": {
"type": "object",
"additionalProperties": false,
"required": [
"cleaned",
"uncleaned"
],
"properties": {
"cleaned": {
"type": "u64",
"description": "total number of deletions done this run"
},
"uncleaned": {
"type": "u64",
"description": "the total number of entries *not* deleted this run"
}
}
},
"failedpays": {
"type": "object",
"additionalProperties": false,
"required": [
"cleaned",
"uncleaned"
],
"properties": {
"cleaned": {
"type": "u64",
"description": "total number of deletions done this run"
},
"uncleaned": {
"type": "u64",
"description": "the total number of entries *not* deleted this run"
}
}
},
"paidinvoices": {
"type": "object",
"additionalProperties": false,
"required": [
"cleaned",
"uncleaned"
],
"properties": {
"cleaned": {
"type": "u64",
"description": "total number of deletions done this run"
},
"uncleaned": {
"type": "u64",
"description": "the total number of entries *not* deleted this run"
}
}
},
"expiredinvoices": {
"type": "object",
"additionalProperties": false,
"required": [
"cleaned",
"uncleaned"
],
"properties": {
"cleaned": {
"type": "u64",
"description": "total number of deletions done this run"
},
"uncleaned": {
"type": "u64",
"description": "the total number of entries *not* deleted this run"
}
}
}
}
}
}
}