mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-01-09 09:23:43 +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.
12 lines
169 B
YAML
12 lines
169 B
YAML
type: "object"
|
|
properties:
|
|
rule_id:
|
|
type: string
|
|
actions:
|
|
type: array
|
|
items:
|
|
type: string
|
|
default:
|
|
type: boolean
|
|
enabled:
|
|
type: boolean |