{
"id": "dev.tsunagite.getChart",
"defs": {
"main": {
"type": "query",
"errors": [
{
"name": "chartNotFound",
"description": "No chart matching the given URI or owner/key was found."
},
{
"name": "invalidParams",
"description": "Parameters must include a URI or owner and key."
}
],
"output": {
"schema": {
"ref": "dev.tsunagite.chart",
"type": "ref"
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"properties": {
"key": {
"type": "string",
"format": "record-key",
"description": "The key of the record to fetch. Must be present if `uri` is absent."
},
"uri": {
"type": "string",
"description": "The AT URI of the record to fetch. Must be present if `owner` and `key` are absent."
},
"owner": {
"type": "string",
"format": "at-identifier",
"description": "The handle or DID of the record owner. Must be present if `uri` is absent."
}
}
},
"description": "Single-record chart fetch"
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}