Validator extensions, zomp vsn 0.2.0 (#5)
Co-authored-by: Ulf Wiger <ulf@wiger.net> Reviewed-on: #5
This commit was merged in pull request #5.
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"tx" : { "$ref" : "#/components/schemas/Tx" }
|
||||
},
|
||||
"components": {
|
||||
"schemas": {
|
||||
"Tx": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"from": {
|
||||
"allOf": [
|
||||
{ "$ref": "#/components/schemas/Pubkey" },
|
||||
{ "x-serialization": {
|
||||
"tags": ["ak"]
|
||||
}}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"Pubkey": {
|
||||
"type": "string",
|
||||
"x-serialization": {
|
||||
"tags": ["ak", "ct"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user