action edrv_post_drivers { label: "postDrivers" description: "Create a new driver" provider: edrv method: POST path: "/v1/drivers" encoding: json input: { type: "object" required: ["firstname", "lastname", "source"] 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" } lastname: { type: "string" } phone: { type: "object" properties: { home: { type: "string" } mobile: { type: "string" } work: { type: "string" } } } source: { type: "string" enum: ["physical", "slack", "telegram", "sms"] } } } output: { type: "object" properties: { message: { type: "string" } ok: { type: "boolean" } result: { type: "object" } } } }