|
|
@ -131,7 +131,7 @@ module.exports = function (fastify, opts, next) {
|
|
|
|
body: {
|
|
|
|
body: {
|
|
|
|
type: "object",
|
|
|
|
type: "object",
|
|
|
|
properties: {
|
|
|
|
properties: {
|
|
|
|
username: { type: "string" },
|
|
|
|
phone: { type: "string" },
|
|
|
|
password: { type: "string" },
|
|
|
|
password: { type: "string" },
|
|
|
|
emails: {
|
|
|
|
emails: {
|
|
|
|
type: "array",
|
|
|
|
type: "array",
|
|
|
@ -145,7 +145,7 @@ module.exports = function (fastify, opts, next) {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
firstName: { type: "string", default: null },
|
|
|
|
firstName: { type: "string", default: null },
|
|
|
|
lastName: { type: "string", default: null },
|
|
|
|
lastName: { type: "string", default: null },
|
|
|
|
phone: { type: "string" },
|
|
|
|
username: { type: "string" },
|
|
|
|
buildingName: { type: "string", default: null },
|
|
|
|
buildingName: { type: "string", default: null },
|
|
|
|
inchargeName: { type: "string", default: null },
|
|
|
|
inchargeName: { type: "string", default: null },
|
|
|
|
address1: { type: "string", default: null },
|
|
|
|
address1: { type: "string", default: null },
|
|
|
|