garden.lexicon.service
Declares XRPC methods available on a DID document service. The rkey is the service fragment ID without the # prefix (e.g., 'atproto_pds' for '#atproto_pds').
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | lexicon.garden |
| Indexed |
Record
record · key anyProperties
description
stringDescription of what this service provides.
maxLength: 1000
The type of service being declared.
maxLength: 100
urlTemplates
arrayURL templates for constructing web URLs from AT-URIs or record data. Useful for linking to web views of records.
#method
objectProperties
authMethods
arrayAuthentication methods supported by this method.
maxLength: 50knownValues: none | atproto.admin | atproto.bearer | atproto.oauth | atproto.inter-service
deprecated
booleanWhether this method is deprecated and should no longer be used.
AT-URI pointing to a lexicon schema that defines this method.
#urlTemplate
objectProperties
collections
arrayNSIDs of collections this URL template applies to.
description
stringDescription of what this URL template is for.
maxLength: 1000
URI template with placeholders for record data
maxLength: 2000
Publisher documentation
DIDドキュメントサービスで利用可能なXRPCメソッドとURLテンプレートを宣言します。これを使用して、IDが提供するサービスを文書化します。
main
サービスを宣言するための主要なレコードタイプです。rkeyは#プレフィックスなしのサービスフラグメントID(例:'#atproto_pds'に対して'atproto_pds')である必要があります。
serviceType- このサービスの型識別子です(例:'AtprotoPersonalDataServer'、'AtprotoLabeler')。DIDドキュメントで使用される型と一致する必要があります。
description- このサービスが提供する内容とその目的の人間が読める説明です。
methods- このサービスがサポートするXRPCメソッドの配列です。各メソッドは、メソッドのインターフェースを定義するレキシコンスキーマを参照します。
urlTemplates- AT-URIまたはレコードデータからWeb URLを構築するためのURLテンプレートです。このサービスに保存されているレコードのWebビューにリンクするのに便利です。
#urlTemplate
このサービスが提供するレコードまたはリソースへのWebリンクを構築するためのURLテンプレートです。
url- レコードデータのプレースホルダを含むURIテンプレートです。プレースホルダはRFC 6570構文に従います(例:'{did}'、'{rkey}')。
description- このURLテンプレートの目的と使用すべき場面についての人間が読める説明です。
collections- このURLテンプレートが適用されるレコードコレクションのNSIDです。これらのコレクションのレコードが表示されるとき、このテンプレートを使用してWebリンクを構築できます。
#method
このサービスで利用可能なXRPCメソッドの宣言です。
lexicon- このメソッドのインターフェース(入力、出力、エラー)を定義するレキシコンスキーマを指すAT-URIです。
deprecated- このメソッドが非推奨であり、使用すべきではないかどうか。クライアントは非推奨のメソッドの呼び出しを避けるべきです。
authMethods- このメソッドがサポートする認証方法です。既知の値には'none'、'atproto.admin'、'atproto.bearer'、'atproto.oauth'、'atproto.inter-service'が含まれます。
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
at.inlay.endpoint
recordEndpoint record. Declares that a DID serves a given XRPC method. The rkey is the method NSID.