webhook trigger lexicon
event.json
1{
2 "$schema": "https://internect.info/lexicon-schema.json",
3 "lexicon": 1,
4 "id": "ac.hexmani.firehook.event",
5 "description": "A webhook trigger",
6 "defs": {
7 "main": {
8 "type": "record",
9 "key": "tid",
10 "record": {
11 "type": "object",
12 "required": ["ref"],
13 "properties": {
14 "ref": {
15 "type": "ref",
16 "ref": "com.atproto.repo.strongRef",
17 "description": "Reference to a webhook"
18 },
19 "signature": {
20 "type": "string",
21 "description": "Base64-encoded signature if webhook uses the key-restricted scope"
22 },
23 "parcel": {
24 "type": "unknown",
25 "description": "Section for defining additional data"
26 }
27 }
28 }
29 }
30 }
31}