Update m.room.avatar schema so it references image_info in info
Signed-off-by: Gergely Polonkai <gergely@polonkai.eu>
This commit is contained in:
parent
cc0dae3aeb
commit
6e2b02a608
1 changed files with 3 additions and 18 deletions
|
@ -29,24 +29,9 @@
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "ImageInfo",
|
"title": "ImageInfo",
|
||||||
"description": "Metadata about the image referred to in ``url``.",
|
"description": "Metadata about the image referred to in ``url``.",
|
||||||
"properties": {
|
"allOf": [{
|
||||||
"size": {
|
"$ref": "core-event-schema/msgtype_infos/image_info.yaml"
|
||||||
"type": "integer",
|
}]
|
||||||
"description": "Size of the image in bytes."
|
|
||||||
},
|
|
||||||
"w": {
|
|
||||||
"type": "integer",
|
|
||||||
"description": "The width of the image in pixels."
|
|
||||||
},
|
|
||||||
"h": {
|
|
||||||
"type": "integer",
|
|
||||||
"description": "The height of the image in pixels."
|
|
||||||
},
|
|
||||||
"mimetype": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "The mimetype of the image, e.g. ``image/jpeg``."
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["url"]
|
"required": ["url"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue