Clarify that format is required if formatted_body is specified (#2167)

Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
pull/2179/head
Johannes Marbach 5 months ago committed by GitHub
parent 0e280ed014
commit 3877598b1e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1 @@
Clarify that `format` is required if `formatted_body` is specified.

@ -15,8 +15,8 @@ properties:
"1.10": This property can act as a caption for the audio. "1.10": This property can act as a caption for the audio.
format: format:
description: |- description: |-
The format used in the `formatted_body`. Currently only The format used in the `formatted_body`. This is required if `formatted_body`
`org.matrix.custom.html` is supported. is specified. Currently only `org.matrix.custom.html` is supported.
type: string type: string
x-addedInMatrixVersion: "1.10" x-addedInMatrixVersion: "1.10"
formatted_body: formatted_body:

@ -14,8 +14,8 @@ properties:
type: string type: string
format: format:
description: |- description: |-
The format used in the `formatted_body`. Currently only The format used in the `formatted_body`. This is required if `formatted_body`
`org.matrix.custom.html` is supported. is specified. Currently only `org.matrix.custom.html` is supported.
type: string type: string
formatted_body: formatted_body:
description: |- description: |-

@ -15,8 +15,8 @@ properties:
"1.10": This property can act as a caption for the file. "1.10": This property can act as a caption for the file.
format: format:
description: |- description: |-
The format used in the `formatted_body`. Currently only The format used in the `formatted_body`. This is required if `formatted_body`
`org.matrix.custom.html` is supported. is specified. Currently only `org.matrix.custom.html` is supported.
type: string type: string
x-addedInMatrixVersion: "1.10" x-addedInMatrixVersion: "1.10"
formatted_body: formatted_body:

@ -15,8 +15,8 @@ properties:
"1.10": This property can act as a caption for the image. "1.10": This property can act as a caption for the image.
format: format:
description: |- description: |-
The format used in the `formatted_body`. Currently only The format used in the `formatted_body`. This is required if `formatted_body`
`org.matrix.custom.html` is supported. is specified. Currently only `org.matrix.custom.html` is supported.
type: string type: string
x-addedInMatrixVersion: "1.10" x-addedInMatrixVersion: "1.10"
formatted_body: formatted_body:

@ -22,8 +22,8 @@ properties:
verification. verification.
format: format:
description: |- description: |-
The format used in the `formatted_body`. Currently only The format used in the `formatted_body`. This is required if `formatted_body`
`org.matrix.custom.html` is supported. is specified. Currently only `org.matrix.custom.html` is supported.
type: string type: string
formatted_body: formatted_body:
description: |- description: |-

@ -14,8 +14,8 @@ properties:
type: string type: string
format: format:
description: |- description: |-
The format used in the `formatted_body`. Currently only The format used in the `formatted_body`. This is required if `formatted_body`
`org.matrix.custom.html` is supported. is specified. Currently only `org.matrix.custom.html` is supported.
type: string type: string
formatted_body: formatted_body:
description: |- description: |-

@ -14,8 +14,8 @@ properties:
type: string type: string
format: format:
description: |- description: |-
The format used in the `formatted_body`. Currently only The format used in the `formatted_body`. This is required if `formatted_body`
`org.matrix.custom.html` is supported. is specified. Currently only `org.matrix.custom.html` is supported.
type: string type: string
formatted_body: formatted_body:
description: |- description: |-

@ -15,8 +15,8 @@ properties:
"1.10": This property can act as a caption for the video. "1.10": This property can act as a caption for the video.
format: format:
description: |- description: |-
The format used in the `formatted_body`. Currently only The format used in the `formatted_body`. This is required if `formatted_body`
`org.matrix.custom.html` is supported. is specified. Currently only `org.matrix.custom.html` is supported.
type: string type: string
x-addedInMatrixVersion: "1.10" x-addedInMatrixVersion: "1.10"
formatted_body: formatted_body:

Loading…
Cancel
Save