Add a thumbnail_info common schema, deduplicate m.room.avatar and m.room.message#m.image
parent
1b661b64dc
commit
2fdca5a995
@ -0,0 +1,16 @@
|
|||||||
|
$schema: http://json-schema.org/draft-04/schema#
|
||||||
|
description: Metadata about a thumbnail image.
|
||||||
|
properties:
|
||||||
|
h:
|
||||||
|
description: The height 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
|
Loading…
Reference in New Issue