{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eloqua/json-schema/eloqua-query-result-user-rest10-schema.json",
  "title": "QueryResultUser",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eloqua-application-1-0-users-api-openapi.yml#/components/schemas/QueryResultUserRest10",
  "properties": {
    "type": {
      "type": "string",
      "description": "The asset's type in Eloqua."
    },
    "elements": {
      "type": "array",
      "description": "Array of user fields.",
      "items": {
        "$ref": "#/$defs/UserRest10"
      }
    },
    "total": {
      "type": "integer",
      "description": "The total amount of results."
    },
    "pageSize": {
      "type": "integer",
      "description": "The page size."
    },
    "page": {
      "type": "integer",
      "description": "The specified page."
    }
  },
  "$defs": {
    "UserPreferencesRest10": {
      "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. This is a read-only property."
        }
      }
    },
    "UserRest10": {
      "title": "User",
      "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. This is a read-only property."
        },
        "permissions": {
          "type": "string",
          "description": "The permissions for the user granted to your current instance. This is a read-only property."
        },
        "createdBy": {
          "type": "string",
          "readOnly": true,
          "description": "The login id of the user who created the user. This is a read-only property."
        },
        "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."
        },
        "updatedAt": {
          "type": "string",
          "readOnly": true,
          "description": "Unix timestamp for the date and time the user 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>."
        },
        "loginName": {
          "type": "string",
          "description": "The user's name used to login. This is a read-only property."
        },
        "company": {
          "type": "string",
          "description": "The name of the user's company/instance. This is a read-only property."
        },
        "emailAddress": {
          "type": "string",
          "description": "The user's email address. This is a read-only property."
        },
        "preferences": {
          "$ref": "#/$defs/UserPreferencesRest10",
          "description": "A list of user preferences. \"timezoneID\" is identifies the user's timezone preference."
        },
        "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."
        }
      }
    }
  }
}