docs-matrix-spec/data/event-schemas/schema/m.identity_server.yaml
Kévin Commaille d0d71d9997
Clarify formats of string types in account sections (#2046)
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2025-01-17 17:18:51 +00:00

26 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