mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-01-09 17:33:44 +01:00
Make the key orders consistent
This commit is contained in:
parent
05001bcaa6
commit
6f1c598db8
|
|
@ -4,15 +4,15 @@ properties:
|
|||
h:
|
||||
description: The height of the image in pixels.
|
||||
type: integer
|
||||
w:
|
||||
description: The width of the image in pixels.
|
||||
type: integer
|
||||
mimetype:
|
||||
description: The mimetype of the image, e.g. ``image/jpeg``.
|
||||
type: string
|
||||
size:
|
||||
description: Size of the image in bytes.
|
||||
type: integer
|
||||
w:
|
||||
description: The width of the image in pixels.
|
||||
type: integer
|
||||
thumbnail_url:
|
||||
description: The URL to a thumbnail of the image.
|
||||
type: string
|
||||
|
|
@ -20,6 +20,5 @@ properties:
|
|||
allOf:
|
||||
- $ref: thumbnail_info.yaml
|
||||
description: Metadata about the image referred to in ``thumbnail_url``.
|
||||
title: ThumbnailInfo
|
||||
type: object
|
||||
title: ImageInfo
|
||||
type: object
|
||||
|
|
|
|||
|
|
@ -4,14 +4,14 @@ properties:
|
|||
h:
|
||||
description: The height of the image in pixels.
|
||||
type: integer
|
||||
w:
|
||||
description: The width of the image in pixels.
|
||||
type: integer
|
||||
mimetype:
|
||||
description: The mimetype of the image, e.g. ``image/jpeg``.
|
||||
type: string
|
||||
size:
|
||||
description: Size of the image in bytes.
|
||||
type: integer
|
||||
w:
|
||||
description: The width of the image in pixels.
|
||||
type: integer
|
||||
title: ThumbnailInfo
|
||||
type: object
|
||||
|
|
|
|||
|
|
@ -9,8 +9,6 @@ properties:
|
|||
allOf:
|
||||
- $ref: core-event-schema/msgtype_infos/image_info.yaml
|
||||
description: Metadata about the image referred to in ``url``.
|
||||
title: ImageInfo
|
||||
type: object
|
||||
url:
|
||||
description: The URL to the image.
|
||||
type: string
|
||||
|
|
|
|||
|
|
@ -27,8 +27,6 @@ properties:
|
|||
allOf:
|
||||
- $ref: core-event-schema/msgtype_infos/thumbnail_info.yaml
|
||||
description: Metadata about the image referred to in ``thumbnail_url``.
|
||||
title: ThumbnailInfo
|
||||
type: object
|
||||
title: FileInfo
|
||||
type: object
|
||||
msgtype:
|
||||
|
|
|
|||
|
|
@ -12,8 +12,6 @@ properties:
|
|||
allOf:
|
||||
- $ref: core-event-schema/msgtype_infos/image_info.yaml
|
||||
description: Metadata about the image referred to in ``url``.
|
||||
title: ImageInfo
|
||||
type: object
|
||||
msgtype:
|
||||
enum:
|
||||
- m.image
|
||||
|
|
|
|||
|
|
@ -18,14 +18,13 @@ properties:
|
|||
info:
|
||||
type: object
|
||||
properties:
|
||||
thumbnail_info:
|
||||
allOf:
|
||||
- $ref: core-event-schema/msgtype_infos/thumbnail_info.yaml
|
||||
title: ThumbnailInfo
|
||||
type: object
|
||||
thumbnail_url:
|
||||
description: The URL to a thumbnail of the location being represented.
|
||||
type: string
|
||||
thumbnail_info:
|
||||
allOf:
|
||||
- $ref: core-event-schema/msgtype_infos/thumbnail_info.yaml
|
||||
description: Metadata about the image referred to in ``thumbnail_url``.
|
||||
title: LocationInfo
|
||||
required:
|
||||
- msgtype
|
||||
|
|
|
|||
|
|
@ -17,23 +17,22 @@ properties:
|
|||
h:
|
||||
description: The height of the video in pixels.
|
||||
type: integer
|
||||
w:
|
||||
description: The width of the video in pixels.
|
||||
type: integer
|
||||
mimetype:
|
||||
description: The mimetype of the video e.g. ``video/mp4``.
|
||||
type: string
|
||||
size:
|
||||
description: The size of the video in bytes.
|
||||
type: integer
|
||||
thumbnail_url:
|
||||
description: The URL to an image thumbnail of the video clip.
|
||||
type: string
|
||||
thumbnail_info:
|
||||
allOf:
|
||||
- $ref: core-event-schema/msgtype_infos/thumbnail_info.yaml
|
||||
title: ThumbnailInfo
|
||||
type: object
|
||||
thumbnail_url:
|
||||
description: The URL to a thumbnail of the video clip.
|
||||
type: string
|
||||
w:
|
||||
description: The width of the video in pixels.
|
||||
type: integer
|
||||
description: Metadata about the image referred to in ``thumbnail_url``.
|
||||
title: VideoInfo
|
||||
type: object
|
||||
msgtype:
|
||||
|
|
|
|||
Loading…
Reference in a new issue