fyi.opensocial.templateVersion

One version of a published template, as it was put out: never changed, so a tab that names it gets what was chosen. Its files are the template itself, as a folder of it has them: `template.html` (the page, drawn in a sandboxed frame with the site kit in front of it), `SKILL.md` (how to use it, for an agent), `outside.js` and `outside.html` (its public page, if its tabs can have one), `methods/<name>.js` with `lexicons/<name>.json` (the methods it brings, each a query every tab made from it answers under that tab's own namespace), and `lexicons/<nsid>.json` (kinds of record it makes up).

Details · record, key tid
Kindrecord
Record keytid
Authorityopensocial.fyi
Indexed

Record

record · key tid

Properties

changes

string

What's new in it, in a line or two.

  • maxLength: 3000
  • maxGraphemes: 300

createdAt

requiredstring · datetime

createdBy

string · did

Who put it out, for one a group shares, within it or with everyone: the group's own repo or members space holds it, whoever shared it.

How a site uses it unless told otherwise; what it reads, writes and calls are what it needs to be allowed for it to work.

files

requiredarray
  • maxLength: 100
itemsref

Pictures of a tab made from it, filled in, for whoever's choosing one: shown on its page and where a tab is added.

  • maxLength: 4
itemsref
Reference

template

requiredstring · at-uri

The fyi.opensocial.template it's a version of.

version

requiredinteger

Which it is, counting from 1: each new one more than the last.

  • minimum: 1

#preview

object

One picture of a tab made from it.

Properties

alt

requiredstring

What it shows, for whoever can't see it.

  • maxLength: 3000
  • maxGraphemes: 300

image

requiredblob
  • maxSize: 1000000
  • accept: image/png, image/jpeg, image/webp

size

string

What it was seen on: a wide screen or a phone.

  • knownValues: wide | phone

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • A template for a tab for a group's site, published by whoever made it, as it's listed: its name, what it's for, its icon, and its latest version, a fyi.opensocial.templateVersion. A site names it by URI; an agent installs it as a skill. Keyed by the template's name.

  • A template shared with everyone, for its own page: what it's called, who made it, what a tab of it does at its latest version, and every version. For anyone; never one shared within a group.

  • The templates shared within the group, each at its latest version: for its members alone.

  • A tab you can see, as a template shared from it has it, for sharing it with everyone as yourself: its page, its methods and the kinds of record it makes up, the tab's namespace in them made the placeholder, and what a tab of it does. Its records are written in your own repo by you: a fyi.opensocial.templateVersion, each file a blob, and the fyi.opensocial.template listing it, at the record key given. Refused as shareTab refuses, and a new version whose kinds of record change in a way records alr

  • A group's site, in its members space: channels of tabs, shown one at a time, each a whole HTML document drawn in a sandboxed frame. Authored by the group DID; written through putSite by whoever holds group.configure. Anyone else is handed only its public part, by the host. A group without one is shown the starter.