Files
proxmox/docs/dbis-rail/schemas/LEB.schema.json

21 lines
939 B
JSON
Raw Normal View History

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "LEB",
"description": "Ledger Entry Bundle for DBIS Rail canonical hashing (lebHash)",
"type": "object",
"required": ["ledgerSystemId", "journalId", "batchNumber", "postingTimestamp", "reserveAccountId"],
"properties": {
"ledgerSystemId": { "type": "string", "description": "Identifies the ledger system" },
"journalId": { "type": "string", "description": "Unique journal or batch identifier" },
"batchNumber": { "type": "integer", "description": "Batch or sequence number" },
"postingTimestamp": { "type": "integer", "description": "Unix seconds" },
"reserveAccountId": { "type": "string", "description": "Reserve or settlement account id" },
"entries": {
"type": "array",
"description": "List of line items (account, amount, currency, side)",
"items": { "type": "object" }
}
},
"additionalProperties": false
}