{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "roles": {
        "references": [
          "inputs[].uri",
          "attributions[].uri"
        ]
      },
      "subject": "subject.uri",
      "type": "queryDocument"
    }
  },
  "description": "Which fields of a derivation fill the shared query roles: the records it read (inputs) and the records it credits (attributions) are its references, so a read finds the derivations made from a record. Its subject is the record it derives about.",
  "id": "pub.techne.draft.derivation.query",
  "lexicon": 1
}
