mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-02-17 11:33:42 +01:00
Specify CNIG pattern for custom fields
This commit is contained in:
parent
5d5b561140
commit
76b48e25d0
|
|
@ -49,6 +49,7 @@ paths:
|
|||
- type: string
|
||||
enum: ["avatar_url", "displayname"]
|
||||
- type: string
|
||||
pattern: '^[a-z][a-z0-9_]*(\.[a-z][a-z0-9_]*)+$'
|
||||
description: Must follow the
|
||||
[Common Namespaced Identifier Grammar](/appendices/#common-namespaced-identifier-grammar).
|
||||
requestBody:
|
||||
|
|
@ -148,6 +149,7 @@ paths:
|
|||
- type: string
|
||||
enum: ["avatar_url", "displayname"]
|
||||
- type: string
|
||||
pattern: '^[a-z][a-z0-9_]*(\.[a-z][a-z0-9_]*)+$'
|
||||
description: Must follow the
|
||||
[Common Namespaced Identifier Grammar](/appendices/#common-namespaced-identifier-grammar).
|
||||
responses:
|
||||
|
|
@ -215,6 +217,7 @@ paths:
|
|||
- type: string
|
||||
enum: ["avatar_url", "displayname"]
|
||||
- type: string
|
||||
pattern: '^[a-z][a-z0-9_]*(\.[a-z][a-z0-9_]*)+$'
|
||||
description: Must follow the
|
||||
[Common Namespaced Identifier Grammar](/appendices/#common-namespaced-identifier-grammar).
|
||||
responses:
|
||||
|
|
|
|||
Loading…
Reference in a new issue