mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-01-11 02:03:41 +01:00
This is going to be painful to represent due to how the push API allows
mixed types (strings or objects) and mixed top-level keys ("content" rule kind
allowing "pattern" as a top-level key). We may wish to re-visit the design
of this API for v2.
28 lines
576 B
YAML
28 lines
576 B
YAML
type: "object"
|
|
properties:
|
|
content:
|
|
type: array
|
|
items:
|
|
type: object
|
|
allOf: [ "$ref": "definitions/push_rule.yaml"]
|
|
override:
|
|
type: array
|
|
items:
|
|
type: object
|
|
allOf: [ "$ref": "definitions/push_rule.yaml"]
|
|
room:
|
|
type: array
|
|
items:
|
|
type: object
|
|
allOf: [ "$ref": "definitions/push_rule.yaml"]
|
|
sender:
|
|
type: array
|
|
items:
|
|
type: object
|
|
allOf: [ "$ref": "definitions/push_rule.yaml"]
|
|
underride:
|
|
type: array
|
|
items:
|
|
type: object
|
|
allOf: [ "$ref": "definitions/push_rule.yaml"]
|