|
|
@ -347,7 +347,16 @@ module.exports = function (fastify, opts, next) {
|
|
|
|
firstName: { type: "string" },
|
|
|
|
firstName: { type: "string" },
|
|
|
|
lastName: { type: "string" },
|
|
|
|
lastName: { type: "string" },
|
|
|
|
username: { type: "string" },
|
|
|
|
username: { type: "string" },
|
|
|
|
email: { type: "string" },
|
|
|
|
emails: {
|
|
|
|
|
|
|
|
type: "array",
|
|
|
|
|
|
|
|
maxItems: 2,
|
|
|
|
|
|
|
|
items: {
|
|
|
|
|
|
|
|
type: "object",
|
|
|
|
|
|
|
|
properties: {
|
|
|
|
|
|
|
|
email: { type: "string", default: null },
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
address1: { type: "string" },
|
|
|
|
address1: { type: "string" },
|
|
|
|
address2: { type: "string" },
|
|
|
|
address2: { type: "string" },
|
|
|
|
city: { type: "string" },
|
|
|
|
city: { type: "string" },
|
|
|
@ -357,7 +366,7 @@ module.exports = function (fastify, opts, next) {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
security: [
|
|
|
|
security: [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
basicAuth: [],
|
|
|
|
basicAuth: [],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
|