{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A protected XRPC endpoint to get an at://advent challenge code for the user",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "code": {
              "type": "string"
            }
          },
          "required": [
            "code"
          ],
          "type": "object"
        }
      },
      "type": "query"
    }
  },
  "id": "codes.advent.challenge.getCode",
  "lexicon": 1
}
