action edrv_patch_driver { label: "patchDriver" description: "Update a driver's data" provider: edrv method: PATCH path: "/v1/drivers/{id}" encoding: json input: { type: "object" properties: { active: { type: "boolean" } address: { type: "object" properties: { city: { type: "string" } country: { type: "string" } postalCode: { type: "string" } streetAndNumber: { type: "string" } } } email: { type: "string" } firstname: { type: "string" } id: { type: "string" } lastname: { type: "string" } phone: { type: "object" properties: { home: { type: "string" } mobile: { type: "string" } work: { type: "string" } } } source: { type: "string" } tokens: { type: "array" items: { type: "object" } } } required: ["id"] additionalProperties: false } output: { type: "object" properties: { message: { type: "string" } ok: { type: "boolean" } result: { type: "array" items: { type: "object" } } } } }