mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-20 02:27:51 +01:00
14aac0769c
In particular, we generate the schema part from the plugin itself. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Added: Plugins: `sql` plugin command to perform server-side complex queries.
21 lines
403 B
JSON
21 lines
403 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"rows"
|
|
],
|
|
"properties": {
|
|
"rows": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "array"
|
|
}
|
|
},
|
|
"warning_db_failure": {
|
|
"type": "string",
|
|
"description": "A message if the database encounters an error partway through"
|
|
}
|
|
}
|
|
}
|