{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "claim": {
      "properties": {
        "item": {
          "format": "at-uri",
          "type": "string"
        },
        "mine": {
          "description": "Whether the caller made this claim.",
          "type": "boolean"
        }
      },
      "required": [
        "item",
        "mine"
      ],
      "type": "object"
    },
    "main": {
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "claims": {
              "items": {
                "ref": "#claim",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "claims"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "list": {
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "list"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "Which items on a gift list are taken. Always empty for the list's owner and for anonymous callers; never reveals who claimed what.",
  "id": "com.tynanpurdy.giftlist.getClaims",
  "lexicon": 1
}
