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).
tid
Timestamp-based ID
Properties
changes
string
Optional
What's new in it, in a line or two.
maxLength: 3000 bytesmaxGraphemes: 300 graphemescreatedAt
string
datetime
Required
An RFC 3339 formatted timestamp.
createdBy
string
did
Optional
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.
entry
ref
fyi.opensocial.template#entry
Optional
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
array
of
ref
fyi.opensocial.defs#file
Required
No description available.
maxLength: 100 itemstemplate
string
at-uri
Required
The fyi.opensocial.template it's a version of.
version
integer
Required
Which it is, counting from 1: each new one more than the last.
minimum: 1View raw schema
{
"description": "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).",
"key": "tid",
"record": {
"properties": {
"changes": {
"description": "What's new in it, in a line or two.",
"maxGraphemes": 300,
"maxLength": 3000,
"type": "string"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"createdBy": {
"description": "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.",
"format": "did",
"type": "string"
},
"entry": {
"description": "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.",
"ref": "fyi.opensocial.template#entry",
"type": "ref"
},
"files": {
"items": {
"ref": "fyi.opensocial.defs#file",
"type": "ref"
},
"maxLength": 100,
"type": "array"
},
"template": {
"description": "The fyi.opensocial.template it's a version of.",
"format": "at-uri",
"type": "string"
},
"version": {
"description": "Which it is, counting from 1: each new one more than the last.",
"minimum": 1,
"type": "integer"
}
},
"required": [
"template",
"version",
"files",
"createdAt"
],
"type": "object"
},
"type": "record"
}