core-lightning/doc/schemas/datastore.schema.json

30 lines
663 B
JSON
Raw Normal View History

{
"$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 been added to the datastore"
},
"string": {
"type": "string",
"description": "The data as a string, if it's valid utf-8"
}
}
}