registeruser

RegisterUserInfo Schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "tenant": {
      "type": "string",
      "format": "^[a-z\\-]+$"
    },
    "email": {
      "type": "string",
      "format": "email"
    },
    "password": {
      "type": "string"
    },
    "firstName": {
      "type": "string"
    },
    "lastName": {
      "type": "string"
    }
  },
  "required": [
    "tenant",
    "email",
    "password",
    "firstName",
    "lastName"
  ]
}

UserResponseInfo Schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "_id": {
      "type": "string",
      "format": "uuid"
    },
    "tenant": {
      "type": "string",
      "format": "^[a-z\\-]+$"
    },
    "email": {
      "type": "string",
      "format": "email"
    },
    "firstName": {
      "type": "string"
    },
    "lastName": {
      "type": "string"
    },
    "isActivated": {
      "type": "boolean"
    },
    "registeredOn": {
      "type": "object",
      "format": "date-time"
    }
  },
  "required": [
    "_id",
    "tenant",
    "email",
    "firstName",
    "lastName",
    "isActivated",
    "registeredOn"
  ]
}