|
|
|
@ -789,18 +789,8 @@ fastify.post("/api/createquotationforSensor/:installationId", {
|
|
|
|
|
masters: { type: "string" },
|
|
|
|
|
slaves: { type: "string" },
|
|
|
|
|
motor_switches: { type: "string" },
|
|
|
|
|
electricals: {
|
|
|
|
|
type: "array",
|
|
|
|
|
description: "List of electrical items",
|
|
|
|
|
items: {
|
|
|
|
|
type: "object",
|
|
|
|
|
properties: {
|
|
|
|
|
name: { type: "string", description: "Name of the electrical item" },
|
|
|
|
|
type: { type: "string", description: "Type of the electrical item" },
|
|
|
|
|
},
|
|
|
|
|
required: ["name", "type"],
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
electricals: { type: "string" },
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|