Add a v6 event format with correct depth limits (#2114)

* Add a v6 event format with correct `depth` limits

* Changelog

* numbers are hard
This commit is contained in:
Travis Ralston 2025-03-27 10:23:09 -06:00 committed by GitHub
parent cb6d039c57
commit 71ce620fc0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 85 additions and 17 deletions

View file

@ -24,6 +24,13 @@ allOf:
type: string
description: For redaction events, the ID of the event being redacted.
example: "$def/456+oldevent"
depth:
type: integer
description: |-
The maximum depth of the `prev_events`, plus one. Must be less than the
maximum value for an integer (2^63 - 1). If the room's depth is already at
the limit, the depth must be set to the limit.
example: 12
auth_events:
type: array
items: