MenuShared modalities

Record

fyi.opensocial.eventImage

A poster image for an event.

A picture for one of the group's events. community.lexicon.calendar.event is a calendar standard and carries no image, so the picture lives beside the event rather than inside it: a record of the group's own, in the group's own repo, keyed by the event's rkey. Who may write one is a credentialScopes entry on a space, like every other record the group authors.

Record key
any
Lives in
events

Fields

eventstring · at-urirequired

The community.lexicon.calendar.event this pictures.

imageblobrequired
image/*≤ 1000 kB
altstring

Alt text, for accessibility.

createdAtstring · datetimerequired

Schema

Lexicon JSON
{
  "lexicon": 1,
  "id": "fyi.opensocial.eventImage",
  "defs": {
    "main": {
      "type": "record",
      "key": "any",
      "description": "A picture for one of the group's events. community.lexicon.calendar.event is a calendar standard and carries no image, so the picture lives beside the event rather than inside it: a record of the group's own, in the group's own repo, keyed by the event's rkey. Who may write one is a credentialScopes entry on a space, like every other record the group authors.",
      "record": {
        "type": "object",
        "required": [
          "event",
          "image",
          "createdAt"
        ],
        "properties": {
          "event": {
            "type": "string",
            "format": "at-uri",
            "description": "The community.lexicon.calendar.event this pictures."
          },
          "image": {
            "type": "blob",
            "accept": [
              "image/*"
            ],
            "maxSize": 1000000
          },
          "alt": {
            "type": "string",
            "description": "Alt text, for accessibility."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      }
    }
  }
}

← All shared modalities