mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-27 19:38:37 +01:00
Part of MSC2140 Convert status codes to strings if there is a string status code. Fixes a build error when we mix 4xx and 403 in the same definition. We also have to correct stringified numbers to pass the build.
24 lines
611 B
Plaintext
24 lines
611 B
Plaintext
---
|
|
allOf:
|
|
- $ref: core-event-schema/event.yaml
|
|
description: |-
|
|
A list of terms URLs the user has previously accepted. Clients SHOULD use this
|
|
to avoid presenting the user with terms they have already agreed to.
|
|
properties:
|
|
content:
|
|
type: object
|
|
properties:
|
|
accepted:
|
|
type: array
|
|
items:
|
|
type: string
|
|
description: |-
|
|
The list of URLs the user has previously accepted. Should be appended to
|
|
when the user agrees to new terms.
|
|
type:
|
|
enum:
|
|
- m.accepted_terms
|
|
type: string
|
|
title: Accepted Terms of Service URLs
|
|
type: object
|