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').
Record Key
any
Any valid record key
Properties
description
string
Optional
Description of what this service provides.
maxLength: 1000 bytesmethods
array
of
ref
#method
Optional
Methods available on this service.
serviceType
string
Required
The type of service being declared.
maxLength: 100 bytesurlTemplates
array
of
ref
#urlTemplate
Optional
URL templates for constructing web URLs from AT-URIs or record data. Useful for linking to web views of records.
View raw schema
{
"key": "any",
"type": "record",
"record": {
"type": "object",
"required": [
"serviceType"
],
"properties": {
"methods": {
"type": "array",
"items": {
"ref": "#method",
"type": "ref"
},
"description": "Methods available on this service."
},
"description": {
"type": "string",
"maxLength": 1000,
"description": "Description of what this service provides."
},
"serviceType": {
"type": "string",
"maxLength": 100,
"description": "The type of service being declared."
},
"urlTemplates": {
"type": "array",
"items": {
"ref": "#urlTemplate",
"type": "ref"
},
"description": "URL templates for constructing web URLs from AT-URIs or record data. Useful for linking to web views of records."
}
}
},
"description": "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')."
}