52 lines
1.4 KiB
JSON
52 lines
1.4 KiB
JSON
{
|
|
"lexicon": 1,
|
|
"id": "app.bsky.graph.starterpack",
|
|
"defs": {
|
|
"main": {
|
|
"type": "record",
|
|
"description": "Record defining a starter pack of actors and feeds for new users.",
|
|
"key": "tid",
|
|
"record": {
|
|
"type": "object",
|
|
"required": ["name", "list", "createdAt"],
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"maxGraphemes": 50,
|
|
"maxLength": 500,
|
|
"minLength": 1,
|
|
"description": "Display name for starter pack; can not be empty."
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"maxGraphemes": 300,
|
|
"maxLength": 3000
|
|
},
|
|
"descriptionFacets": {
|
|
"type": "array",
|
|
"items": { "type": "ref", "ref": "app.bsky.richtext.facet" }
|
|
},
|
|
"list": {
|
|
"type": "string",
|
|
"format": "at-uri",
|
|
"description": "Reference (AT-URI) to the list record."
|
|
},
|
|
"feeds": {
|
|
"type": "array",
|
|
"maxLength": 3,
|
|
"items": { "type": "ref", "ref": "#feedItem" }
|
|
},
|
|
"createdAt": { "type": "string", "format": "datetime" }
|
|
}
|
|
}
|
|
},
|
|
"feedItem": {
|
|
"type": "object",
|
|
"required": ["uri"],
|
|
"properties": {
|
|
"uri": { "type": "string", "format": "at-uri" }
|
|
}
|
|
}
|
|
}
|
|
}
|