com.atproto.lexicon.schema
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).
- class atproto_client.models.com.atproto.lexicon.schema.Record
Bases:
RecordModelBaseRecord model for
com.atproto.lexicon.schema.- field lexicon: int [Required]
Indicates the βversionβ of the Lexicon language. Must be β1β for the current atproto/Lexicon schema system.
- class atproto_client.models.com.atproto.lexicon.schema.GetRecordResponse
Bases:
SugarResponseModelBaseGet record response for
models.ComAtprotoLexiconSchema.Record.- field uri: str [Required]
The URI of the record.
- field value: models.ComAtprotoLexiconSchema.Record [Required]
The record.
- class atproto_client.models.com.atproto.lexicon.schema.ListRecordsResponse
Bases:
SugarResponseModelBaseList records response for
models.ComAtprotoLexiconSchema.Record.- field records: Dict[str, models.ComAtprotoLexiconSchema.Record] [Required]
Map of URIs to records.
- class atproto_client.models.com.atproto.lexicon.schema.CreateRecordResponse
Bases:
SugarResponseModelBaseCreate record response for
models.ComAtprotoLexiconSchema.Record.- field cid: str [Required]
The CID of the record.
- field uri: str [Required]
The URI of the record.