{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Read one at.protocube.series record by repository and record key from the protocube AppView.",
      "errors": [
        {
          "name": "NotFound"
        },
        {
          "name": "InvalidRequest"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "#recordView",
          "type": "ref"
        }
      },
      "parameters": {
        "properties": {
          "did": {
            "format": "did",
            "type": "string"
          },
          "rkey": {
            "format": "record-key",
            "type": "string"
          }
        },
        "required": [
          "did",
          "rkey"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "recordView": {
      "properties": {
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        },
        "value": {
          "description": "The raw record value. The AppView never flattens or rewrites it; the client validates it.",
          "type": "unknown"
        }
      },
      "required": [
        "uri",
        "cid",
        "value"
      ],
      "type": "object"
    }
  },
  "id": "at.protocube.getSeries",
  "lexicon": 1
}
