{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/CreateHookResponseContent", "title": "CreateHookResponseContent", "type": "object", "additionalProperties": false, "properties": { "triggerId": { "type": "string", "description": "Trigger ID" }, "id": { "type": "string", "description": "ID of this hook.", "default": "00001" }, "name": { "type": "string", "description": "Name of this hook.", "default": "hook" }, "enabled": { "type": "boolean", "description": "Whether this hook will be executed (true) or ignored (false).", "default": true }, "script": { "type": "string", "description": "Code to be executed when this hook runs.", "default": "module.exports = function(client, scope, audience, context, cb) cb(null, access_token); };" }, "dependencies": { "$ref": "#/components/schemas/HookDependencies" } } }