2022-04-01 06:12:45 +02:00
|
|
|
{
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
|
|
"type": "object",
|
2022-04-01 06:12:45 +02:00
|
|
|
"additionalProperties": false,
|
2022-04-01 06:12:45 +02:00
|
|
|
"required": [
|
|
|
|
"hops",
|
|
|
|
"assocdata"
|
|
|
|
],
|
|
|
|
"properties": {
|
|
|
|
"hops": {
|
|
|
|
"type": "array",
|
|
|
|
"description": "",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"pubkey",
|
|
|
|
"payload"
|
|
|
|
],
|
|
|
|
"properties": {
|
|
|
|
"pubkey": {
|
|
|
|
"type": "pubkey"
|
|
|
|
},
|
|
|
|
"payload": {
|
|
|
|
"type": "hex"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"assocdata": {
|
|
|
|
"type": "hex",
|
|
|
|
"description": ""
|
|
|
|
},
|
|
|
|
"session_key": {
|
2022-04-01 06:13:34 +02:00
|
|
|
"type": "secret"
|
2022-04-01 06:12:45 +02:00
|
|
|
},
|
|
|
|
"onion_size": {
|
|
|
|
"type": "u16"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|