pub.leaflet.blocks.questions
Schema Diff
+9 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "pub.leaflet.blocks.questions.audience" }
- AddedEdge AddedEdge { src: "pub.leaflet.blocks.questions", tgt: "pub.leaflet.blocks.questions.audience", kind: "prop", name: Some("audience") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "pub.leaflet.blocks.questions.audience" }
Additional Notes
- Non-breaking: AddedEdge { src: "pub.leaflet.blocks.questions", tgt: "pub.leaflet.blocks.questions.audience", kind: "prop", name: Some("audience") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "Lets readers ask the author public questions (pub.leaflet.interactions.question) and shows the ones the author has answered (pub.leaflet.interactions.answer). Questions are resolved at render time rather than stored on the block.",
6
6
"properties": {
7
+
"audience": {
8
+
"description": "Who may ask: anyone, only accounts the author follows, or only accounts following the author. Defaults to anyone. Checked when a question is asked.",
9
+
"knownValues": [
10
+
"anyone",
11
+
"follows",
12
+
"followers"
13
+
],
14
+
"type": "string"
15
+
},
7
16
"buttonText": {
8
17
"description": "Label for the button readers use to submit a question.",
9
18
"maxGraphemes": 50,
10
19
"maxLength": 500,
11
20
"type": "string"
12
21
}
13
22
},
14
23
"required": [],
15
24
"type": "object"
16
25
}
17
26
},
18
27
"id": "pub.leaflet.blocks.questions",
19
28
"lexicon": 1
20
29
}