matrix-spec/event-schemas/schema/m.push_rules

56 lines
1.3 KiB
Plaintext
Raw Normal View History

2019-02-15 21:23:38 +01:00
---
allOf:
- $ref: core-event-schema/event.yaml
2019-02-15 21:23:38 +01:00
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