Custom fields data

Fields:

Field NameTypeRequiredDescription
idstring, numberYes Unique identifier of custom field
typestringYes Defines the allowed types of custom field
namestringYes Defines the name of custom field
catalog_fieldsCatalogField[]No Field settings for the 'catalog' custom field type.
dataDataField{}No Contains additional data for the 'vote' and 'collective_vote' fields
optionsOptions[]No Defines the available options for selected or catalog custom field types
score_variantstringNo Specifies the variant of the score.
vote_variantstringNo Specifies the variant of the vote.

Description of fields:

  • id:

    Unique identifier of custom field.

  • type:

    Defines the allowed types of custom field.

  • name:

    Defines the name of custom field, used for display purposes.

  • catalog_fields:

    Defines the settings for fields within the 'catalog' custom field type.

  • data:

    Specifies the additional data for the 'vote' and 'collective_vote' fields.

  • options:

    Defines the available options for selected or catalog custom field types.

  • score_variant:

    Specifies the variant of custom fields with type 'collective_score'.

  • vote_variant:

    Specifies the variant of custom fields with types 'vote' and 'collective_vote'.

CatalogField:

Field NameTypeRequiredDescription
idstring, numberYes Unique identifier of the catalog field.
namestringYes Name of the catalog field.
requiredbooleanNo Indicates whether the catalog field is mandatory.
sort_orderintegerNo Sorting order of the catalog field.

DataField:

Field NameTypeRequiredDescription
countnumberYes The total count of rating option, which is used to show the correct emoji count.
emojistringYes The emoji for rating option, which is used for display purposes.
Field NameTypeRequiredDescription
emojisarrayYes The list of emojis for emoji set option, which is used for display purposes. Accepts only valid emojis, each item is accepting just one emoji.

Options:

Field NameTypeRequiredDescription
idstring, numberYes Unique identifier of custom field option or catalog field ID
valuestring, number | arrayYes Value of custom field option
colorinteger | nullNo Defines the selected color of custom property
namestringNo The name of the catalog option
sort_ordernumber, nullNo The numeric value which defines the sort order

CatalogItem:

Field NameTypeRequiredDescription
catalog_field_idstring, numberYes Unique identifier of the catalog field
itemstringYes Value of catalog field

JSON schema:

logo
FlowFast
If you have any questions or need help with integration feel free to write us at support@flowfast.io