|
|
@ -3,7 +3,9 @@ allOf:
|
|
|
|
- $ref: core-event-schema/event.yaml
|
|
|
|
- $ref: core-event-schema/event.yaml
|
|
|
|
|
|
|
|
|
|
|
|
description: |-
|
|
|
|
description: |-
|
|
|
|
Begins a key verification process. Typically sent as a `to-device`_ event.
|
|
|
|
Begins a key verification process. Typically sent as a `to-device`_ event. The ``method``
|
|
|
|
|
|
|
|
field determines the type of verification. The fields in the event will differ depending
|
|
|
|
|
|
|
|
on the ``method``. This definition includes fields that are in common among all variants.
|
|
|
|
properties:
|
|
|
|
properties:
|
|
|
|
content:
|
|
|
|
content:
|
|
|
|
properties:
|
|
|
|
properties:
|
|
|
@ -26,7 +28,8 @@ properties:
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
|
description: |-
|
|
|
|
description: |-
|
|
|
|
Optional method to use to verify the other user's key with. Applicable
|
|
|
|
Optional method to use to verify the other user's key with. Applicable
|
|
|
|
when the ``method`` chosen only verifies one user's key.
|
|
|
|
when the ``method`` chosen only verifies one user's key. This field will
|
|
|
|
|
|
|
|
never be present if the ``method`` verifies keys both ways.
|
|
|
|
required:
|
|
|
|
required:
|
|
|
|
- from_device
|
|
|
|
- from_device
|
|
|
|
- transaction_id
|
|
|
|
- transaction_id
|
|
|
|