diff --git a/src/routes/tanksRoute.js b/src/routes/tanksRoute.js index 4b312761..1521856c 100644 --- a/src/routes/tanksRoute.js +++ b/src/routes/tanksRoute.js @@ -76,12 +76,16 @@ module.exports = function (fastify, opts, next) { // required: ['phone'], properties: { - - blockName: { type: "string", default: null }, - capacity: { type: "string" }, - typeOfWater: { type: "string", default: null }, - type: { type: "string" }, - tankLocation: { type: "string", default: null }, + tankhardwareId: { type: "string" }, + hardwareId: { type: "string" }, + tankName: { type: "string" }, + blockName: { type: "string"}, + capacity: { type: "string" }, + // customerId: { type: "string" }, + typeOfWater: { type: "string" }, + waterCapacityPerCm:{ type: "string" }, + tankLocation: { type: "string" }, + height:{ type: "string" }, }, }, security: [