{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eloqua/json-schema/eloqua-user-rest20-schema.json",
  "title": "User",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eloqua-application-2-0-users-api-openapi.yml#/components/schemas/UserRest20",
  "properties": {
    "type": {
      "type": "string",
      "description": "The asset's type in Eloqua. This is a read-only property. "
    },
    "id": {
      "type": "string",
      "readOnly": true,
      "description": "Id of the user. This is a read-only property."
    },
    "currentStatus": {
      "type": "string",
      "description": "This property is not used."
    },
    "name": {
      "type": "string",
      "description": "The name of the user. This is a read-only property."
    },
    "description": {
      "type": "string",
      "description": "The description of the user."
    },
    "permissions": {
      "type": "array",
      "description": "The permissions for the user granted to your current instance. This is a read-only property.",
      "items": {
        "type": "string"
      }
    },
    "folderId": {
      "type": "string",
      "readOnly": true,
      "description": "The folder id of the folder which contains the user. This is a read-only property."
    },
    "sourceTemplateId": {
      "type": "string",
      "description": "Id of template used to create the user."
    },
    "createdBy": {
      "type": "string",
      "readOnly": true,
      "description": "The login id of the user who created the user. This is a read-only property."
    },
    "createdByName": {
      "type": "string",
      "description": "The name of the user who created the user."
    },
    "createdAt": {
      "type": "string",
      "readOnly": true,
      "description": "The date and time the user was created, expressed in Unix time. This is a read-only property."
    },
    "updatedBy": {
      "type": "string",
      "readOnly": true,
      "description": "The login id of the user that last updated the user. This is a read-only property."
    },
    "updatedByName": {
      "type": "string",
      "description": "The name of the user who last updated the user."
    },
    "updatedAt": {
      "type": "string",
      "readOnly": true,
      "description": "Unix timestamp for the date and time the user was last updated. This is a read-only property."
    },
    "scheduledFor": {
      "type": "string",
      "readOnly": true,
      "description": "This parameter is not used."
    },
    "depth": {
      "type": "string",
      "readOnly": true,
      "description": "Level of detail returned by the request. Eloqua APIs can retrieve entities at three different levels of depth: <code>minimal</code>, <code>partial</code>, and <code>complete</code>. Any other values passed are reset to <code>complete</code> by default. For more information, see <a href='https://docs.oracle.com/cloud/latest/marketingcs_gs/OMCAB/index.html#CSHID=RequestDepth'>Request depth</a>. This is a read-only property."
    },
    "loginName": {
      "type": "string",
      "description": "The user's name used to login. This is a read-only property."
    },
    "emailAddress": {
      "type": "string",
      "description": "The user's email address."
    },
    "federationId": {
      "type": "string",
      "description": "The user's Federation Id."
    },
    "firstName": {
      "type": "string",
      "description": "The first name of the user."
    },
    "lastName": {
      "type": "string",
      "description": "The last name of the user."
    },
    "preferences": {
      "$ref": "#/$defs/UserPreferencesRest20",
      "description": "A list of user preferences."
    },
    "typePermissions": {
      "type": "array",
      "description": "A list of the user's type permissions.",
      "items": {
        "$ref": "#/$defs/TypePermissionRest20"
      }
    },
    "capabilities": {
      "type": "array",
      "description": "A list of strings: the user's capabilities.",
      "items": {
        "type": "string"
      }
    },
    "betaAccess": {
      "type": "array",
      "description": "A list of strings: beta programs the user can access.",
      "items": {
        "type": "string"
      }
    },
    "defaultContactViewId": {
      "type": "string",
      "description": "The user's default contact view identifier. This property is only included in a response if the user being retrieved is the same user submitting the request."
    },
    "defaultAccountViewId": {
      "type": "string",
      "description": "The user's default account view identifier. This property is only included in a response if the user being retrieved is the same user submitting the request."
    },
    "securityGroups": {
      "type": "array",
      "description": "The user's security groups.",
      "items": {
        "$ref": "#/$defs/SecurityGroupRest20"
      }
    },
    "interfacePermissions": {
      "type": "array",
      "description": "A list of the user's interface permissions.",
      "items": {
        "$ref": "#/$defs/InterfacePermissionRest20"
      }
    },
    "productPermissions": {
      "type": "array",
      "description": "A list of the user's product permissions.",
      "items": {
        "$ref": "#/$defs/ProductPermissionRest20"
      }
    },
    "isUsingBrightenTemplate": {
      "type": "string",
      "description": "This parameter is not used."
    },
    "shortcuts": {
      "type": "array",
      "description": "This parameter is not used.",
      "items": {
        "type": "string"
      }
    },
    "isDeleted": {
      "type": "string",
      "description": "Indicates if the user is deleted."
    },
    "isDisabled": {
      "type": "string",
      "readOnly": true,
      "description": "Indicates if the user is disabled."
    },
    "jobTitle": {
      "type": "string",
      "description": "Job title of the user."
    },
    "companyDisplayName": {
      "type": "string",
      "description": "Name of the user's company to be displayed."
    },
    "companyUrl": {
      "type": "string",
      "description": "URL of the user's company."
    },
    "phone": {
      "type": "string",
      "description": "Phone number of the user."
    },
    "crmUsername": {
      "type": "string",
      "description": "User's identifier in default CRM."
    },
    "crmUserNames": {
      "$ref": "#/$defs/crmUserNamesRest20",
      "description": "List of <code>CrmUsernames</code> records. User's identifiers in internally supported CRMs."
    },
    "passwordExpires": {
      "type": "string",
      "description": "Indicates if user's password can expire."
    },
    "sendWelcomeEmail": {
      "type": "string",
      "description": "Indicates if \"User Welcome\" email would be sent to user upon user creation."
    },
    "cellPhone": {
      "type": "string",
      "description": "Mobile phone number of the user."
    },
    "address1": {
      "type": "string",
      "description": "User's address line 1."
    },
    "address2": {
      "type": "string",
      "description": "User's address line 2."
    },
    "replyToAddress": {
      "type": "string",
      "description": "User's email address used as \"reply to\" address."
    },
    "department": {
      "type": "string",
      "description": "Name of the user's department."
    },
    "fax": {
      "type": "string",
      "description": "Fax number of the user."
    },
    "personalUrl": {
      "type": "string",
      "description": "User's personal URL."
    },
    "personalMessage": {
      "type": "string",
      "description": "User's personal message."
    },
    "ssoOnly": {
      "type": "string",
      "description": "Indicates if the user can only login using Single Sign On."
    },
    "digitalSignatureId": {
      "type": "string",
      "description": "Internal id of user's digital signature."
    },
    "personalPhotoId": {
      "type": "string",
      "description": "Internal id of user's personal photo."
    },
    "city": {
      "type": "string",
      "description": "The name of the user's city."
    },
    "state": {
      "type": "string",
      "description": "The name of the user's state or province."
    },
    "country": {
      "type": "string",
      "description": "The name of the user's country."
    },
    "zipCode": {
      "type": "string",
      "description": "User's ZIP or postal code."
    },
    "senderEmailAddress": {
      "type": "string",
      "description": "User's \"Sender Email Address\""
    },
    "senderDisplayName": {
      "type": "string",
      "description": "User's \"Sender Display Name\""
    },
    "isAssetManager": {
      "type": "string",
      "description": "User_Field_IsAssetManager_Description"
    }
  },
  "$defs": {
    "InterfacePermissionRest20": {
      "title": "InterfacePermission",
      "properties": {
        "type": {
          "type": "string",
          "description": "The asset's type in Eloqua. This is a read-only property."
        },
        "interfaceCode": {
          "type": "string",
          "description": ""
        },
        "nestedInterfacePermissions": {
          "type": "array",
          "description": "",
          "items": {
            "$ref": "#/$defs/InterfacePermissionRest20"
          }
        },
        "name": {
          "type": "string",
          "description": ""
        }
      }
    },
    "ProductPermissionRest20": {
      "title": "ProductPermission",
      "properties": {
        "type": {
          "type": "string",
          "description": "The asset's type in Eloqua. This is a read-only property."
        },
        "productCode": {
          "type": "string",
          "description": ""
        }
      }
    },
    "SecurityGroupRest20": {
      "title": "SecurityGroup",
      "properties": {
        "type": {
          "type": "string",
          "description": "The asset's type in Eloqua. This is a read-only property."
        },
        "id": {
          "type": "string",
          "readOnly": true,
          "description": "Id of the security group."
        },
        "description": {
          "type": "string",
          "description": "The description of the security group."
        },
        "createdBy": {
          "type": "string",
          "readOnly": true,
          "description": "The login id of the user who created the security group."
        },
        "createdByName": {
          "type": "string",
          "description": "The name of the user who created the security group."
        },
        "createdAt": {
          "type": "string",
          "readOnly": true,
          "description": "The date and time the security group was created, expressed in Unix time."
        },
        "updatedBy": {
          "type": "string",
          "readOnly": true,
          "description": "The login id of the user that last updated the security group. This is a read-only property."
        },
        "updatedByName": {
          "type": "string",
          "description": "The name of the user who last updated the security group."
        },
        "updatedAt": {
          "type": "string",
          "readOnly": true,
          "description": "Unix timestamp for the date and time the security group was last updated. This is a read-only property."
        },
        "depth": {
          "type": "string",
          "readOnly": true,
          "description": "Level of detail returned by the request. Eloqua APIs can retrieve entities at three different levels of depth: <code>minimal</code>, <code>partial</code>, and <code>complete</code>. Any other values passed are reset to <code>complete</code> by default. For more information, see <a href='https://docs.oracle.com/cloud/latest/marketingcs_gs/OMCAB/index.html#CSHID=RequestDepth'>Request depth</a>."
        },
        "name": {
          "type": "string",
          "description": "The name of the security group."
        },
        "acronym": {
          "type": "string",
          "description": "Acronym for the security group"
        },
        "isReadOnly": {
          "type": "string",
          "readOnly": true,
          "description": "Indicates if the security group is read only."
        },
        "isEffective": {
          "type": "string",
          "readOnly": true,
          "description": "Indicates if the security group is effective."
        }
      }
    },
    "TypePermissionRest20": {
      "title": "TypePermission",
      "properties": {
        "type": {
          "type": "string",
          "description": "The asset's type in Eloqua. This is a read-only property."
        },
        "objectType": {
          "type": "string",
          "description": ""
        },
        "permissions": {
          "$ref": "#/$defs/TypePermissionsRest20",
          "description": ""
        }
      }
    },
    "TypePermissionsRest20": {
      "title": "TypePermissions",
      "properties": {
        "type": {
          "type": "string",
          "description": "The asset's type in Eloqua. This is a read-only property."
        }
      }
    },
    "UserPreferencesRest20": {
      "title": "UserPreferences",
      "properties": {
        "type": {
          "type": "string",
          "description": "The asset's type in Eloqua. This is a read-only property."
        },
        "timezoneId": {
          "type": "string",
          "description": "The ID of the user's timezone in Eloqua."
        }
      }
    },
    "crmUserNamesRest20": {
      "title": "crmUserNames",
      "properties": {
        "type": {
          "type": "string",
          "description": "The asset's type in Eloqua. This is a read-only property."
        },
        "SFDCUserName": {
          "type": "string",
          "description": ""
        },
        "MSDUserName": {
          "type": "string",
          "description": ""
        },
        "SODUserName": {
          "type": "string",
          "description": ""
        }
      }
    }
  }
}