You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
matrix-spec-proposals/event-schemas/schema/m.push_rules

56 lines
1.3 KiB
Plaintext

---
allOf:
- $ref: core-event-schema/event.yaml
description: Describes all push rules for this user.
properties:
content:
properties:
global:
type: object
title: Ruleset
description: The global ruleset
properties:
content:
items:
allOf:
- $ref: core-event-schema/push_rule.yaml
title: PushRule
type: object
type: array
override:
items:
allOf:
- $ref: core-event-schema/push_rule.yaml
title: PushRule
type: object
type: array
room:
items:
allOf:
- $ref: core-event-schema/push_rule.yaml
title: PushRule
type: object
type: array
sender:
items:
allOf:
- $ref: core-event-schema/push_rule.yaml
title: PushRule
type: object
type: array
underride:
items:
allOf:
- $ref: core-event-schema/push_rule.yaml
title: PushRule
type: object
type: array
type: object
type:
enum:
- m.push_rules
type: string
title: Push rules
type: object