{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/zywave/main/json-schema/zywave-user-principal-schema.json",
  "title": "UserPrincipal",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zywave-organizations-v3-openapi.json#/components/schemas/UserPrincipal",
  "required": [
    "userPrincipalName"
  ],
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "expirationDateTime": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "givenName": {
      "type": [
        "string",
        "null"
      ]
    },
    "isEnabled": {
      "type": "boolean"
    },
    "isPasswordChangeRequired": {
      "type": "boolean"
    },
    "surname": {
      "type": [
        "string",
        "null"
      ]
    },
    "userPrincipalName": {
      "type": "string"
    }
  }
}