matrix-spec/data/api/server-server/definitions/event_hash.yaml
Kévin Commaille b234530753
Use a single definition for Event Hash
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2024-06-20 13:02:23 +02:00

13 lines
381 B
YAML

type: object
title: Event Hash
description: |-
Content hashes of the PDU, following the algorithm specified in [Signing Events](/server-server-api/#signing-events).
example: {
"sha256": "ThisHashCoversAllFieldsInCaseThisIsRedacted"
}
properties:
sha256:
type: string
description: The hash.
example: ThisHashCoversAllFieldsInCaseThisIsRedacted
required: ['sha256']