/com.atproto.lexicon.schema

Lexicon Definitions

{
  "lexicon": 1,
  "id": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "nsid",
      "type": "record",
      "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."
          }
        }
      },
      "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)."
    }
  }
}