{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eloqua/json-schema/eloqua-custom-object-data-rest10-schema.json",
  "title": "CustomObjectData",
  "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/CustomObjectDataRest10",
  "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"
      }
    }
  },
  "$defs": {
    "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."
        }
      }
    }
  }
}