{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eloqua/json-schema/eloqua-query-result-contact-rest10-schema.json",
  "title": "QueryResultContact",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eloqua-application-1-0-contacts-api-openapi.yml#/components/schemas/QueryResultContactRest10",
  "properties": {
    "type": {
      "type": "string",
      "description": "The asset's type in Eloqua."
    },
    "elements": {
      "type": "array",
      "description": "Array of contact fields.",
      "items": {
        "$ref": "#/$defs/ContactRest10"
      }
    },
    "total": {
      "type": "integer",
      "description": "The total amount of results."
    },
    "pageSize": {
      "type": "integer",
      "description": "The page size."
    },
    "page": {
      "type": "integer",
      "description": "The specified page."
    }
  },
  "$defs": {
    "ContactRest10": {
      "title": "Contact",
      "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 contact. This is a read-only property."
        },
        "currentStatus": {
          "type": "string",
          "description": "The contact's current status."
        },
        "name": {
          "type": "string",
          "description": "The name of the contact."
        },
        "description": {
          "type": "string",
          "description": "The description of the contact."
        },
        "permissions": {
          "type": "string",
          "description": "The permissions for the contact granted to your current instance. This is a read-only property."
        },
        "createdBy": {
          "type": "string",
          "readOnly": true,
          "description": "The login id of the user who created the contact."
        },
        "createdAt": {
          "type": "string",
          "readOnly": true,
          "description": "The date and time the contact was created, expressed in Unix time."
        },
        "updatedBy": {
          "type": "string",
          "readOnly": true,
          "description": "The login id of the user that last updated the contact."
        },
        "updatedAt": {
          "type": "string",
          "readOnly": true,
          "description": "Unix timestamp for the date and time the contact was last updated."
        },
        "depth": {
          "type": "string",
          "readOnly": true,
          "description": "Level of detail returned by the request. Eloqua APIs can retrieve entities at three different levels of depth: <code>minimal</code>, <code>partial</code>, and <code>complete</code>. Any other values passed are reset to <code>complete</code> by default. For more information, see <a href='https://docs.oracle.com/cloud/latest/marketingcs_gs/OMCAB/index.html#CSHID=RequestDepth'>Request depth</a>."
        },
        "firstName": {
          "type": "string",
          "description": "The contact's first name."
        },
        "lastName": {
          "type": "string",
          "description": "The contact's last name."
        },
        "emailAddress": {
          "type": "string",
          "description": "The contact's email address."
        },
        "emailFormatPreference": {
          "type": "string",
          "description": "The contact's email format preference."
        },
        "isSubscribed": {
          "type": "string",
          "description": "Whether or not the contact is subscribed."
        },
        "isBounceback": {
          "type": "string",
          "description": "Whether or not the contact has any associated bouncebacks."
        },
        "accountName": {
          "type": "string",
          "description": "The account name in which the contact belongs."
        },
        "accountId": {
          "type": "string",
          "description": "The account id in which the contact belongs. This is a read-only property."
        },
        "title": {
          "type": "string",
          "description": "The contact's title."
        },
        "subscriptionDate": {
          "type": "string",
          "description": "The contact's subscription date."
        },
        "unsubscriptionDate": {
          "type": "string",
          "description": "The contact's unsubscription date."
        },
        "bouncebackDate": {
          "type": "string",
          "description": "The contact's bounceback date."
        },
        "fieldValues": {
          "type": "array",
          "description": "Array containing <code>type</code> and <code>id</code> values for all of the contactFields associated with a given contact.",
          "items": {
            "$ref": "#/$defs/FieldValueRest10"
          }
        },
        "address1": {
          "type": "string",
          "description": "The contact's first address."
        },
        "address2": {
          "type": "string",
          "description": "The contact's second address."
        },
        "address3": {
          "type": "string",
          "description": "The contact's third address."
        },
        "city": {
          "type": "string",
          "description": "The contact's city."
        },
        "province": {
          "type": "string",
          "description": "The contact's province."
        },
        "postalCode": {
          "type": "string",
          "description": "The contact's postal code."
        },
        "country": {
          "type": "string",
          "description": "The contact's country."
        },
        "businessPhone": {
          "type": "string",
          "description": "The contact's business phone number."
        },
        "mobilePhone": {
          "type": "string",
          "description": "The contact's mobile phone number."
        },
        "fax": {
          "type": "string",
          "description": "The contact's fax number."
        },
        "salesPerson": {
          "type": "string",
          "description": "The contact's account representative."
        }
      }
    },
    "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."
        }
      }
    }
  }
}