{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "roles": {
        "references": [
          "outputs[].uri"
        ]
      },
      "subject": "subject.uri",
      "type": "queryDocument"
    }
  },
  "description": "Which fields of a rule's receipt fill the shared query roles: the records it wrote (outputs) are its references, so a read finds the receipt that accounts for a record. Its subject is the record the rule ran on.",
  "id": "pub.techne.draft.receipt.query",
  "lexicon": 1
}
