{"$schema":"http://json-schema.org/draft-04/schema#","title":"Webhook","description":"Webhooks allow you to subscribe to certain events","type":"object","properties":{"id":{"type":"string","description":"The unique identifier for a webhook. Will be generated by shipcloud."},"url":{"type":"string"},"event_types":{"type":"array","items":{"type":"string","enum":["*","shipment.*","shipment.tracking.*","shipment.tracking.label_created","shipment.tracking.picked_up","shipment.tracking.transit","shipment.tracking.out_for_delivery","shipment.tracking.delivered","shipment.tracking.awaits_pickup_by_receiver","shipment.tracking.canceled","shipment.tracking.delayed","shipment.tracking.exception","shipment.tracking.not_delivered","shipment.tracking.destroyed","shipment.tracking.notification","shipment.tracking.unknown"]}}},"required":["id","url","event_types"],"additionalProperties":false}