{"$type":"com.atproto.lexicon.schema","defs":{"delivery":{"properties":{"createdAt":{"format":"datetime","type":"string"},"event":{"description":"Event type that triggered the delivery.","ref":"#eventType","type":"ref"},"id":{"description":"Unique ID for tracking this delivery attempt.","type":"string"},"requestBody":{"type":"bytes"},"responseBody":{"type":"bytes"},"responseCode":{"type":"integer"},"success":{"type":"boolean"},"url":{"format":"uri","type":"string"},"webhook":{"description":"ID of the webhook this delivery belongs to.","type":"string"}},"required":["id","webhook","event","url","success","createdAt"],"type":"object"},"eventType":{"knownValues":["push","repository:renamed","pull_request:created","pull_request:resubmitted","pull_request:merged","pull_request:closed","pull_request:reopened","org.tangled.event.pullRequest"],"type":"string"},"webhook":{"properties":{"active":{"description":"Whether the webhook is currently enabled.","type":"boolean"},"createdAt":{"format":"datetime","type":"string"},"events":{"description":"Event types this webhook is subscribed to.","items":{"ref":"#eventType","type":"ref"},"type":"array"},"id":{"description":"Webhook identifier.","type":"string"},"updatedAt":{"format":"datetime","type":"string"},"url":{"description":"Endpoint URL that receives webhook payloads.","format":"uri","type":"string"}},"required":["id","url","active","events","createdAt"],"type":"object"}},"id":"org.tangled.webhook.defs","lexicon":1}