iSpring Learn · Schema

User

eLearningLMSLearning Management SystemTrainingCoursesEnrollmentsUsersGroupsReportingWebhooksSCORMCorporate Training

Properties

Name Type Description
userId string
role object
roleId string
departmentId string
status object
fields object
addedDate string
lastLoginDate string
manageableDepartmentIds object
userRoles array
groups object
subordination object
coSubordination object
workLeaveStatus object
securityPolicyAcceptanceDate string
personalDataConsentAcceptanceDate string
View JSON Schema on GitHub

JSON Schema

User.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "User",
  "required": [
    "userId",
    "role",
    "roleId",
    "departmentId",
    "status",
    "fields",
    "addedDate",
    "lastLoginDate",
    "userRoles",
    "subordination",
    "coSubordination"
  ],
  "properties": {
    "userId": {
      "type": "string",
      "format": "uuid"
    },
    "role": {
      "$ref": "#/components/schemas/UserRoleEnum"
    },
    "roleId": {
      "type": "string",
      "format": "uuid"
    },
    "departmentId": {
      "type": "string",
      "format": "uuid"
    },
    "status": {
      "$ref": "#/components/schemas/UserStatus"
    },
    "fields": {
      "$ref": "#/components/schemas/UserProfileFields"
    },
    "addedDate": {
      "type": "string",
      "format": "datetime"
    },
    "lastLoginDate": {
      "type": "string",
      "format": "datetime"
    },
    "manageableDepartmentIds": {
      "$ref": "#/components/schemas/ArrayOfIds"
    },
    "userRoles": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/UserRole"
      }
    },
    "groups": {
      "$ref": "#/components/schemas/ArrayOfIds"
    },
    "subordination": {
      "$ref": "#/components/schemas/Subordination"
    },
    "coSubordination": {
      "$ref": "#/components/schemas/Subordination"
    },
    "workLeaveStatus": {
      "$ref": "#/components/schemas/WorkLeaveStatus"
    },
    "securityPolicyAcceptanceDate": {
      "type": "string",
      "format": "datetime"
    },
    "personalDataConsentAcceptanceDate": {
      "type": "string",
      "format": "datetime"
    }
  },
  "type": "object",
  "xml": {
    "name": "userProfile",
    "wrapped": true
  }
}