{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eloqua/json-schema/eloqua-campaign-field-rest20-schema.json",
  "title": "CampaignField",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eloqua-application-2-0-campaign-fields-api-openapi.yml#/components/schemas/CampaignFieldRest20",
  "properties": {
    "type": {
      "type": "string",
      "description": "CampaignField_Field_Type_Description"
    },
    "id": {
      "type": "string",
      "readOnly": true,
      "description": "CampaignField_Field_InternalId_Description"
    },
    "currentStatus": {
      "type": "string",
      "description": "CampaignField_Field_Status_Description"
    },
    "name": {
      "type": "string",
      "description": "CampaignField_Field_Name_Description"
    },
    "description": {
      "type": "string",
      "description": "CampaignField_Field_Description_Description"
    },
    "permissions": {
      "type": "array",
      "description": "CampaignField_Field_Permissions_Description",
      "items": {
        "type": "string"
      }
    },
    "folderId": {
      "type": "string",
      "readOnly": true,
      "description": "CampaignField_Field_FolderId_Description"
    },
    "sourceTemplateId": {
      "type": "string",
      "description": "CampaignField_Field_SourceTemplateId_Description"
    },
    "createdBy": {
      "type": "string",
      "readOnly": true,
      "description": "CampaignField_Field_CreatedBy_Description"
    },
    "createdByName": {
      "type": "string",
      "description": "CampaignField_Field_CreatedByName_Description"
    },
    "createdAt": {
      "type": "string",
      "readOnly": true,
      "description": "CampaignField_Field_CreatedAt_Description"
    },
    "updatedBy": {
      "type": "string",
      "readOnly": true,
      "description": "CampaignField_Field_UpdatedBy_Description"
    },
    "updatedByName": {
      "type": "string",
      "description": "CampaignField_Field_UpdatedByName_Description"
    },
    "updatedAt": {
      "type": "string",
      "readOnly": true,
      "description": "CampaignField_Field_UpdatedAt_Description"
    },
    "scheduledFor": {
      "type": "string",
      "readOnly": true,
      "description": "CampaignField_Field_ScheduledFor_Description"
    },
    "depth": {
      "type": "string",
      "readOnly": true,
      "description": "CampaignField_Field_InternalDepth_Description"
    },
    "displayType": {
      "type": "string",
      "description": "The campaign field's display type. The options are: multiSelect, singleSelect, and text."
    },
    "dataType": {
      "type": "string",
      "description": "The campaign field's data type. The options are: date, numeric, and text."
    },
    "isRequired": {
      "type": "string",
      "description": "Whether or not the campaign field is required."
    },
    "isReadOnly": {
      "type": "string",
      "description": "Whether or not the campaign field is read only."
    },
    "optionListId": {
      "type": "string",
      "description": "The id of the associated option list."
    },
    "isSystem": {
      "type": "string",
      "description": "Whether or not the campaign field is a system field."
    },
    "displayIndex": {
      "type": "string",
      "description": "The campaign field's display index."
    }
  }
}