···11-namespace com.atproto.identity;
22-33-@doc("Resolves an atproto handle (hostname) to a DID. Does not necessarily bi-directionally verify against the the DID document.")
44-op resolveHandle(
55- @doc("The handle to resolve.")
66- @query handle: string,
77-): {
88- did: string;
99-};
···11-namespace com.atproto.lexicon;
22-33-@doc("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).")
44-model Schema {
55- @doc("Indicates the 'version' of the Lexicon language. Must be '1' for the current atproto/Lexicon schema system.")
66- lexicon: int32;
77-}
···11-namespace com.atproto.repo;
22-33-@doc("Create a single new repository record. Requires auth, implemented by PDS.")
44-op createRecord(
55- @doc("The handle or DID of the repo (aka, current account).")
66- repo: string,
77-88- @doc("The NSID of the record collection.")
99- collection: string,
1010-1111- @doc("The Record Key.")
1212- rkey?: string,
1313-1414- @doc("Can be set to 'false' to skip Lexicon schema validation of record data, 'true' to require it, or leave unset to validate only for known Lexicons.")
1515- validate?: boolean,
1616-1717- @doc("The record itself. Must contain a $type field.")
1818- record: unknown,
1919-2020- @doc("Compare and swap with the previous commit by CID.")
2121- swapCommit?: string,
2222-): {
2323- uri: string;
2424- cid: string;
2525- commit?: unknown; // Should be ref to commitMeta
2626- validationStatus?: string;
2727-};