core-lightning/doc/schemas/deldatastore.schema.json
Rusty Russell e711f6c589 datastore: allow strings.
It's common, and the simplest case.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-08-25 10:06:31 +02:00

21 lines
581 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"required": [ "key", "hex" ],
"properties": {
"key": {
"type": "string",
"description": "The key which has been removed from the datastore"
},
"hex": {
"type": "hex",
"description": "The hex data which has removed from the datastore"
},
"string": {
"type": "string",
"description": "The data as a string, if it's valid utf-8"
}
}
}