mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
145 lines
3.2 KiB
JSON
145 lines
3.2 KiB
JSON
{
|
|
"type": "object",
|
|
"properties": {
|
|
"app": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
},
|
|
"date": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"ledger": {
|
|
"type": "string"
|
|
},
|
|
"payload": {
|
|
"type": "object",
|
|
"properties": {
|
|
"ledger": {
|
|
"type": "string"
|
|
},
|
|
"revertedTransaction": {
|
|
"type": "object",
|
|
"properties": {
|
|
"postings": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"source": {
|
|
"type": "string"
|
|
},
|
|
"destination": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number"
|
|
},
|
|
"asset": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"source",
|
|
"destination",
|
|
"amount",
|
|
"asset"
|
|
]
|
|
}
|
|
},
|
|
"reference": {
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": []
|
|
},
|
|
"txid": {
|
|
"type": "number"
|
|
},
|
|
"timestamp": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"postings",
|
|
"reference",
|
|
"metadata",
|
|
"txid",
|
|
"timestamp"
|
|
]
|
|
},
|
|
"revertTransaction": {
|
|
"type": "object",
|
|
"properties": {
|
|
"postings": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"source": {
|
|
"type": "string"
|
|
},
|
|
"destination": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number"
|
|
},
|
|
"asset": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"source",
|
|
"destination",
|
|
"amount",
|
|
"asset"
|
|
]
|
|
}
|
|
},
|
|
"reference": {
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": []
|
|
},
|
|
"txid": {
|
|
"type": "number"
|
|
},
|
|
"timestamp": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"postings",
|
|
"reference",
|
|
"metadata",
|
|
"txid",
|
|
"timestamp"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"ledger",
|
|
"revertedTransaction",
|
|
"revertTransaction"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"date",
|
|
"app",
|
|
"version",
|
|
"type",
|
|
"payload"
|
|
]
|
|
} |