{
"id": "io.atcr.sailor.webhook",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"holdDid",
"triggers",
"privateCid",
"createdAt"
],
"properties": {
"holdDid": {
"type": "string",
"format": "did",
"description": "DID of the hold where the webhook is configured"
},
"triggers": {
"type": "integer",
"minimum": 0,
"description": "Bitmask of trigger events: 0x01=scan:first, 0x02=scan:all, 0x04=scan:changed"
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "RFC3339 timestamp of when the webhook was created"
},
"updatedAt": {
"type": "string",
"format": "datetime",
"description": "RFC3339 timestamp of when the webhook was last updated"
},
"privateCid": {
"type": "string",
"maxLength": 128,
"description": "CID of the corresponding io.atcr.hold.webhook record on the hold"
}
}
},
"description": "Public webhook metadata stored in the user's PDS. Links to a private io.atcr.hold.webhook record on the hold where URL and secret are stored. Part of a two-record split: this record is visible via ATProto (Jetstream), the hold record is not."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}