activity_streams v0.1.0 ActivityStreams.Properties.Icon View Source

Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size. W3C

Examples

[“{“@context”:”https://www.w3.org/ns/activitystreams”,”summary”:”A simple note”,”type”:”Note”,”content”:”This is all there is.”,”icon”:{“type”:”Image”,”name”:”Note icon”,”url”:”http://example.org/note.png”,”width”:16,”height”:16}}”, “{“@context”:”https://www.w3.org/ns/activitystreams”,”summary”:”A simple note”,”type”:”Note”,”content”:”A simple note”,”icon”:[{“type”:”Image”,”summary”:”Note (16x16)”,”url”:”http://example.org/note1.png”,”width”:16,”height”:16},{“type”:”Image”,”summary”:”Note (32x32)”,”url”:”http://example.org/note2.png”,”width”:32,”height”:32}]}”]