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').

Repository @lexicon.garden did:plc:akhgi4ekkeaupiqsis6g2gqg namespace authority
Details · record, key any
Kindrecord
Record keyany
Authoritylexicon.garden
Indexed

Record

record · key any

Properties

Description of what this service provides.

  • maxLength: 1000

methods

array

Methods available on this service.

itemsref
Reference

serviceType

requiredstring

The type of service being declared.

  • maxLength: 100

URL templates for constructing web URLs from AT-URIs or record data. Useful for linking to web views of records.

itemsref
Reference

#method

object

Properties

Authentication methods supported by this method.

itemsstring
  • maxLength: 50
  • knownValues: none | atproto.admin | atproto.bearer | atproto.oauth | atproto.inter-service

deprecated

boolean

Whether this method is deprecated and should no longer be used.

lexicon

requiredstring · at-uri

AT-URI pointing to a lexicon schema that defines this method.

#urlTemplate

object

Properties

NSIDs of collections this URL template applies to.

itemsstring · nsid

Description of what this URL template is for.

  • maxLength: 1000

url

requiredstring

URI template with placeholders for record data

  • maxLength: 2000

Publisher documentation

Declares XRPC methods and URL templates available on a DID document service. Use this to document what services your identity provides.

main

The primary record type for declaring a service. The rkey should be the service fragment ID without the # prefix (e.g., 'atproto_pds' for '#atproto_pds').

serviceType
The type identifier for this service (e.g., 'AtprotoPersonalDataServer', 'AtprotoLabeler'). This should match the type used in the DID document.
description
A human-readable description of what this service provides and its purpose.
methods
An array of XRPC methods that this service supports. Each method references a lexicon schema defining the method's interface.
urlTemplates
URL templates for constructing web URLs from AT-URIs or record data. Useful for linking to web views of records stored in this service.

#urlTemplate

A URL template for constructing web links to records or resources served by this service.

url
A URI template with placeholders for record data. Placeholders follow RFC 6570 syntax (e.g., '{did}', '{rkey}').
description
A human-readable description of what this URL template is for and when it should be used.
collections
NSIDs of record collections that this URL template applies to. When a record from one of these collections is viewed, this template can be used to construct a web link.

#method

A declaration of an XRPC method available on this service.

lexicon
An AT-URI pointing to the lexicon schema that defines this method's interface (input, output, and errors).
deprecated
Whether this method is deprecated and should no longer be used. Clients should avoid calling deprecated methods.
authMethods
Authentication methods supported by this method. Known values include 'none', 'atproto.admin', 'atproto.bearer', 'atproto.oauth', and 'atproto.inter-service'.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Endpoint record. Declares that a DID serves a given XRPC method. The rkey is the method NSID.