{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eloqua/json-schema/eloqua-custom-object-schema.json",
  "title": "CustomObject",
  "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/CustomObject",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the custom object",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "description": "Custom object name"
    },
    "description": {
      "type": "string",
      "description": "Custom object description"
    },
    "displayNameFieldId": {
      "type": "string",
      "description": "Field used as the display name"
    },
    "uniqueCodeFieldId": {
      "type": "string",
      "description": "Field used as the unique code"
    },
    "fields": {
      "type": "array",
      "description": "Custom object field definitions",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "dataType": {
            "type": "string"
          },
          "displayType": {
            "type": "string"
          },
          "defaultValue": {
            "type": "string"
          }
        }
      }
    },
    "createdAt": {
      "type": "string",
      "description": "Creation timestamp (Unix time)",
      "readOnly": true
    },
    "updatedAt": {
      "type": "string",
      "description": "Last update timestamp (Unix time)",
      "readOnly": true
    },
    "depth": {
      "type": "string",
      "description": "Level of detail returned",
      "readOnly": true
    },
    "type": {
      "type": "string",
      "description": "Asset type in Eloqua",
      "readOnly": true
    }
  }
}