matrix-spec/data/event-schemas/schema/m.identity_server.yaml
Kévin Commaille 65343601fe
Clarify formats of string types in current account information section
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2025-01-06 04:18:47 +01:00

27 lines
766 B
YAML

---
allOf:
- $ref: core-event-schema/event.yaml
description: |-
Persists the user's preferred identity server, or preference to not use
an identity server at all, in the user's account data.
properties:
content:
type: object
properties:
base_url:
anyOf:
- type: string
format: uri
- type: "null"
description: |-
The URL of the identity server the user prefers to use, or `null`
if the user does not want to use an identity server. This value is
similar in structure to the `base_url` for identity servers in the
`.well-known/matrix/client` schema.
type:
enum:
- m.identity_server
type: string
title: Identity Server Preference
type: object