diff --git a/event-schemas/examples/m.push_rules b/event-schemas/examples/m.push_rules index 9785da253..e4f0a959f 100644 --- a/event-schemas/examples/m.push_rules +++ b/event-schemas/examples/m.push_rules @@ -1,5 +1,5 @@ { - "$ref": "core/state_event.json", + "$ref": "core/event.json", "type": "m.push_rules", "content": { "global": { diff --git a/event-schemas/schema/m.push_rules b/event-schemas/schema/m.push_rules index b487a6f54..ededb33ed 100644 --- a/event-schemas/schema/m.push_rules +++ b/event-schemas/schema/m.push_rules @@ -1,6 +1,6 @@ --- allOf: - - $ref: core-event-schema/state_event.yaml + - $ref: core-event-schema/event.yaml description: Describes all push rules for this user. properties: content: @@ -46,10 +46,6 @@ properties: type: object type: array type: object - state_key: - description: A zero-length string. - pattern: '^$' - type: string type: enum: - m.push_rules