{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ovh/json-schema/ovh-dedicated-cloud-user-schema.json",
  "title": "dedicatedCloud.User",
  "description": "User",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ovh-v1-dedicatedCloud-openapi.yml#/components/schemas/dedicatedCloud.User",
  "type": "object",
  "properties": {
    "activationState": {
      "allOf": [
        {
          "$ref": "#/$defs/dedicatedCloud.user.ActivationStateEnum"
        }
      ],
      "description": "Activation state of the user account",
      "nullable": true,
      "readOnly": true
    },
    "activeDirectoryId": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Deprecated - Linked Federation Active Directory (if any)",
      "readOnly": true
    },
    "activeDirectoryType": {
      "allOf": [
        {
          "$ref": "#/$defs/dedicatedCloud.user.TypeEnum"
        }
      ],
      "description": "Deprecated - Federation Active Directory User type (if any)",
      "nullable": true,
      "readOnly": true
    },
    "canManageIpFailOvers": {
      "type": "boolean",
      "description": "Defines if the user can manage ip failovers",
      "readOnly": true
    },
    "canManageNetwork": {
      "type": "boolean",
      "description": "Defines if the user can manage the network",
      "readOnly": true
    },
    "canManageRights": {
      "type": "boolean",
      "description": "Defines if the user can manage users rights",
      "readOnly": true
    },
    "email": {
      "type": [
        "string",
        "null"
      ],
      "description": "Email address of the user",
      "readOnly": true
    },
    "encryptionRight": {
      "type": "boolean",
      "description": "Defines if the user can manage encryption / KMS configuration",
      "readOnly": true
    },
    "firstName": {
      "type": [
        "string",
        "null"
      ],
      "description": "First name of the user",
      "readOnly": true
    },
    "fullAdminRo": {
      "type": "boolean",
      "description": "Defines if the user is a full admin in readonly",
      "readOnly": true
    },
    "identityProviderId": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Linked Identity Provider (if any), can be Federation Active Directory or IAM",
      "readOnly": true
    },
    "identityProviderType": {
      "allOf": [
        {
          "$ref": "#/$defs/dedicatedCloud.user.IdentityProviderTypeEnum"
        }
      ],
      "description": "Linked Identity Provider type (if any), can be Federation Active Directory or IAM",
      "nullable": true,
      "readOnly": true
    },
    "isEnableManageable": {
      "type": "boolean",
      "description": "Check if the given VMware on OVHcloud user can be enabled or disabled ?",
      "readOnly": true
    },
    "isTokenValidator": {
      "type": "boolean",
      "description": "Defines if the user can confirm security tokens (if a compatible option is enabled)",
      "readOnly": true
    },
    "lastName": {
      "type": [
        "string",
        "null"
      ],
      "description": "Last name of the user",
      "readOnly": true
    },
    "login": {
      "type": "string",
      "description": "Login of the user",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "description": "Name of the user",
      "readOnly": true
    },
    "nsxRight": {
      "type": "boolean",
      "description": "Is this User able to access nsx interface (requires NSX option)",
      "readOnly": true
    },
    "phoneNumber": {
      "type": [
        "string",
        "null"
      ],
      "description": "Mobile phone number of the user",
      "readOnly": true
    },
    "receiveAlerts": {
      "type": "boolean",
      "description": "Defines if the user receives technical alerts",
      "readOnly": true
    },
    "state": {
      "allOf": [
        {
          "$ref": "#/$defs/dedicatedCloud.user.StateEnum"
        }
      ],
      "description": "State of the user account",
      "readOnly": true
    },
    "type": {
      "allOf": [
        {
          "$ref": "#/$defs/dedicatedCloud.user.TypeEnum"
        }
      ],
      "description": "User type (if any)",
      "nullable": true,
      "readOnly": true
    },
    "userId": {
      "type": "integer",
      "readOnly": true
    }
  },
  "$defs": {
    "dedicatedCloud.user.ActivationStateEnum": {
      "type": "string",
      "description": "All activation states a Dedicated Cloud User can have",
      "enum": [
        "disabled",
        "disabling",
        "enabled",
        "enabling",
        "toDisable",
        "toEnable"
      ]
    },
    "dedicatedCloud.user.IdentityProviderTypeEnum": {
      "type": "string",
      "description": "The type of the identity provider",
      "enum": [
        "federation",
        "iam"
      ]
    },
    "dedicatedCloud.user.StateEnum": {
      "type": "string",
      "description": "All states a Dedicated Cloud User can be in",
      "enum": [
        "creating",
        "deleting",
        "delivered",
        "error"
      ]
    },
    "dedicatedCloud.user.TypeEnum": {
      "type": "string",
      "description": "The type of the user",
      "enum": [
        "group",
        "user"
      ]
    }
  }
}