add lexicon codegen: vendored lexicons, lex cli and generation scripts
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"id": "app.bsky.graph.starterpack",
|
||||
"defs": {
|
||||
"main": {
|
||||
"key": "tid",
|
||||
"type": "record",
|
||||
"record": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"name",
|
||||
"list",
|
||||
"createdAt"
|
||||
],
|
||||
"properties": {
|
||||
"list": {
|
||||
"type": "string",
|
||||
"format": "at-uri",
|
||||
"description": "Reference (AT-URI) to the list record."
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"maxLength": 500,
|
||||
"minLength": 1,
|
||||
"description": "Display name for starter pack; can not be empty.",
|
||||
"maxGraphemes": 50
|
||||
},
|
||||
"feeds": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"ref": "#feedItem",
|
||||
"type": "ref"
|
||||
},
|
||||
"maxLength": 3
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "datetime"
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"maxLength": 3000,
|
||||
"maxGraphemes": 300
|
||||
},
|
||||
"descriptionFacets": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"ref": "app.bsky.richtext.facet",
|
||||
"type": "ref"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "Record defining a starter pack of actors and feeds for new users."
|
||||
},
|
||||
"feedItem": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"uri"
|
||||
],
|
||||
"properties": {
|
||||
"uri": {
|
||||
"type": "string",
|
||||
"format": "at-uri"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"$type": "com.atproto.lexicon.schema",
|
||||
"lexicon": 1
|
||||
}
|
||||
Reference in New Issue
Block a user