{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Read a record at rkey 'self' from the authenticated viewer's own PDS, mediated by the AppView using its server-held session (confidential OAuth client only). Returns an empty object (not an error) when the record doesn't exist.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "value": {
              "type": "unknown"
            }
          },
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "collection": {
            "type": "string"
          }
        },
        "required": [
          "collection"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "app.didpic.write.getSelfRecord",
  "lexicon": 1
}
