{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/json-structure/custom-workflow-actions-api-action-function-reference-structure.json", "name": "ActionFunctionReference", "description": "A reference to a function associated with an action", "type": "object", "properties": { "functionType": { "type": "string", "enum": [ "PRE_ACTION_EXECUTION", "PRE_FETCH_OPTIONS", "POST_FETCH_OPTIONS", "POST_ACTION_EXECUTION" ], "description": "The type of function", "example": "PRE_ACTION_EXECUTION" }, "id": { "type": "string", "description": "The unique identifier of the function", "example": "500123" } }, "required": [ "functionType", "id" ] }