core-lightning/doc/schemas/newaddr.schema.json
Rusty Russell 2ddecdc95a doc: schemas for everything else.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Fixed: doc: Epic documentation rewrite: each now lists complete and accurate JSON output, tested against testsuite.
2021-06-25 09:49:33 +09:30

17 lines
354 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"required": [ ],
"properties": {
"bech32": {
"type": "string",
"description": "The bech32 (native segwit) address"
},
"p2sh-segwit": {
"type": "string",
"description": "The p2sh-wrapped address"
}
}
}