fyi.opensocial.templateVersion
Schema Diff
+5 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "fyi.opensocial.templateVersion:body.createdBy" }
- AddedEdge AddedEdge { src: "fyi.opensocial.templateVersion:body", tgt: "fyi.opensocial.templateVersion:body.createdBy", kind: "prop", name: Some("createdBy") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "fyi.opensocial.templateVersion:body.createdBy" }
Additional Notes
- Non-breaking: AddedEdge { src: "fyi.opensocial.templateVersion:body", tgt: "fyi.opensocial.templateVersion:body.createdBy", kind: "prop", name: Some("createdBy") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"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).",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"changes": {
10
10
"description": "What's new in it, in a line or two.",
11
11
"maxGraphemes": 300,
12
12
"maxLength": 3000,
13
13
"type": "string"
14
14
},
15
15
"createdAt": {
16
16
"format": "datetime",
17
17
"type": "string"
18
18
},
19
+
"createdBy": {
20
+
"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.",
21
+
"format": "did",
22
+
"type": "string"
23
+
},
19
24
"entry": {
20
25
"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.",
21
26
"ref": "fyi.opensocial.template#entry",
22
27
"type": "ref"
23
28
},
24
29
"files": {
25
30
"items": {
26
31
"ref": "fyi.opensocial.defs#file",
27
32
"type": "ref"
28
33
},
29
34
"maxLength": 100,
30
35
"type": "array"
31
36
},
32
37
"template": {
33
38
"description": "The fyi.opensocial.template it's a version of.",
34
39
"format": "at-uri",
35
40
"type": "string"
36
41
},
37
42
"version": {
38
43
"description": "Which it is, counting from 1: each new one more than the last.",
39
44
"minimum": 1,
40
45
"type": "integer"
41
46
}
42
47
},
43
48
"required": [
44
49
"template",
45
50
"version",
46
51
"files",
47
52
"createdAt"
48
53
],
49
54
"type": "object"
50
55
},
51
56
"type": "record"
52
57
}
53
58
},
54
59
"id": "fyi.opensocial.templateVersion",
55
60
"lexicon": 1
56
61
}