{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/HookConfigurationRequest", "title": "HookConfigurationRequest", "required": [ "filter", "hook" ], "type": "object", "properties": { "filter": { "$ref": "#/components/schemas/HookFilter" }, "hook": { "$ref": "#/components/schemas/Hook" } }, "example": { "filter": { "type": "FromWorkflow", "status": [ "order-completed", "handling", "ready-for-handling", "waiting-ffmt-authorization", "cancel" ] }, "hook": { "url": "https://endpoint.example/path", "headers": { "key": "value" } } } }