core-lightning/doc/schemas/deldatastore.schema.json
Vincenzo Palazzo bd3c0ef85c jsonschema: Formatting json schema and regenerate docs
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2021-11-28 10:55:48 +10:30

30 lines
662 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"required": [
"key"
],
"properties": {
"key": {
"type": "array",
"items": {
"type": "string",
"description": "Part of the key added to the datastore"
}
},
"generation": {
"type": "u64",
"description": "The number of times this has been updated"
},
"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"
}
}
}