UNPKG

soajs.multitenant

Version:
53 lines (48 loc) 884 B
/** * @license * Copyright SOAJS All Rights Reserved. * * Use of this source code is governed by an Apache license that can be * found in the LICENSE file at the root of this repository */ "use strict"; let deleteTenantsSchema = { "type": "object", "required": true, "additionalProperties": false, "properties": { "result": { "type": "boolean", "required": true }, "data": { "type": "object", "required": false, "properties": { "deletedCount": { "type": "integer", "required": true }, "acknowledged": { "type": "boolean", "required": true } } }, "errors": { "type": "object", "required": false, "properties": { "codes": { "type": "array", "required": true }, "details": { "type": "array", "required": true } } } } }; module.exports = deleteTenantsSchema;