2018-03-03 23:20:42 +01:00
|
|
|
---
|
2025-08-27 08:39:05 +02:00
|
|
|
$schema: https://json-schema.org/draft/2020-12/schema
|
|
|
|
|
|
2018-03-03 23:20:42 +01:00
|
|
|
allOf:
|
|
|
|
|
- $ref: core-event-schema/event.yaml
|
|
|
|
|
description: |-
|
2021-01-27 21:14:31 +01:00
|
|
|
A map of users which are considered ignored is kept in `account_data`
|
|
|
|
|
in an event type of `m.ignored_user_list`.
|
2018-03-03 23:20:42 +01:00
|
|
|
properties:
|
|
|
|
|
content:
|
|
|
|
|
type: object
|
2018-03-06 17:00:32 +01:00
|
|
|
properties:
|
|
|
|
|
ignored_users:
|
|
|
|
|
type: object
|
2023-09-27 14:42:14 +02:00
|
|
|
description: |-
|
|
|
|
|
The map of users to ignore. This is a mapping of user ID to empty
|
|
|
|
|
object.
|
2018-03-06 17:00:32 +01:00
|
|
|
patternProperties:
|
|
|
|
|
"^@":
|
|
|
|
|
type: "object"
|
|
|
|
|
description: "An empty object for future enhancement"
|
2024-04-24 13:42:34 +02:00
|
|
|
x-pattern-format: "mx-user-id"
|
2018-03-06 18:21:04 +01:00
|
|
|
required:
|
|
|
|
|
- ignored_users
|
2018-03-03 23:20:42 +01:00
|
|
|
type:
|
|
|
|
|
enum:
|
|
|
|
|
- m.ignored_user_list
|
|
|
|
|
type: string
|
|
|
|
|
title: Ignored User List
|
|
|
|
|
type: object
|