{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eloqua/json-schema/eloqua-custom-object-data-schema.json",
  "title": "CustomObjectData",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eloqua-custom-objects-api-openapi.yml#/components/schemas/CustomObjectData",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Data instance identifier",
      "readOnly": true
    },
    "type": {
      "type": "string",
      "description": "Data type"
    },
    "uniqueCode": {
      "type": "string",
      "description": "Unique code for the data instance"
    },
    "contactId": {
      "type": "string",
      "description": "Associated contact identifier"
    },
    "accountId": {
      "type": "string",
      "description": "Associated account identifier"
    },
    "fieldValues": {
      "type": "array",
      "description": "Field values for the data instance",
      "items": {
        "$ref": "#/$defs/FieldValue"
      }
    },
    "createdAt": {
      "type": "string",
      "description": "Creation timestamp (Unix time)",
      "readOnly": true
    },
    "updatedAt": {
      "type": "string",
      "description": "Last update timestamp (Unix time)",
      "readOnly": true
    }
  },
  "$defs": {
    "FieldValue": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Field identifier",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "description": "Field type",
          "readOnly": true
        },
        "value": {
          "type": "string",
          "description": "Field value (dates are returned as Unix timestamps)"
        }
      }
    }
  }
}