{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eloqua/json-schema/eloqua-query-result-custom-object-data-rest10-schema.json",
  "title": "QueryResultCustomObjectData",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eloqua-application-1-0-custom-object-data-api-openapi.yml#/components/schemas/QueryResultCustomObjectDataRest10",
  "properties": {
    "type": {
      "type": "string",
      "description": "The asset's type in Eloqua."
    },
    "elements": {
      "type": "array",
      "description": "Array of custom object field elements.",
      "items": {
        "$ref": "#/$defs/CustomObjectDataRest10"
      }
    },
    "total": {
      "type": "integer",
      "description": "The total amount of results."
    },
    "pageSize": {
      "type": "integer",
      "description": "The page size."
    },
    "page": {
      "type": "integer",
      "description": "The specified page."
    }
  },
  "$defs": {
    "CustomObjectDataRest10": {
      "title": "CustomObjectData",
      "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 custom object. This is a read-only property."
        },
        "currentStatus": {
          "type": "string",
          "description": "The custom object's current status. This is a read-only property."
        },
        "contactId": {
          "type": "string",
          "description": "Id of the contact. This is a read-only property."
        },
        "fieldValues": {
          "type": "array",
          "description": "Array containing <code>type</code> and <code>id</code> values for all of the fields associated with a given custom object data asset. Custom object date field values must be in Unix time format.",
          "items": {
            "$ref": "#/$defs/FieldValueRest10"
          }
        }
      }
    },
    "FieldValueRest10": {
      "title": "FieldValue",
      "properties": {
        "type": {
          "type": "string",
          "description": "The asset's type in Eloqua. This is a read-only property."
        },
        "value": {
          "type": "string",
          "description": "The value to set the corresponding field id to. Date values must be submitted as a unix timestamp."
        },
        "id": {
          "type": "string",
          "readOnly": true,
          "description": "The id of the field to be set to the corresponding value."
        }
      }
    }
  }
}