changedInput schema / properties / request / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Create a planned iteration in a space with Iterations enabled.",
- "properties": {
- "body": {
- "additionalProperties": false,
- "description": "The planned iteration title, goal and dates.",
- "properties": {
- "finish_date": {
- "description": "Planned finish as ISO 8601; null clears it.",
- "type": [
- "string",
- "null"
- ]
- },
- "goal": {
- "description": "Optional goal. Null leaves it unset.",
- "type": [
- "string",
- "null"
- ]
- },
- "start_date": {
- "description": "Planned start as ISO 8601; null clears it.",
- "type": [
- "string",
- "null"
- ]
- },
- "title": {
- "description": "Title displayed for the new iteration.",
- "type": "string"
- }
- },
- "required": [
- "title"
- ],
- "type": "object"
- },
- "space_uid": {
- "description": "Space UUID from workspace discovery, distinct from the numeric space_id.",
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "space_uid",
- "body"
- ],
- "type": "object"
- },
- "operation": {
- "const": "create_iteration",
- "description": "Create a planned iteration in a space with Iterations enabled.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Edit the iteration or move it through planned, active and closed. Supply at least one of title, goal, status, start_date or finish_date.",
- "properties": {
- "body": {
- "additionalProperties": false,
- "description": "Fields to update. Unspecified fields keep their current values.",
- "properties": {
- "actual_finish_date": {
- "description": "Actual completion date, ISO 8601 or null.",
- "type": [
- "string",
- "null"
- ]
- },
- "finish_date": {
- "description": "Planned finish as ISO 8601; null clears it.",
- "type": [
- "string",
- "null"
- ]
- },
- "goal": {
- "description": "New goal. Null clears it.",
- "type": [
- "string",
- "null"
- ]
- },
- "new_iteration_id": {
- "anyOf": [
- {
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "On closure, optionally move eligible cards to this iteration in the same space."
- },
- "start_date": {
- "description": "Planned start as ISO 8601; null clears it.",
- "type": [
- "string",
- "null"
- ]
- },
- "status": {
- "anyOf": [
- {
- "const": "active",
- "type": "string"
- },
- {
- "const": "planned",
- "type": "string"
- },
- {
- "const": "closed",
- "type": "string"
- }
- ],
- "description": "Native lifecycle state. Check the current state before moving to active or closed."
- },
- "title": {
- "description": "New title for this iteration.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "id": {
- "description": "Iteration UUID from list_iterations.",
- "minLength": 1,
- "type": "string"
- },
- "space_uid": {
- "description": "Space UUID from workspace discovery, distinct from the numeric space_id.",
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "space_uid",
- "id",
- "body"
- ],
- "type": "object"
- },
- "operation": {
- "const": "update_iteration",
- "description": "Edit the iteration or move it through planned, active and closed. Supply at least one of title, goal, status, start_date or finish_date.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Remove the iteration and its original card links permanently. A valid replacement can receive the cards.",
- "properties": {
- "id": {
- "description": "Iteration UUID from list_iterations.",
- "minLength": 1,
- "type": "string"
- },
- "new_iteration_id": {
- "anyOf": [
- {
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Optional planned or active replacement iteration UUID from the same space. Omission sends no body; null sends an explicit empty replacement."
- },
- "space_uid": {
- "description": "Space UUID from workspace discovery, distinct from the numeric space_id.",
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "space_uid",
- "id"
- ],
- "type": "object"
- },
- "operation": {
- "const": "delete_iteration",
- "description": "Remove the iteration and its original card links permanently. A valid replacement can receive the cards.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Add one active card on a primary board to an iteration.",
- "properties": {
- "card_uid": {
- "description": "Card UUID, distinct from the numeric card_id.",
- "minLength": 1,
- "type": "string"
- },
- "iteration_id": {
- "description": "Iteration UUID from list_iterations.",
- "minLength": 1,
- "type": "string"
- },
- "space_uid": {
- "description": "Space UUID from workspace discovery, distinct from the numeric space_id.",
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "space_uid",
- "iteration_id",
- "card_uid"
- ],
- "type": "object"
- },
- "operation": {
- "const": "add_iteration_member",
- "description": "Add one active card on a primary board to an iteration.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "anyOf": [
- {
- "additionalProperties": false,
- "description": "Remove one card’s manual membership by card UID. This leaves the card intact. Closed iterations reject removal.",
- "properties": {
- "iteration_id": {
- "description": "Iteration UUID from list_iterations.",
- "minLength": 1,
- "type": "string"
- },
- "space_uid": {
- "description": "Space UUID from workspace discovery, distinct from the numeric space_id.",
- "minLength": 1,
- "type": "string"
- },
- "uid": {
- "description": "UUID of one card to remove. Use card_uid from list_iteration_memberships.",
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "space_uid",
- "iteration_id",
- "uid"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Bulk-remove manual memberships and return the records actually removed. Kaiten ignores cards outside the iteration and checks all restrictions before writing. Writes run in batches of up to 100, so an execution error can leave earlier batches applied. Read back memberships before retrying.",
- "properties": {
- "card_uids": {
- "description": "Supply 1 to 500 distinct card UIDs from list_iteration_memberships for the bulk form.",
- "items": {
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 500,
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- },
- "iteration_id": {
- "description": "Iteration UUID from list_iterations.",
- "minLength": 1,
- "type": "string"
- },
- "space_uid": {
- "description": "Space UUID from workspace discovery, distinct from the numeric space_id.",
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "space_uid",
- "iteration_id",
- "card_uids"
- ],
- "type": "object"
- }
- ]
- },
- "operation": {
- "const": "remove_iteration_member",
- "description": "Choose the remove_iteration_member argument form matching your task.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Record time in minutes for the given card and calendar date.",
- "properties": {
- "body": {
- "additionalProperties": false,
- "description": "Work date, role and duration.",
- "properties": {
- "comment": {
- "description": "Optional note for this work. An empty string is passed through.",
- "type": "string"
- },
- "for_date": {
- "description": "Calendar date in YYYY-MM-DD.",
- "format": "date",
- "type": "string"
- },
- "role_id": {
- "anyOf": [
- {
- "const": -1,
- "type": "number"
- },
- {
- "exclusiveMinimum": 0,
- "type": "integer"
- }
- ],
- "description": "Role ID from workspace role lookup. Pass -1 for the built-in Employee role."
- },
- "time_spent": {
- "description": "Time spent in minutes.",
- "type": "number"
- }
- },
- "required": [
- "role_id",
- "time_spent",
- "for_date"
- ],
- "type": "object"
- },
- "card_id": {
- "description": "Numeric card ID from card search or details.",
- "exclusiveMinimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "card_id",
- "body"
- ],
- "type": "object"
- },
- "operation": {
- "const": "add_card_time_log",
- "description": "Record time in minutes for the given card and calendar date.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Edit at least one field of an existing time-log entry. Omitted fields stay unchanged.",
- "properties": {
- "body": {
- "additionalProperties": false,
- "description": "Fields to replace on the existing log.",
- "properties": {
- "comment": {
- "description": "Optional note for this work. An empty string is passed through.",
- "type": "string"
- },
- "for_date": {
- "description": "Calendar date in YYYY-MM-DD.",
- "format": "date",
- "type": "string"
- },
- "role_id": {
- "anyOf": [
- {
- "const": -1,
- "type": "number"
- },
- {
- "exclusiveMinimum": 0,
- "type": "integer"
- }
- ],
- "description": "Role ID from workspace role lookup. Pass -1 for the built-in Employee role."
- },
- "time_spent": {
- "description": "Time spent in minutes.",
- "type": "number"
- }
- },
- "type": "object"
- },
- "card_id": {
- "description": "Numeric card ID from card search or details.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "time_log_id": {
- "description": "ID of the log record returned by list_card_time_logs or get_timesheet.",
- "exclusiveMinimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "card_id",
- "time_log_id",
- "body"
- ],
- "type": "object"
- },
- "operation": {
- "const": "update_card_time_log",
- "description": "Edit at least one field of an existing time-log entry. Omitted fields stay unchanged.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Delete the recorded time entry; subsequent reports exclude that entry.",
- "properties": {
- "card_id": {
- "description": "Numeric card ID from card search or details.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "time_log_id": {
- "description": "ID of the exact log record to delete.",
- "exclusiveMinimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "card_id",
- "time_log_id"
- ],
- "type": "object"
- },
- "operation": {
- "const": "delete_card_time_log",
- "description": "Delete the recorded time entry; subsequent reports exclude that entry.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Add an external address to a service desk card’s notification recipients. Kaiten enforces feature and policy restrictions.",
- "properties": {
- "card_id": {
- "description": "Numeric card ID from card search or details.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "email": {
- "description": "Email address that should receive future card notifications.",
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "card_id",
- "email"
- ],
- "type": "object"
- },
- "operation": {
- "const": "add_service_desk_recipient",
- "description": "Add an external address to a service desk card’s notification recipients. Kaiten enforces feature and policy restrictions.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Remove an external address from future notifications on the given card.",
- "properties": {
- "card_id": {
- "description": "Numeric card ID from card search or details.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "email": {
- "description": "Exact configured address to remove, including any plus suffix.",
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "card_id",
- "email"
- ],
- "type": "object"
- },
- "operation": {
- "const": "remove_service_desk_recipient",
- "description": "Remove an external address from future notifications on the given card.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Configure an event, date, or on-demand rule. Event and date types require a trigger. On-demand requires a name. Supply at least one action.",
- "properties": {
- "body": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "actions": {
- "description": "Nonempty list of native actions with type and settings.",
- "items": {
- "additionalProperties": false,
- "properties": {
- "created": {
- "type": "string"
- },
- "data": {
- "additionalProperties": {
- "$ref": "#/$defs/__schema0"
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "type": {
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "type",
- "data"
- ],
- "type": "object"
- },
- "minItems": 1,
- "type": "array"
- },
- "conditions": {
- "$ref": "#/$defs/__schema1",
- "description": "Recursive condition groups, joined by and/or, for triggered rules."
- },
- "name": {
- "description": "Display name. Required for on-demand rules.",
- "type": "string"
- },
- "trigger": {
- "additionalProperties": false,
- "description": "Event/date trigger type and its native settings. Applies only to triggered rules.",
- "properties": {
- "data": {
- "additionalProperties": {
- "$ref": "#/$defs/__schema0"
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "hasToFireOnCardCreation": {
- "type": "boolean"
- },
- "type": {
- "enum": [
- "card_moved_in_path",
- "card_created",
- "comment_posted",
- "card_user_added",
- "responsible_added",
- "card_type_changed",
- "card_state_changed",
- "custom_property_changed",
- "due_date_changed",
- "checklist_item_checked",
- "checklists_completed",
- "child_cards_state_changed",
- "tag_added",
- "tag_removed",
- "blocked",
- "unblocked",
- "blocker_added",
- "due_date_on_date",
- "checklist_item_due_date_on_date",
- "custom_property_date_on_date",
- "all_conditions_met"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- "type": {
- "description": "on_action for an event, on_date for a date trigger, or on_demand for the named manually triggered rule.",
- "enum": [
- "on_action",
- "on_date"
- ],
- "type": "string"
- }
- },
- "required": [
- "type",
- "trigger",
- "actions"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "actions": {
- "description": "Nonempty list of native actions with type and settings.",
- "items": {
- "additionalProperties": false,
- "properties": {
- "created": {
- "type": "string"
- },
- "data": {
- "additionalProperties": {
- "$ref": "#/$defs/__schema0"
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "type": {
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "type",
- "data"
- ],
- "type": "object"
- },
- "minItems": 1,
- "type": "array"
- },
- "name": {
- "description": "Display name. Required for on-demand rules.",
- "type": "string"
- },
- "type": {
- "const": "on_demand",
- "description": "on_action for an event, on_date for a date trigger, or on_demand for the named manually triggered rule.",
- "type": "string"
- }
- },
- "required": [
- "type",
- "name",
- "actions"
- ],
- "type": "object"
- }
- ],
- "description": "Select the trigger-based or on-demand definition to match the intended rule."
- },
- "space_id": {
- "description": "Numeric space ID from workspace discovery.",
- "exclusiveMinimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "space_id",
- "body"
- ],
- "type": "object"
- },
- "operation": {
- "const": "create_automation",
- "description": "Configure an event, date, or on-demand rule. Event and date types require a trigger. On-demand requires a name. Supply at least one action.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Update only supplied rule fields. Provide the full desired action list or condition tree when changing it.",
- "properties": {
- "automation_uid": {
- "description": "Automation UID returned by list_automations for the same space.",
- "minLength": 1,
- "type": "string"
- },
- "body": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "actions": {
- "description": "Complete desired action list, with at least one action if supplied.",
- "items": {
- "additionalProperties": false,
- "properties": {
- "created": {
- "type": "string"
- },
- "data": {
- "additionalProperties": {
- "$ref": "#/$defs/__schema0"
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "type": {
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "type",
- "data"
- ],
- "type": "object"
- },
- "minItems": 1,
- "type": "array"
- },
- "conditions": {
- "$ref": "#/$defs/__schema1",
- "description": "Replacement recursive condition tree for a triggered rule."
- },
- "name": {
- "description": "New display name for the rule.",
- "type": "string"
- },
- "trigger": {
- "additionalProperties": false,
- "description": "Replacement trigger and settings when changing a trigger-based rule.",
- "properties": {
- "data": {
- "additionalProperties": {
- "$ref": "#/$defs/__schema0"
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "hasToFireOnCardCreation": {
- "type": "boolean"
- },
- "type": {
- "enum": [
- "card_moved_in_path",
- "card_created",
- "comment_posted",
- "card_user_added",
- "responsible_added",
- "card_type_changed",
- "card_state_changed",
- "custom_property_changed",
- "due_date_changed",
- "checklist_item_checked",
- "checklists_completed",
- "child_cards_state_changed",
- "tag_added",
- "tag_removed",
- "blocked",
- "unblocked",
- "blocker_added",
- "due_date_on_date",
- "checklist_item_due_date_on_date",
- "custom_property_date_on_date",
- "all_conditions_met"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- "type": {
- "description": "Rule kind controlling which trigger fields can be supplied.",
- "enum": [
- "on_action",
- "on_date"
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "actions": {
- "description": "Complete desired action list, with at least one action if supplied.",
- "items": {
- "additionalProperties": false,
- "properties": {
- "created": {
- "type": "string"
- },
- "data": {
- "additionalProperties": {
- "$ref": "#/$defs/__schema0"
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "type": {
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "type",
- "data"
- ],
- "type": "object"
- },
- "minItems": 1,
- "type": "array"
- },
- "name": {
- "description": "New display name for the rule.",
- "type": "string"
- },
- "type": {
- "const": "on_demand",
- "description": "Rule kind controlling which trigger fields can be supplied.",
- "type": "string"
- }
- },
- "type": "object"
- }
- ],
- "description": "Fields to update. Inspect the current rule first to retain existing actions and conditions."
- },
- "space_id": {
- "description": "Numeric space ID from workspace discovery.",
- "exclusiveMinimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "space_id",
- "automation_uid",
- "body"
- ],
- "type": "object"
- },
- "operation": {
- "const": "update_automation",
- "description": "Update only supplied rule fields. Provide the full desired action list or condition tree when changing it.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Remove the rule by UID. Existing card changes made by it are not rolled back.",
- "properties": {
- "automation_uid": {
- "description": "Automation UID returned by list_automations for the same space.",
- "minLength": 1,
- "type": "string"
- },
- "space_id": {
- "description": "Numeric space ID from workspace discovery.",
- "exclusiveMinimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "space_id",
- "automation_uid"
- ],
- "type": "object"
- },
- "operation": {
- "const": "delete_automation",
- "description": "Remove the rule by UID. Existing card changes made by it are not rolled back.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Create a card through a previously configured incoming webhook. HTTPS is required except for local loopback. No API token is sent and redirects are not followed.",
- "properties": {
- "body": {
- "additionalProperties": false,
- "description": "Card title and optional fields accepted by the incoming webhook.",
- "properties": {
- "asap": {
- "description": "Whether to mark the card urgent.",
- "type": "boolean"
- },
- "description": {
- "description": "Text to store in the description of the card.",
- "type": "string"
- },
- "due_date": {
- "description": "Native Kaiten due date sent to the webhook.",
- "type": "string"
- },
- "links": {
- "description": "External links and their optional descriptions.",
- "items": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "type": [
- "string",
- "null"
- ]
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "url"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "members": {
- "description": "Numeric Kaiten user IDs to include as card members.",
- "items": {
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "type": "array"
- },
- "owner_id": {
- "description": "Numeric Kaiten user ID to set as card owner.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "properties": {
- "additionalProperties": {
- "$ref": "#/$defs/__schema2"
- },
- "description": "Native id_ property keys and values. Resolve the property definitions before assigning them.",
- "propertyNames": {
- "pattern": "^id_[1-9]\\d*$",
- "type": "string"
- },
- "type": "object"
- },
- "tags": {
- "description": "Tag names passed to the webhook.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "title": {
- "description": "Title of the new card.",
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "title"
- ],
- "type": "object"
- },
- "webhook_url": {
- "description": "Exact secret webhook URL configured for the intended destination. Do not include it in user-facing summaries.",
- "type": "string"
- }
- },
- "required": [
- "webhook_url",
- "body"
- ],
- "type": "object"
- },
- "operation": {
- "const": "send_card_webhook",
- "description": "Create a card through a previously configured incoming webhook. HTTPS is required except for local loopback. No API token is sent and redirects are not followed.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Create a planned iteration in a space with Iterations enabled.",
+ "properties": {
+ "body": {
+ "additionalProperties": false,
+ "description": "The planned iteration title, goal and dates.",
+ "properties": {
+ "finish_date": {
+ "description": "Planned finish as ISO 8601; null clears it.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "goal": {
+ "description": "Optional goal. Null leaves it unset.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "start_date": {
+ "description": "Planned start as ISO 8601; null clears it.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "title": {
+ "description": "Title displayed for the new iteration.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "title"
+ ],
+ "type": "object"
+ },
+ "space_uid": {
+ "description": "Space UUID from workspace discovery, distinct from the numeric space_id.",
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "space_uid",
+ "body"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "create_iteration",
+ "description": "Create a planned iteration in a space with Iterations enabled.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Edit the iteration or move it through planned, active and closed. Supply at least one of title, goal, status, start_date or finish_date.",
+ "properties": {
+ "body": {
+ "additionalProperties": false,
+ "description": "Fields to update. Unspecified fields keep their current values.",
+ "properties": {
+ "actual_finish_date": {
+ "description": "Actual completion date, ISO 8601 or null.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "finish_date": {
+ "description": "Planned finish as ISO 8601; null clears it.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "goal": {
+ "description": "New goal. Null clears it.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "new_iteration_id": {
+ "anyOf": [
+ {
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "On closure, optionally move eligible cards to this iteration in the same space."
+ },
+ "start_date": {
+ "description": "Planned start as ISO 8601; null clears it.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "status": {
+ "anyOf": [
+ {
+ "const": "active",
+ "type": "string"
+ },
+ {
+ "const": "planned",
+ "type": "string"
+ },
+ {
+ "const": "closed",
+ "type": "string"
+ }
+ ],
+ "description": "Native lifecycle state. Check the current state before moving to active or closed."
+ },
+ "title": {
+ "description": "New title for this iteration.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "id": {
+ "description": "Iteration UUID from list_iterations.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "space_uid": {
+ "description": "Space UUID from workspace discovery, distinct from the numeric space_id.",
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "space_uid",
+ "id",
+ "body"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "update_iteration",
+ "description": "Edit the iteration or move it through planned, active and closed. Supply at least one of title, goal, status, start_date or finish_date.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Remove the iteration and its original card links permanently. A valid replacement can receive the cards.",
+ "properties": {
+ "id": {
+ "description": "Iteration UUID from list_iterations.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "new_iteration_id": {
+ "anyOf": [
+ {
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Optional planned or active replacement iteration UUID from the same space. Omission sends no body; null sends an explicit empty replacement."
+ },
+ "space_uid": {
+ "description": "Space UUID from workspace discovery, distinct from the numeric space_id.",
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "space_uid",
+ "id"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "delete_iteration",
+ "description": "Remove the iteration and its original card links permanently. A valid replacement can receive the cards.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "description": "Add one active card from a primary board of this space to a planned or active iteration. This transfers the card if it already belongs to another planned or active iteration.",
+ "properties": {
+ "card_uid": {
+ "description": "Card UUID, distinct from the numeric card_id.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "iteration_id": {
+ "description": "Iteration UUID from list_iterations.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "space_uid": {
+ "description": "Space UUID from workspace discovery, distinct from the numeric space_id.",
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "space_uid",
+ "iteration_id",
+ "card_uid"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Add active cards from primary boards of this space to a planned or active iteration. Cards in another planned or active iteration move to the target. Kaiten checks addition and active-source removal restrictions for the whole batch before writing. Later errors can leave transactions of up to 100 cards applied. Re-read memberships and card iteration histories before retrying.",
+ "properties": {
+ "card_uids": {
+ "description": "Supply 1 to 500 distinct card UUIDs. Get each result.uid from kaiten_cards_read get_card with format=full.",
+ "items": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "maxItems": 500,
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "iteration_id": {
+ "description": "Iteration UUID from list_iterations.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "space_uid": {
+ "description": "Space UUID from workspace discovery, distinct from the numeric space_id.",
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "space_uid",
+ "iteration_id",
+ "card_uids"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "operation": {
+ "const": "add_iteration_member",
+ "description": "Choose the add_iteration_member argument form matching your task.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "description": "Remove one card’s manual membership by card UID. This leaves the card intact. Closed iterations reject removal.",
+ "properties": {
+ "iteration_id": {
+ "description": "Iteration UUID from list_iterations.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "space_uid": {
+ "description": "Space UUID from workspace discovery, distinct from the numeric space_id.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "uid": {
+ "description": "UUID of one card to remove. Use card_uid from list_iteration_memberships.",
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "space_uid",
+ "iteration_id",
+ "uid"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Bulk-remove manual memberships and return the records actually removed. Kaiten ignores cards outside the iteration and checks all restrictions before writing. Writes run in batches of up to 100, so an execution error can leave earlier batches applied. Read back memberships before retrying.",
+ "properties": {
+ "card_uids": {
+ "description": "Supply 1 to 500 distinct card UIDs from list_iteration_memberships for the bulk form.",
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 500,
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "iteration_id": {
+ "description": "Iteration UUID from list_iterations.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "space_uid": {
+ "description": "Space UUID from workspace discovery, distinct from the numeric space_id.",
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "space_uid",
+ "iteration_id",
+ "card_uids"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "operation": {
+ "const": "remove_iteration_member",
+ "description": "Choose the remove_iteration_member argument form matching your task.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Record time in minutes for the given card and calendar date.",
+ "properties": {
+ "body": {
+ "additionalProperties": false,
+ "description": "Work date, role and duration.",
+ "properties": {
+ "comment": {
+ "description": "Optional note for this work. An empty string is passed through.",
+ "type": "string"
+ },
+ "for_date": {
+ "description": "Calendar date in YYYY-MM-DD.",
+ "format": "date",
+ "type": "string"
+ },
+ "role_id": {
+ "anyOf": [
+ {
+ "const": -1,
+ "type": "number"
+ },
+ {
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ }
+ ],
+ "description": "Role ID from workspace role lookup. Pass -1 for the built-in Employee role."
+ },
+ "time_spent": {
+ "description": "Time spent in minutes.",
+ "type": "number"
+ }
+ },
+ "required": [
+ "role_id",
+ "time_spent",
+ "for_date"
+ ],
+ "type": "object"
+ },
+ "card_id": {
+ "description": "Numeric card ID from card search or details.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "card_id",
+ "body"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "add_card_time_log",
+ "description": "Record time in minutes for the given card and calendar date.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Edit at least one field of an existing time-log entry. Omitted fields stay unchanged.",
+ "properties": {
+ "body": {
+ "additionalProperties": false,
+ "description": "Fields to replace on the existing log.",
+ "properties": {
+ "comment": {
+ "description": "Optional note for this work. An empty string is passed through.",
+ "type": "string"
+ },
+ "for_date": {
+ "description": "Calendar date in YYYY-MM-DD.",
+ "format": "date",
+ "type": "string"
+ },
+ "role_id": {
+ "anyOf": [
+ {
+ "const": -1,
+ "type": "number"
+ },
+ {
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ }
+ ],
+ "description": "Role ID from workspace role lookup. Pass -1 for the built-in Employee role."
+ },
+ "time_spent": {
+ "description": "Time spent in minutes.",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "card_id": {
+ "description": "Numeric card ID from card search or details.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "time_log_id": {
+ "description": "ID of the log record returned by list_card_time_logs or get_timesheet.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "card_id",
+ "time_log_id",
+ "body"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "update_card_time_log",
+ "description": "Edit at least one field of an existing time-log entry. Omitted fields stay unchanged.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Delete the recorded time entry; subsequent reports exclude that entry.",
+ "properties": {
+ "card_id": {
+ "description": "Numeric card ID from card search or details.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "time_log_id": {
+ "description": "ID of the exact log record to delete.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "card_id",
+ "time_log_id"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "delete_card_time_log",
+ "description": "Delete the recorded time entry; subsequent reports exclude that entry.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Add an external address to a service desk card’s notification recipients. Kaiten enforces feature and policy restrictions.",
+ "properties": {
+ "card_id": {
+ "description": "Numeric card ID from card search or details.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "email": {
+ "description": "Email address that should receive future card notifications.",
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "card_id",
+ "email"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "add_service_desk_recipient",
+ "description": "Add an external address to a service desk card’s notification recipients. Kaiten enforces feature and policy restrictions.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Remove an external address from future notifications on the given card.",
+ "properties": {
+ "card_id": {
+ "description": "Numeric card ID from card search or details.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "email": {
+ "description": "Exact configured address to remove, including any plus suffix.",
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "card_id",
+ "email"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "remove_service_desk_recipient",
+ "description": "Remove an external address from future notifications on the given card.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Configure an event, date, or on-demand rule. Event and date types require a trigger. On-demand requires a name. Supply at least one action.",
+ "properties": {
+ "body": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "actions": {
+ "description": "Nonempty list of native actions with type and settings.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "created": {
+ "type": "string"
+ },
+ "data": {
+ "additionalProperties": {
+ "$ref": "#/$defs/__schema0"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "type": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "data"
+ ],
+ "type": "object"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "conditions": {
+ "$ref": "#/$defs/__schema1",
+ "description": "Recursive condition groups, joined by and/or, for triggered rules."
+ },
+ "name": {
+ "description": "Display name. Required for on-demand rules.",
+ "type": "string"
+ },
+ "trigger": {
+ "additionalProperties": false,
+ "description": "Event/date trigger type and its native settings. Applies only to triggered rules.",
+ "properties": {
+ "data": {
+ "additionalProperties": {
+ "$ref": "#/$defs/__schema0"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "hasToFireOnCardCreation": {
+ "type": "boolean"
+ },
+ "type": {
+ "description": "For Iterations, use iteration_card_added or iteration_card_removed with on_action for membership events. Use iteration_start_date_on_date or iteration_finish_date_on_date with on_date for the relevant date in this space. These triggers require the Iterations feature.",
+ "enum": [
+ "card_moved_in_path",
+ "card_created",
+ "comment_posted",
+ "card_user_added",
+ "responsible_added",
+ "card_type_changed",
+ "card_state_changed",
+ "custom_property_changed",
+ "due_date_changed",
+ "checklist_item_checked",
+ "checklists_completed",
+ "child_cards_state_changed",
+ "tag_added",
+ "tag_removed",
+ "blocked",
+ "unblocked",
+ "blocker_added",
+ "due_date_on_date",
+ "checklist_item_due_date_on_date",
+ "custom_property_date_on_date",
+ "all_conditions_met",
+ "iteration_card_added",
+ "iteration_card_removed",
+ "iteration_start_date_on_date",
+ "iteration_finish_date_on_date"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "description": "on_action for an event, on_date for a date trigger, or on_demand for the named manually triggered rule.",
+ "enum": [
+ "on_action",
+ "on_date"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "trigger",
+ "actions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "actions": {
+ "description": "Nonempty list of native actions with type and settings.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "created": {
+ "type": "string"
+ },
+ "data": {
+ "additionalProperties": {
+ "$ref": "#/$defs/__schema0"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "type": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "data"
+ ],
+ "type": "object"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "name": {
+ "description": "Display name. Required for on-demand rules.",
+ "type": "string"
+ },
+ "type": {
+ "const": "on_demand",
+ "description": "on_action for an event, on_date for a date trigger, or on_demand for the named manually triggered rule.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "name",
+ "actions"
+ ],
+ "type": "object"
+ }
+ ],
+ "description": "Select the trigger-based or on-demand definition to match the intended rule."
+ },
+ "space_id": {
+ "description": "Numeric space ID from workspace discovery.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "space_id",
+ "body"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "create_automation",
+ "description": "Configure an event, date, or on-demand rule. Event and date types require a trigger. On-demand requires a name. Supply at least one action.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Update only supplied rule fields. Provide the full desired action list or condition tree when changing it.",
+ "properties": {
+ "automation_uid": {
+ "description": "Automation UID returned by list_automations for the same space.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "body": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "actions": {
+ "description": "Complete desired action list, with at least one action if supplied.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "created": {
+ "type": "string"
+ },
+ "data": {
+ "additionalProperties": {
+ "$ref": "#/$defs/__schema0"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "type": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "data"
+ ],
+ "type": "object"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "conditions": {
+ "$ref": "#/$defs/__schema1",
+ "description": "Replacement recursive condition tree for a triggered rule."
+ },
+ "name": {
+ "description": "New display name for the rule.",
+ "type": "string"
+ },
+ "trigger": {
+ "additionalProperties": false,
+ "description": "Replacement trigger and settings when changing a trigger-based rule.",
+ "properties": {
+ "data": {
+ "additionalProperties": {
+ "$ref": "#/$defs/__schema0"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "hasToFireOnCardCreation": {
+ "type": "boolean"
+ },
+ "type": {
+ "description": "For Iterations, use iteration_card_added or iteration_card_removed with on_action for membership events. Use iteration_start_date_on_date or iteration_finish_date_on_date with on_date for the relevant date in this space. These triggers require the Iterations feature.",
+ "enum": [
+ "card_moved_in_path",
+ "card_created",
+ "comment_posted",
+ "card_user_added",
+ "responsible_added",
+ "card_type_changed",
+ "card_state_changed",
+ "custom_property_changed",
+ "due_date_changed",
+ "checklist_item_checked",
+ "checklists_completed",
+ "child_cards_state_changed",
+ "tag_added",
+ "tag_removed",
+ "blocked",
+ "unblocked",
+ "blocker_added",
+ "due_date_on_date",
+ "checklist_item_due_date_on_date",
+ "custom_property_date_on_date",
+ "all_conditions_met",
+ "iteration_card_added",
+ "iteration_card_removed",
+ "iteration_start_date_on_date",
+ "iteration_finish_date_on_date"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "description": "Rule kind controlling which trigger fields can be supplied.",
+ "enum": [
+ "on_action",
+ "on_date"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "actions": {
+ "description": "Complete desired action list, with at least one action if supplied.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "created": {
+ "type": "string"
+ },
+ "data": {
+ "additionalProperties": {
+ "$ref": "#/$defs/__schema0"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "type": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "data"
+ ],
+ "type": "object"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "name": {
+ "description": "New display name for the rule.",
+ "type": "string"
+ },
+ "type": {
+ "const": "on_demand",
+ "description": "Rule kind controlling which trigger fields can be supplied.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ ],
+ "description": "Fields to update. Inspect the current rule first to retain existing actions and conditions."
+ },
+ "space_id": {
+ "description": "Numeric space ID from workspace discovery.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "space_id",
+ "automation_uid",
+ "body"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "update_automation",
+ "description": "Update only supplied rule fields. Provide the full desired action list or condition tree when changing it.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Remove the rule by UID. Existing card changes made by it are not rolled back.",
+ "properties": {
+ "automation_uid": {
+ "description": "Automation UID returned by list_automations for the same space.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "space_id": {
+ "description": "Numeric space ID from workspace discovery.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "space_id",
+ "automation_uid"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "delete_automation",
+ "description": "Remove the rule by UID. Existing card changes made by it are not rolled back.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Create a card through a previously configured incoming webhook. HTTPS is required except for local loopback. No API token is sent and redirects are not followed.",
+ "properties": {
+ "body": {
+ "additionalProperties": false,
+ "description": "Card title and optional fields accepted by the incoming webhook.",
+ "properties": {
+ "asap": {
+ "description": "Whether to mark the card urgent.",
+ "type": "boolean"
+ },
+ "description": {
+ "description": "Text to store in the description of the card.",
+ "type": "string"
+ },
+ "due_date": {
+ "description": "Native Kaiten due date sent to the webhook.",
+ "type": "string"
+ },
+ "links": {
+ "description": "External links and their optional descriptions.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "url"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "members": {
+ "description": "Numeric Kaiten user IDs to include as card members.",
+ "items": {
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "type": "array"
+ },
+ "owner_id": {
+ "description": "Numeric Kaiten user ID to set as card owner.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "properties": {
+ "additionalProperties": {
+ "$ref": "#/$defs/__schema2"
+ },
+ "description": "Native id_ property keys and values. Resolve the property definitions before assigning them.",
+ "propertyNames": {
+ "pattern": "^id_[1-9]\\d*$",
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "tags": {
+ "description": "Tag names passed to the webhook.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "title": {
+ "description": "Title of the new card.",
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title"
+ ],
+ "type": "object"
+ },
+ "webhook_url": {
+ "description": "Exact secret webhook URL configured for the intended destination. Do not include it in user-facing summaries.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "webhook_url",
+ "body"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "send_card_webhook",
+ "description": "Create a card through a previously configured incoming webhook. HTTPS is required except for local loopback. No API token is sent and redirects are not followed.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ }
+]