Skip to content

Commit

Permalink
spec/api.json updated
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmurphy authored and github-actions[bot] committed Jan 15, 2025
1 parent c39796d commit f59efb7
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
21 changes: 21 additions & 0 deletions lexicons/com/atproto/lexicon/schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"lexicon": 1,
"id": "com.atproto.lexicon.schema",
"defs": {
"main": {
"type": "record",
"description": "Representation of Lexicon schemas themselves, when published as atproto records. Note that the schema language is not defined in Lexicon; this meta schema currently only includes a single version field ('lexicon'). See the atproto specifications for description of the other expected top-level fields ('id', 'defs', etc).",
"key": "nsid",
"record": {
"type": "object",
"required": ["lexicon"],
"properties": {
"lexicon": {
"type": "integer",
"description": "Indicates the 'version' of the Lexicon language. Must be '1' for the current atproto/Lexicon schema system."
}
}
}
}
}
}
14 changes: 14 additions & 0 deletions spec/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -28257,6 +28257,17 @@
}
}
},
"com.atproto.lexicon.schema": {
"type": "object",
"required": [
"lexicon"
],
"properties": {
"lexicon": {
"type": "integer"
}
}
},
"com.atproto.moderation.defs.reasonType": {
"oneOf": [
{
Expand Down Expand Up @@ -30281,6 +30292,9 @@
{
"name": "com.atproto.label"
},
{
"name": "com.atproto.lexicon"
},
{
"name": "com.atproto.moderation"
},
Expand Down

0 comments on commit f59efb7

Please sign in to comment.