{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/altoviz-com/json-schema/altoviz-com-user-schema.json",
  "title": "User",
  "description": "User",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/altoviz-com-users-api-openapi.yml#/components/schemas/User",
  "type": "object",
  "properties": {
    "displayName": {
      "type": [
        "string",
        "null"
      ],
      "description": "Display name"
    },
    "email": {
      "type": [
        "string",
        "null"
      ],
      "description": "E-mail"
    },
    "firstName": {
      "type": [
        "string",
        "null"
      ],
      "description": "First name"
    },
    "lastName": {
      "type": [
        "string",
        "null"
      ],
      "description": "Last name"
    },
    "phone": {
      "type": [
        "string",
        "null"
      ],
      "description": "Phone"
    },
    "profile": {
      "$ref": "#/$defs/UserProfile"
    },
    "status": {
      "$ref": "#/$defs/UserStatus"
    },
    "userId": {
      "type": [
        "string",
        "null"
      ],
      "description": "User Id"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "UserProfile": {
      "enum": [
        "Admin",
        "Standard",
        "Accountant",
        "Support",
        "Api",
        "Unknown"
      ],
      "type": "string"
    },
    "UserStatus": {
      "enum": [
        "Inactive",
        "InvitationSent",
        "Active",
        "Unknown"
      ],
      "type": "string"
    }
  }
}