|
|
|
@ -98,10 +98,12 @@ module.exports = function (fastify, opts, next) {
|
|
|
|
|
},
|
|
|
|
|
body: {
|
|
|
|
|
type: "object",
|
|
|
|
|
// required: ['phone'],
|
|
|
|
|
properties: {
|
|
|
|
|
tankerName: { type: "string", default: null },
|
|
|
|
|
phoneNumber: { type: "string", default: null },
|
|
|
|
|
supplier_name: { type: "string" },
|
|
|
|
|
supplier_address:{ type: "string" },
|
|
|
|
|
tankerName: { type: "string" },
|
|
|
|
|
phoneNumber: { type: "string"},
|
|
|
|
|
alternative_phoneNumber: { type: "string"},
|
|
|
|
|
typeofwater: {
|
|
|
|
|
type: "array",
|
|
|
|
|
maxItems: 2500,
|
|
|
|
@ -112,18 +114,20 @@ module.exports = function (fastify, opts, next) {
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
capacity: {
|
|
|
|
|
type: "array",
|
|
|
|
|
|
|
|
|
|
price: {
|
|
|
|
|
type: "array",
|
|
|
|
|
maxItems: 2500,
|
|
|
|
|
items: {
|
|
|
|
|
type: "object",
|
|
|
|
|
properties: {
|
|
|
|
|
capacity: { type: "string", default: null },
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
price: { type: "string", default: null },
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
capacity: { type: "string"},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
security: [
|
|
|
|
|