Skip to content

HubSpot: Event definitions schemas (part 2)

11 HubSpot schemas with complete fields and constraints.

← Event definitions operations · All schemas

Update event definition — response body — comboEventRules / composingRules / item / propertyFilters / item / operation / propertyType: multistring pruning Refine By range Type: BETWEEN, NOT BETWEEN, type: Absolute Ranged Timestamp Refine By

FieldTypePresenceDescription and constraints
$objectRoot
lowerTimestampJSONRequired within parent
lowerTimestamp (anyOf 1)integerAlternativeAn integer representing the lower bound of the timestamp range, in milliseconds since the Unix epoch.
Format: int64
lowerTimestamp (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
rangeTypestringRequired within parentA string that indicates the type of range comparison. Valid values are 'BETWEEN' and 'NOT_BETWEEN'.
Known values: BETWEEN, NOT_BETWEEN
typestringRequired within parentA string that specifies the type of the component, which is 'AbsoluteRangedTimestampRefineBy'.
Known values: AbsoluteRangedTimestampRefineBy
Default: AbsoluteRangedTimestampRefineBy
upperTimestampJSONRequired within parent
upperTimestamp (anyOf 1)integerAlternativeAn integer representing the upper bound of the timestamp range, in milliseconds since the Unix epoch.
Format: int64
upperTimestamp (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Update event definition — response body — comboEventRules / composingRules / item / propertyFilters / item / operation / propertyType: multistring pruning Refine By range Type: BETWEEN, NOT BETWEEN, type: Relative Ranged Timestamp Refine By

FieldTypePresenceDescription and constraints
$objectRoot
lowerBoundOffsetModelRequired within parentExpand Update event definition — response body — comboEventRules / composingRules / item / propertyFilters / item / operation / propertyType: multistring pruning Refine By comparison: AFTER, BEFORE, type: Relative Comparative Timestamp Refine By time Offset
rangeTypestringRequired within parentA string indicating the type of range operation, with valid values 'BETWEEN' and 'NOT_BETWEEN'.
Known values: BETWEEN, NOT_BETWEEN
typestringRequired within parentA string indicating the type of refinement, with a default value of 'RelativeRangedTimestampRefineBy'.
Known values: RelativeRangedTimestampRefineBy
Default: RelativeRangedTimestampRefineBy
upperBoundOffsetModelRequired within parentExpand Update event definition — response body — comboEventRules / composingRules / item / propertyFilters / item / operation / propertyType: multistring pruning Refine By comparison: AFTER, BEFORE, type: Relative Comparative Timestamp Refine By time Offset

Referenced models: Update event definition — response body — comboEventRules / composingRules / item / propertyFilters / item / operation / propertyType: multistring pruning Refine By comparison: AFTER, BEFORE, type: Relative Comparative Timestamp Refine By time Offset

Update event definition — response body — comboEventRules / composingRules / item / propertyFilters / item / operation / propertyType: multistring pruning Refine By type: All History Refine By

FieldTypePresenceDescription and constraints
$objectRoot
typestringRequired within parentA string that specifies the type of refinement. The default value is 'AllHistoryRefineBy', and it is the only valid value for this property.
Known values: AllHistoryRefineBy
Default: AllHistoryRefineBy

Update event definition — response body — comboEventRules / composingRules / item / propertyFilters / item / operation / propertyType: number

FieldTypePresenceDescription and constraints
$objectRoot
defaultValuestringOptionalA string representing the default value for the operation.
includeObjectsWithNoValueSetbooleanRequired within parentA boolean indicating whether objects with no value set should be included in the operation.
operationTypestringRequired within parentA string that specifies the type of operation being performed.
operatorstringRequired within parentA string representing the operation to be performed on the number property. Valid values include 'IS_EQUAL_TO', 'IS_NOT_EQUAL_TO', 'IS_GREATER_THAN', 'IS_GREATER_THAN_OR_EQUAL_TO', 'IS_LESS_THAN', 'IS_LESS_THAN_OR_EQUAL_TO', 'HAS_EVER_BEEN_EQUAL_TO', and 'HAS_NEVER_BEEN_EQUAL_TO'.
Known values: HAS_EVER_BEEN_EQUAL_TO, HAS_NEVER_BEEN_EQUAL_TO, IS_EQUAL_TO, IS_GREATER_THAN, IS_GREATER_THAN_OR_EQUAL_TO, IS_LESS_THAN, IS_LESS_THAN_OR_EQUAL_TO, IS_NOT_EQUAL_TO
operatorNamestringRequired within parentA string representing the name of the operator used in the operation.
propertyAspectModelOptionalExpand Update event definition — response body — comboEventRules / composingRules / item / propertyFilters / item / operation / propertyType: bool property Aspect
propertyTypestringRequired within parentA string that specifies the type of property operation, with a default value of 'number'.
Known values: number
Default: number
renderSpecstringOptionalA string that provides specifications for rendering the operation.
valueJSONRequired within parent
value (anyOf 1)numberAlternativeA number that represents the value to be used in the operation.
value (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: Update event definition — response body — comboEventRules / composingRules / item / propertyFilters / item / operation / propertyType: bool property Aspect

Update event definition — response body — comboEventRules / composingRules / item / propertyFilters / item / operation / propertyType: number-comparative

FieldTypePresenceDescription and constraints
$objectRoot
comparisonPropertyNamestringRequired within parentA string representing the name of the property to compare against.
defaultValuestringOptionalA string representing the default value to use if no comparison value is set.
includeObjectsWithNoValueSetbooleanRequired within parentA boolean indicating whether to include objects that have no value set for the property being compared.
operationTypestringRequired within parentA string representing the type of operation being performed.
operatorstringRequired within parentA string representing the comparison operator. Valid values include 'IS_EQUAL_TO', 'IS_NOT_EQUAL_TO', 'IS_GREATER_THAN', 'IS_GREATER_THAN_OR_EQUAL_TO', 'IS_LESS_THAN', and 'IS_LESS_THAN_OR_EQUAL_TO'.
Known values: IS_EQUAL_TO, IS_GREATER_THAN, IS_GREATER_THAN_OR_EQUAL_TO, IS_LESS_THAN, IS_LESS_THAN_OR_EQUAL_TO, IS_NOT_EQUAL_TO
operatorNamestringRequired within parentA string representing the name of the operator.
propertyAspectModelOptionalExpand Update event definition — response body — comboEventRules / composingRules / item / propertyFilters / item / operation / propertyType: bool property Aspect
propertyTypestringRequired within parentA string indicating the type of property operation. Defaults to 'number-comparative'.
Known values: number-comparative
Default: number-comparative
renderSpecstringOptionalA string that specifies how the operation should be rendered.

Referenced models: Update event definition — response body — comboEventRules / composingRules / item / propertyFilters / item / operation / propertyType: bool property Aspect

Update event definition — response body — comboEventRules / composingRules / item / propertyFilters / item / operation / propertyType: string

FieldTypePresenceDescription and constraints
$objectRoot
defaultValuestringOptionalA string representing the default value to be used if no other value is set.
includeObjectsWithNoValueSetbooleanRequired within parentA boolean indicating whether objects with no value set should be included in the operation.
operationTypestringRequired within parentA string indicating the type of operation being performed.
operatorstringRequired within parentA string representing the operation to be performed, with valid values including 'IS_EQUAL_TO', 'IS_NOT_EQUAL_TO', 'CONTAINS', 'DOES_NOT_CONTAIN', 'STARTS_WITH', 'ENDS_WITH', 'HAS_EVER_BEEN_EQUAL_TO', 'HAS_NEVER_BEEN_EQUAL_TO', 'HAS_EVER_CONTAINED', and 'HAS_NEVER_CONTAINED'.
Known values: CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH, HAS_EVER_BEEN_EQUAL_TO, HAS_EVER_CONTAINED, HAS_NEVER_BEEN_EQUAL_TO, HAS_NEVER_CONTAINED, IS_EQUAL_TO, IS_NOT_EQUAL_TO, STARTS_WITH
operatorNamestringRequired within parentA string representing the name of the operator.
propertyAspectModelOptionalExpand Update event definition — response body — comboEventRules / composingRules / item / propertyFilters / item / operation / propertyType: bool property Aspect
propertyTypestringRequired within parentA string indicating the type of property, defaulting to 'string'.
Known values: string
Default: string
renderSpecstringOptionalA string that provides specifications for rendering the operation.
valuestringRequired within parentA string that specifies the value to be used in the operation.

Referenced models: Update event definition — response body — comboEventRules / composingRules / item / propertyFilters / item / operation / propertyType: bool property Aspect

Update event definition — response body — comboEventRules / composingRules / item / propertyFilters / item / operation / propertyType: string-comparative

FieldTypePresenceDescription and constraints
$objectRoot
comparisonPropertyNamestringRequired within parentThe name of the property to compare against, represented as a string.
defaultValuestringOptionalA string representing the default value to use in the operation if no value is set.
includeObjectsWithNoValueSetbooleanRequired within parentA boolean indicating whether to include objects that do not have a value set for the property.
operationTypestringRequired within parentA string representing the type of operation being performed.
operatorstringRequired within parentA string representing the comparison operation to perform. Valid values include 'IS_EQUAL_TO', 'IS_NOT_EQUAL_TO', 'CONTAINS', 'DOES_NOT_CONTAIN', 'STARTS_WITH', and 'ENDS_WITH'.
Known values: CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH, IS_EQUAL_TO, IS_NOT_EQUAL_TO, STARTS_WITH
operatorNamestringRequired within parentA string representing the name of the operator used in the operation.
propertyAspectModelOptionalExpand Update event definition — response body — comboEventRules / composingRules / item / propertyFilters / item / operation / propertyType: bool property Aspect
propertyTypestringRequired within parentA string indicating the type of property operation, defaulting to 'string-comparative'.
Known values: string-comparative
Default: string-comparative
renderSpecstringOptionalA string specifying how the operation should be rendered.

Referenced models: Update event definition — response body — comboEventRules / composingRules / item / propertyFilters / item / operation / propertyType: bool property Aspect

Update event definition — response body — custom Matching Id

FieldTypePresenceDescription and constraints
$objectRoot
primaryObjectRuleModelRequired within parentExpand Update event definition — response body — custom Matching Id primary Object Rule

Referenced models: Update event definition — response body — custom Matching Id primary Object Rule

Update event definition — response body — custom Matching Id primary Object Rule

FieldTypePresenceDescription and constraints
$objectRoot
eventPropertyNamestringRequired within parentThe name of the property on the event that is used for resolution. It is a string.
targetObjectPropertyNamestringRequired within parentThe name of the property on the target object that is used for resolution. It is a string.

Update event definition — response body — labels

FieldTypePresenceDescription and constraints
$objectRoot
pluralstringOptionalThe plural form of the label for the event type. This is a string.
singularstringRequired within parentThe singular form of the label for the event type. This is a string and is required.

Update property — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
descriptionstringOptionalA description of the property that will be shown as help text in HubSpot.
displayOrderintegerOptionalFor not hidden properties, indicates the order to display the property on the record's activity timeline (ex: displayOrder: 0 is at the top).
Format: int32
hiddenbooleanOptionalControls whether or not this property is displayed on the record's activity timeline.
labelstringOptionalHuman readable label for the property. Used in HubSpot UI.
optionsarrayOptionalA list of available options for the property if it is an enumeration. NOTE: This field is only applicable for enumerated properties.
options[]ModelEach itemExpand Create Property — request body — body options item

Referenced models: Create Property — request body — body options item

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.