Closed evanp closed 6 years ago
oh wow, that's an oversight. Pretty certain a previous draft allowed for it. The domain for both width
and height
should include Link
and Image
.
OK, we should probably put that in the ERRATA then.
Should double check the owl schema also, make sure it's covered in there.
Example 51 shows an Image
with an url
property that's a Link
, which can have a width and height.
{
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Image",
"name": "Cat Jumping on Wagon",
"url": [
{
"type": "Link",
"href": "http://example.org/image.jpeg",
"mediaType": "image/jpeg"
},
{
"type": "Link",
"href": "http://example.org/image.png",
"mediaType": "image/png"
}
]
}
Example 80 has
Image
objects withwidth
andheight
properties. I don't think these are actually allowed inImage
.