PropertyDefinition interface
Property definition.
Properties
array |
Array value separator for properties with isArray set. |
data |
This is specific to interactions modeled as activities. Data sources are used to determine where data is stored and also in precedence rules. NOTE: This property will not be serialized. It can only be populated by the server. |
enum |
Describes valid values for an enum property. |
field |
Name of the property. |
field |
Type of the property. |
is |
Indicates if the property is actually an array of the fieldType above on the data api. |
is |
Whether property is available in graph or not. |
is |
Indicates if the property is an enum. |
is |
Indicates if the property is an flag enum. |
is |
Whether the property is an Image. |
is |
Whether the property is a localized string. |
is |
Whether the property is a name or a part of name. |
is |
Whether property value is required on instances, IsRequired field only for Interaction. Profile Instance will not check for required field. |
max |
Max length of string. Used only if type is string. |
property |
The ID associated with the property. |
schema |
URL encoded schema.org item prop link for the property. |
Property Details
arrayValueSeparator
Array value separator for properties with isArray set.
arrayValueSeparator?: string
Property Value
string
dataSourcePrecedenceRules
This is specific to interactions modeled as activities. Data sources are used to determine where data is stored and also in precedence rules. NOTE: This property will not be serialized. It can only be populated by the server.
dataSourcePrecedenceRules?: DataSourcePrecedence[]
Property Value
enumValidValues
Describes valid values for an enum property.
enumValidValues?: ProfileEnumValidValuesFormat[]
Property Value
fieldName
Name of the property.
fieldName: string
Property Value
string
fieldType
Type of the property.
fieldType: string
Property Value
string
isArray
Indicates if the property is actually an array of the fieldType above on the data api.
isArray?: boolean
Property Value
boolean
isAvailableInGraph
Whether property is available in graph or not.
isAvailableInGraph?: boolean
Property Value
boolean
isEnum
Indicates if the property is an enum.
isEnum?: boolean
Property Value
boolean
isFlagEnum
Indicates if the property is an flag enum.
isFlagEnum?: boolean
Property Value
boolean
isImage
Whether the property is an Image.
isImage?: boolean
Property Value
boolean
isLocalizedString
Whether the property is a localized string.
isLocalizedString?: boolean
Property Value
boolean
isName
Whether the property is a name or a part of name.
isName?: boolean
Property Value
boolean
isRequired
Whether property value is required on instances, IsRequired field only for Interaction. Profile Instance will not check for required field.
isRequired?: boolean
Property Value
boolean
maxLength
Max length of string. Used only if type is string.
maxLength?: number
Property Value
number
propertyId
The ID associated with the property.
propertyId?: string
Property Value
string
schemaItemPropLink
URL encoded schema.org item prop link for the property.
schemaItemPropLink?: string
Property Value
string