{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eloqua/json-schema/eloqua-query-result-profile-field-rest20-schema.json",
  "title": "QueryResultProfileField",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eloqua-application-2-0-visitor-profile-fields-api-openapi.yml#/components/schemas/QueryResultProfileFieldRest20",
  "properties": {
    "type": {
      "type": "string",
      "description": "The asset's type in Eloqua."
    },
    "elements": {
      "type": "array",
      "description": "Array of visitor profile fields.",
      "items": {
        "$ref": "#/$defs/ProfileFieldRest20"
      }
    },
    "total": {
      "type": "integer",
      "description": "The total amount of results."
    },
    "pageSize": {
      "type": "integer",
      "description": "The page size."
    },
    "page": {
      "type": "integer",
      "description": "The specified page."
    }
  },
  "$defs": {
    "ProfileFieldRest20": {
      "title": "ProfileField",
      "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 visitor profile field. This is a read-only property."
        },
        "name": {
          "type": "string",
          "description": "The name of the visitor profile field. "
        },
        "createdByName": {
          "type": "string",
          "description": "ProfileField_Field_CreatedByName_Description"
        },
        "updatedByName": {
          "type": "string",
          "description": "ProfileField_Field_UpdatedByName_Description"
        },
        "internalName": {
          "type": "string",
          "description": "The internal name of the visitor profile field."
        },
        "dataType": {
          "type": "string",
          "description": "The visitor profile field's data type. Possible values are: text, 'text', 'largeText', 'date', or 'number'."
        },
        "length": {
          "type": "string",
          "description": "The value length of the field expressed in bytes."
        }
      }
    }
  }
}