From fa054999e84746d41561da4217ba84cd4d062d1a Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 16 Nov 2026 17:13:11 +0000 Subject: federation: how deep an event may nest 256 KiB hold arrays some hundred thousand deep. A JSON reader stops at a depth of its own, or none, or falls over: two builders' nodes parted on such an event. An event nests objects and arrays up to 32 deep, its own object the first. --- docs/federation.md | 1 + 1 file changed, 1 insertion(+) (limited to 'docs/federation.md') diff --git a/docs/federation.md b/docs/federation.md index ac81c4d..750e0b0 100644 --- a/docs/federation.md +++ b/docs/federation.md @@ -139,6 +139,7 @@ above, or if it is larger than the federation allows. So nobody but its signer m another event of what a party signed. Of an event, federation 1 allows: * up to 256 KiB, with up to 64 dependencies; +* objects and arrays nested up to 32 deep, the event's own object the first; * a key set of up to 16 keys, and a node list of up to 64 nodes; * in a write, a path of up to 32 segments, each of up to 255 bytes; * anywhere in it, numbers that are integers from −2⁵³ to 2⁵³, and strings of whole -- cgit v1.3.1