{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eloqua/json-schema/eloqua-query-result-event-registration-data-rest20-schema.json",
  "title": "QueryResultEventRegistrationData",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eloqua-application-2-0-event-registrants-api-openapi.yml#/components/schemas/QueryResultEventRegistrationDataRest20",
  "properties": {
    "type": {
      "type": "string",
      "description": "The asset's type in Eloqua. "
    },
    "elements": {
      "type": "array",
      "description": "Array of event field elements.",
      "items": {
        "$ref": "#/$defs/EventRegistrationDataRest20"
      }
    },
    "total": {
      "type": "integer",
      "description": "The total amount of results."
    },
    "pageSize": {
      "type": "integer",
      "description": "The page size."
    },
    "page": {
      "type": "integer",
      "description": "The specified page."
    }
  },
  "$defs": {
    "EventRegistrationDataRest20": {
      "title": "EventRegistrationData",
      "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 event registrant. This is a read-only property."
        },
        "currentStatus": {
          "type": "string",
          "description": "This property is not used for event registrants."
        },
        "name": {
          "type": "string",
          "description": "The name of the event registrant. This is a read-only property."
        },
        "description": {
          "type": "string",
          "description": "This property is not used for event registrants."
        },
        "permissions": {
          "type": "array",
          "description": "This property is not used for event registrants.",
          "items": {
            "type": "string"
          }
        },
        "folderId": {
          "type": "string",
          "readOnly": true,
          "description": "This property is not used for event registrants."
        },
        "sourceTemplateId": {
          "type": "string",
          "description": "This property is not used for event registrants."
        },
        "createdBy": {
          "type": "string",
          "readOnly": true,
          "description": "This property is not used for event registrants."
        },
        "createdByName": {
          "type": "string",
          "description": "This property is not used for event registrants."
        },
        "createdAt": {
          "type": "string",
          "readOnly": true,
          "description": "The date and time the event registrant was created, expressed in Unix time. This is a read-only property."
        },
        "updatedBy": {
          "type": "string",
          "readOnly": true,
          "description": "This property is not used for event registrants."
        },
        "updatedByName": {
          "type": "string",
          "description": "This property is not used for event registrants."
        },
        "updatedAt": {
          "type": "string",
          "readOnly": true,
          "description": "Unix timestamp for the date and time the event registrant was last updated. This is a read-only property."
        },
        "scheduledFor": {
          "type": "string",
          "readOnly": true,
          "description": "This property is not used for event registrants."
        },
        "depth": {
          "type": "string",
          "readOnly": true,
          "description": "This property is not used for event registrants."
        },
        "contactId": {
          "type": "string",
          "description": "The contact record Id associated to this event registrant. Use the desired contact's id as the value for this parameter."
        },
        "accountId": {
          "type": "string",
          "description": "The account record Id associated to this event registrant. This is a read-only property."
        },
        "uniqueCode": {
          "type": "string",
          "description": "The unique value associated to the event registrant. This is a read-only property."
        },
        "customObjectRecordStatus": {
          "type": "string",
          "description": "The status of the event registrant. Only returned when creating or updating an event registrant. This is a read-only property."
        },
        "fieldValues": {
          "type": "array",
          "description": "Array containing <code>type</code>, <code>id</code>, and <code>value</code> for all of the fields associated with a given event registrant.",
          "items": {
            "$ref": "#/$defs/FieldValueRest20"
          }
        },
        "isMapped": {
          "type": "string",
          "description": "Whether or not the event registrant is mapped to a contact or account. This is a read-only property."
        }
      }
    },
    "FieldValueRest20": {
      "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."
        },
        "name": {
          "type": "string",
          "description": "Name of the field value."
        }
      }
    }
  }
}