|
|
|
@ -31,27 +31,29 @@ module.exports = function (fastify, opts, next) {
|
|
|
|
|
tankerName: { type: "string" },
|
|
|
|
|
phoneNumber: { type: "string"},
|
|
|
|
|
alternative_phoneNumber: { type: "string"},
|
|
|
|
|
typeofwater: {
|
|
|
|
|
type: "array",
|
|
|
|
|
maxItems: 2500,
|
|
|
|
|
items: {
|
|
|
|
|
type: "object",
|
|
|
|
|
properties: {
|
|
|
|
|
typeofwater: { type: "string", default: null },
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
price: {
|
|
|
|
|
type: "array",
|
|
|
|
|
maxItems: 2500,
|
|
|
|
|
items: {
|
|
|
|
|
type: "object",
|
|
|
|
|
properties: {
|
|
|
|
|
price: { type: "string", default: null },
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
// typeofwater: {
|
|
|
|
|
// type: "array",
|
|
|
|
|
// maxItems: 2500,
|
|
|
|
|
// items: {
|
|
|
|
|
// type: "object",
|
|
|
|
|
// properties: {
|
|
|
|
|
// typeofwater: { type: "string", default: null },
|
|
|
|
|
// },
|
|
|
|
|
// },
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
|
|
// price: {
|
|
|
|
|
// type: "array",
|
|
|
|
|
// maxItems: 2500,
|
|
|
|
|
// items: {
|
|
|
|
|
// type: "object",
|
|
|
|
|
// properties: {
|
|
|
|
|
// price: { type: "string", default: null },
|
|
|
|
|
// },
|
|
|
|
|
// },
|
|
|
|
|
// },
|
|
|
|
|
typeofwater: { type: "string"},
|
|
|
|
|
price: { type: "string"},
|
|
|
|
|
capacity: { type: "string"},
|
|
|
|
|
// price: {type : "string"},
|
|
|
|
|
// status: {type: "string"}
|
|
|
|
@ -104,27 +106,29 @@ module.exports = function (fastify, opts, next) {
|
|
|
|
|
tankerName: { type: "string" },
|
|
|
|
|
phoneNumber: { type: "string"},
|
|
|
|
|
alternative_phoneNumber: { type: "string"},
|
|
|
|
|
typeofwater: {
|
|
|
|
|
type: "array",
|
|
|
|
|
maxItems: 2500,
|
|
|
|
|
items: {
|
|
|
|
|
type: "object",
|
|
|
|
|
properties: {
|
|
|
|
|
typeofwater: { type: "string", default: null },
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
price: {
|
|
|
|
|
type: "array",
|
|
|
|
|
maxItems: 2500,
|
|
|
|
|
items: {
|
|
|
|
|
type: "object",
|
|
|
|
|
properties: {
|
|
|
|
|
price: { type: "string", default: null },
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
// typeofwater: {
|
|
|
|
|
// type: "array",
|
|
|
|
|
// maxItems: 2500,
|
|
|
|
|
// items: {
|
|
|
|
|
// type: "object",
|
|
|
|
|
// properties: {
|
|
|
|
|
// typeofwater: { type: "string", default: null },
|
|
|
|
|
// },
|
|
|
|
|
// },
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
|
|
// price: {
|
|
|
|
|
// type: "array",
|
|
|
|
|
// maxItems: 2500,
|
|
|
|
|
// items: {
|
|
|
|
|
// type: "object",
|
|
|
|
|
// properties: {
|
|
|
|
|
// price: { type: "string", default: null },
|
|
|
|
|
// },
|
|
|
|
|
// },
|
|
|
|
|
// },
|
|
|
|
|
typeofwater: { type: "string"},
|
|
|
|
|
price: { type: "string"},
|
|
|
|
|
capacity: { type: "string"},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|