{"openapi":"3.1.0","info":{"title":"Discord for Jira API","version":"1.0.0","description":"Discover connected resources and manage saved workflows with a Read or Manage API key."},"servers":[{"url":"/api/v1"}],"paths":{"/openapi.json":{"get":{"operationId":"get-openapi","security":[],"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/servers":{"get":{"operationId":"list-servers","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"read","parameters":[{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."}],"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"serverId":{"type":"string"},"guildId":{"type":"string"},"name":{"type":"string"},"projectEnabled":{"type":"boolean"}},"required":["serverId","guildId","name"]}}},"required":["items"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/resources":{"get":{"operationId":"discover-resources","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"read","parameters":[{"name":"serverId","in":"query","required":true,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."},{"name":"kind","in":"query","required":true,"schema":{"type":"string","enum":["projects","notificationChoices","summaryChoices","panelChoices","automationChoices","issueTypes","issueFields","memberFields","privateThreadChannels","automationMembers"]}},{"name":"projectId","in":"query","required":false,"schema":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},{"name":"issueTypeId","in":"query","required":false,"schema":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},{"name":"query","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"description":"The existing Jira Settings choices for the requested kind and connected server.","type":"object","additionalProperties":true}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/notification-rules":{"get":{"operationId":"list-notification-rules","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"read","parameters":[{"name":"serverId","in":"query","required":true,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."}],"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/notificationRules"}},"readOnly":{"type":"boolean"}},"required":["items","readOnly"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"create-notification-rules","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"manage","parameters":[{"name":"serverId","in":"query","required":true,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/notificationRulesInput"}}}},"responses":{"201":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/notificationRules"}},"required":["item"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/notification-rules/{id}":{"get":{"operationId":"read-notification-rules","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"}},{"name":"serverId","in":"query","required":false,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."}],"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/notificationRules"},"readOnly":{"type":"boolean"}},"required":["item","readOnly"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"operationId":"update-notification-rules","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"manage","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"}},{"name":"serverId","in":"query","required":false,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/notificationRulesInput"}}}},"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/notificationRules"}},"required":["item"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"delete-notification-rules","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"manage","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"}},{"name":"serverId","in":"query","required":false,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."}],"responses":{"200":{"description":"Deleted workflow ID.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/notification-rules/{id}/enabled":{"patch":{"operationId":"state-notification-rules","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"manage","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"}},{"name":"serverId","in":"query","required":false,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"enabled":{"type":"boolean"}},"required":["enabled"]}}}},"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/notificationRules"}},"required":["item"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/notification-rules/{id}/health":{"get":{"operationId":"health-notification-rules","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"}},{"name":"serverId","in":"query","required":false,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."}],"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"enabled":{"type":"boolean"},"readOnly":{"type":"boolean"},"pausedReason":{"type":["string","null"]},"recoveryAction":{"type":["string","null"]},"nextRunAt":{"type":["string","null"],"format":"date-time"},"queuedCount":{"type":"integer"},"nextQueuedAt":{"type":["string","null"],"format":"date-time"},"latestRun":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"phase":{"type":"string"},"scheduledFor":{"type":["string","null"],"format":"date-time"},"completedAt":{"type":["string","null"],"format":"date-time"}},"required":["id","phase","scheduledFor","completedAt"]},{"type":"null"}]},"lastSuccessfulRun":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"phase":{"type":"string"},"scheduledFor":{"type":["string","null"],"format":"date-time"},"completedAt":{"type":["string","null"],"format":"date-time"}},"required":["id","phase","scheduledFor","completedAt"]},{"type":"null"}]}},"required":["id","enabled","readOnly","pausedReason","recoveryAction","nextRunAt","queuedCount","nextQueuedAt","latestRun","lastSuccessfulRun"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/scheduled-summaries":{"get":{"operationId":"list-scheduled-summaries","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"read","parameters":[{"name":"serverId","in":"query","required":true,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."}],"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/scheduledSummaries"}},"readOnly":{"type":"boolean"}},"required":["items","readOnly"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"create-scheduled-summaries","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"manage","parameters":[{"name":"serverId","in":"query","required":true,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/scheduledSummariesInput"}}}},"responses":{"201":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/scheduledSummaries"}},"required":["item"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/scheduled-summaries/{id}":{"get":{"operationId":"read-scheduled-summaries","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"serverId","in":"query","required":false,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."}],"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/scheduledSummaries"},"readOnly":{"type":"boolean"}},"required":["item","readOnly"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"operationId":"update-scheduled-summaries","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"manage","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"serverId","in":"query","required":false,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."},{"name":"revision","in":"query","required":false,"schema":{"type":"integer","exclusiveMinimum":0,"maximum":2147483647},"description":"The revision you last read. A mismatch returns 409."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/scheduledSummariesInput"}}}},"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/scheduledSummaries"}},"required":["item"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"delete-scheduled-summaries","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"manage","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"serverId","in":"query","required":false,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."},{"name":"revision","in":"query","required":false,"schema":{"type":"integer","exclusiveMinimum":0,"maximum":2147483647},"description":"The revision you last read. A mismatch returns 409."}],"responses":{"200":{"description":"Deleted workflow ID.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/scheduled-summaries/{id}/enabled":{"patch":{"operationId":"state-scheduled-summaries","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"manage","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"serverId","in":"query","required":false,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."},{"name":"revision","in":"query","required":false,"schema":{"type":"integer","exclusiveMinimum":0,"maximum":2147483647},"description":"The revision you last read. A mismatch returns 409."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"enabled":{"type":"boolean"}},"required":["enabled"]}}}},"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/scheduledSummaries"}},"required":["item"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/scheduled-summaries/{id}/health":{"get":{"operationId":"health-scheduled-summaries","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"serverId","in":"query","required":false,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."}],"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"enabled":{"type":"boolean"},"readOnly":{"type":"boolean"},"pausedReason":{"type":["string","null"]},"nextRunAt":{"type":["string","null"],"format":"date-time"},"latestRun":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"phase":{"type":"string"},"scheduledFor":{"type":["string","null"],"format":"date-time"},"completedAt":{"type":["string","null"],"format":"date-time"}},"required":["id","phase","scheduledFor","completedAt"]},{"type":"null"}]},"lastSuccessfulRun":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"phase":{"type":"string"},"scheduledFor":{"type":["string","null"],"format":"date-time"},"completedAt":{"type":["string","null"],"format":"date-time"}},"required":["id","phase","scheduledFor","completedAt"]},{"type":"null"}]}},"required":["id","enabled","readOnly","pausedReason","nextRunAt","latestRun","lastSuccessfulRun"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/issue-lists":{"get":{"operationId":"list-issue-lists","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"read","parameters":[{"name":"serverId","in":"query","required":true,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."}],"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/issueLists"}},"readOnly":{"type":"boolean"}},"required":["items","readOnly"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"create-issue-lists","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"manage","parameters":[{"name":"serverId","in":"query","required":true,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/issueListsInput"}}}},"responses":{"201":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/issueLists"}},"required":["item"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/issue-lists/{id}":{"get":{"operationId":"read-issue-lists","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"serverId","in":"query","required":false,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."}],"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/issueLists"},"readOnly":{"type":"boolean"}},"required":["item","readOnly"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"operationId":"update-issue-lists","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"manage","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"serverId","in":"query","required":false,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."},{"name":"revision","in":"query","required":false,"schema":{"type":"integer","exclusiveMinimum":0,"maximum":2147483647},"description":"The revision you last read. A mismatch returns 409."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/issueListsInput"}}}},"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/issueLists"}},"required":["item"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"delete-issue-lists","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"manage","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"serverId","in":"query","required":false,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."},{"name":"revision","in":"query","required":false,"schema":{"type":"integer","exclusiveMinimum":0,"maximum":2147483647},"description":"The revision you last read. A mismatch returns 409."}],"responses":{"200":{"description":"Deleted workflow ID.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/issue-lists/{id}/enabled":{"patch":{"operationId":"state-issue-lists","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"manage","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"serverId","in":"query","required":false,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."},{"name":"revision","in":"query","required":false,"schema":{"type":"integer","exclusiveMinimum":0,"maximum":2147483647},"description":"The revision you last read. A mismatch returns 409."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"enabled":{"type":"boolean"}},"required":["enabled"]}}}},"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/issueLists"}},"required":["item"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/issue-lists/{id}/health":{"get":{"operationId":"health-issue-lists","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"serverId","in":"query","required":false,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."}],"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"enabled":{"type":"boolean"},"readOnly":{"type":"boolean"},"lastUsedAt":{"type":["string","null"],"format":"date-time"},"registrationError":{"type":["string","null"]}},"required":["id","enabled","readOnly","lastUsedAt","registrationError"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/forms":{"get":{"operationId":"list-forms","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"read","parameters":[{"name":"serverId","in":"query","required":true,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."}],"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/forms"}},"readOnly":{"type":"boolean"}},"required":["items","readOnly"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"create-forms","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"manage","parameters":[{"name":"serverId","in":"query","required":true,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/formsInput"}}}},"responses":{"201":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/forms"}},"required":["item"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/forms/{id}":{"get":{"operationId":"read-forms","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"serverId","in":"query","required":false,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."}],"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/forms"},"readOnly":{"type":"boolean"}},"required":["item","readOnly"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"operationId":"update-forms","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"manage","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"serverId","in":"query","required":false,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."},{"name":"revision","in":"query","required":false,"schema":{"type":"integer","exclusiveMinimum":0,"maximum":2147483647},"description":"The revision you last read. A mismatch returns 409."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/formsInput"}}}},"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/forms"}},"required":["item"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"delete-forms","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"manage","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"serverId","in":"query","required":false,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."},{"name":"revision","in":"query","required":false,"schema":{"type":"integer","exclusiveMinimum":0,"maximum":2147483647},"description":"The revision you last read. A mismatch returns 409."}],"responses":{"200":{"description":"Deleted workflow ID.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/forms/{id}/enabled":{"patch":{"operationId":"state-forms","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"manage","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"serverId","in":"query","required":false,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."},{"name":"revision","in":"query","required":false,"schema":{"type":"integer","exclusiveMinimum":0,"maximum":2147483647},"description":"The revision you last read. A mismatch returns 409."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"enabled":{"type":"boolean"}},"required":["enabled"]}}}},"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/forms"}},"required":["item"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/forms/{id}/health":{"get":{"operationId":"health-forms","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"serverId","in":"query","required":false,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."}],"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"enabled":{"type":"boolean"},"readOnly":{"type":"boolean"},"lastUsedAt":{"type":["string","null"],"format":"date-time"},"registrationError":{"type":["string","null"]}},"required":["id","enabled","readOnly","lastUsedAt","registrationError"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/panels":{"get":{"operationId":"list-panels","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"read","parameters":[{"name":"serverId","in":"query","required":true,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."}],"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/panels"}},"readOnly":{"type":"boolean"}},"required":["items","readOnly"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"create-panels","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"manage","parameters":[{"name":"serverId","in":"query","required":true,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/panelsInput"}}}},"responses":{"201":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/panels"}},"required":["item"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/panels/{id}":{"get":{"operationId":"read-panels","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"serverId","in":"query","required":false,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."}],"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/panels"},"readOnly":{"type":"boolean"}},"required":["item","readOnly"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"operationId":"update-panels","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"manage","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"serverId","in":"query","required":false,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."},{"name":"revision","in":"query","required":false,"schema":{"type":"integer","exclusiveMinimum":0,"maximum":2147483647},"description":"The revision you last read. A mismatch returns 409."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/panelsInput"}}}},"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/panels"}},"required":["item"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"delete-panels","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"manage","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"serverId","in":"query","required":false,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."}],"responses":{"200":{"description":"Deleted workflow ID.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/panels/{id}/health":{"get":{"operationId":"health-panels","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"serverId","in":"query","required":false,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."}],"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/panels"},"readOnly":{"type":"boolean"}},"required":["item","readOnly"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/panels/{id}/publish":{"post":{"operationId":"publish-panels","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"manage","description":"Publish the current panel draft or update its existing Discord publication.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"serverId","in":"query","required":false,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."},{"name":"revision","in":"query","required":false,"schema":{"type":"integer","exclusiveMinimum":0,"maximum":2147483647},"description":"The revision you last read. A mismatch returns 409."}],"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/panels"}},"required":["item"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/automations":{"get":{"operationId":"list-automations","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"read","parameters":[{"name":"serverId","in":"query","required":true,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."}],"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/automations"}},"readOnly":{"type":"boolean"}},"required":["items","readOnly"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"create-automations","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"manage","parameters":[{"name":"serverId","in":"query","required":true,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/automationsInput"}}}},"responses":{"201":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/automations"}},"required":["item"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/automations/{id}":{"get":{"operationId":"read-automations","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"serverId","in":"query","required":false,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."}],"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/automations"},"readOnly":{"type":"boolean"}},"required":["item","readOnly"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"operationId":"update-automations","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"manage","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"serverId","in":"query","required":false,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."},{"name":"revision","in":"query","required":false,"schema":{"type":"integer","exclusiveMinimum":0,"maximum":2147483647},"description":"The revision you last read. A mismatch returns 409."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/automationsInput"}}}},"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/automations"}},"required":["item"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"delete-automations","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"manage","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"serverId","in":"query","required":false,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."},{"name":"revision","in":"query","required":false,"schema":{"type":"integer","exclusiveMinimum":0,"maximum":2147483647},"description":"The revision you last read. A mismatch returns 409."}],"responses":{"200":{"description":"Deleted workflow ID.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/automations/{id}/enabled":{"patch":{"operationId":"state-automations","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"manage","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"serverId","in":"query","required":false,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."},{"name":"revision","in":"query","required":false,"schema":{"type":"integer","exclusiveMinimum":0,"maximum":2147483647},"description":"The revision you last read. A mismatch returns 409."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"enabled":{"type":"boolean"}},"required":["enabled"]}}}},"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/automations"}},"required":["item"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/automations/{id}/health":{"get":{"operationId":"health-automations","security":[{"dfjApiKey":[]}],"x-dfj-required-access":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"serverId","in":"query","required":false,"schema":{"type":"string","pattern":"^[1-9]\\d{0,9}$"},"description":"Discord for Jira server connection ID. On item routes this checks the saved server."},{"name":"projectKey","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,127}$"},"description":"Current Jira project key. Project-bound keys already select their project. On item routes this checks the saved owner."}],"responses":{"200":{"description":"Operation completed.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"enabled":{"type":"boolean"},"readOnly":{"type":"boolean"},"pausedReason":{"type":["string","null"]},"latestRun":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string"},"at":{"type":["string","null"],"format":"date-time"},"steps":{"type":"array","items":{"type":"object","properties":{"stepId":{"type":"string"},"kind":{"type":"string"},"status":{"type":"string"}},"required":["stepId","kind","status"]}}},"required":["id","status","at","steps"]},{"type":"null"}]},"lastSuccessfulRun":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string"},"at":{"type":["string","null"],"format":"date-time"},"steps":{"type":"array","items":{"type":"object","properties":{"stepId":{"type":"string"},"kind":{"type":"string"},"status":{"type":"string"}},"required":["stepId","kind","status"]}}},"required":["id","status","at","steps"]},{"type":"null"}]}},"required":["id","enabled","readOnly","pausedReason","latestRun","lastSuccessfulRun"]}}}},"400":{"description":"Correct the request or workflow configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Send a valid Discord for Jira API key in the Authorization header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Check key access, the bound Jira project and the issuer’s current Jira permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The resource is unavailable in the selected Jira scope and server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Refresh the saved configuration or resolve the dependency before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The workflow configuration is incomplete or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Discord for Jira could not verify the Jira installation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The API key has reached its request limit of 120 requests per minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until another request can be admitted."}}},"502":{"description":"Jira or Discord could not confirm the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The workflow API is currently unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"securitySchemes":{"dfjApiKey":{"type":"http","scheme":"bearer","bearerFormat":"DFJ API key","description":"Create a Read or Manage key in Discord for Jira's site or project API settings."}},"schemas":{"notificationRulesInput":{"type":"object","properties":{"draft":{"type":"boolean"},"fromStatusIds":{"type":"array","items":{"type":"string","pattern":"^[1-9]\\d{0,18}$"}},"destination":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["channel","issue-thread"]},"channelId":{"type":"string","maxLength":20}},"required":["kind","channelId"]},{"type":"object","properties":{"kind":{"type":"string","const":"direct-message"},"connectedUserId":{"anyOf":[{"type":"string","pattern":"^[1-9]\\d{0,18}$"},{"type":"string","const":""}]}},"required":["kind","connectedUserId"]},{"type":"object","properties":{"kind":{"type":"string","const":"linked-discussion"}},"required":["kind"]}]},"sourceScope":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"all-enabled-projects"}},"required":["kind"]},{"type":"object","properties":{"kind":{"type":"string","const":"projects"},"projectIds":{"type":"array","items":{"type":"string","pattern":"^[1-9]\\d{0,18}$"}}},"required":["kind","projectIds"]},{"type":"object","properties":{"kind":{"type":"string","const":"issue"},"issueId":{"type":"string","pattern":"^[1-9]\\d{0,18}$"},"includeChildren":{"type":"boolean"},"includeIssue":{"type":"boolean"}},"required":["kind","issueId","includeChildren"]}]},"presentation":{"type":"object","properties":{"layout":{"type":"string","enum":["compact","detailed"]},"locale":{"type":"string","maxLength":35},"eventLabel":{"type":"string"}},"required":["layout","locale"]},"quickActions":{"type":"object","properties":{"buttons":{"type":"array","items":{"type":"object","properties":{"action":{"type":"string","maxLength":64},"label":{"type":"string","maxLength":80}},"required":["action"]}},"dropdowns":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","maxLength":128},"label":{"type":"string","minLength":1,"maxLength":150},"valueIds":{"maxItems":25,"type":"array","items":{"type":"string","maxLength":100}},"fieldLabel":{"type":"string","minLength":1},"optionLabels":{"type":"object","propertyNames":{"type":"string","maxLength":100},"additionalProperties":{"type":"string","minLength":1,"maxLength":100}},"multiple":{"type":"boolean"}},"required":["fieldId","label","valueIds"]}}},"required":["buttons","dropdowns"]},"conditions":{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rows":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string"},"operator":{"type":"string","enum":["is","is-not","contains","does-not-contain","is-empty","before","after"]},"value":{"type":"string"}},"required":["fieldId","operator","value"]},{"type":"object","properties":{"fieldId":{"type":"string"},"operator":{"type":"string","enum":["is","is-not","contains","does-not-contain","is-empty","before","after"]},"value":{"type":"array","items":{"type":"string"}}},"required":["fieldId","operator","value"]}]}}},"required":["match","rows"]},"digest":{"type":"object","properties":{"rowFields":{"type":"array","items":{"type":"string","enum":["issue","change","time","project","actor","priority"]}},"includeDetails":{"type":"boolean"}},"required":["rowFields","includeDetails"]},"notificationName":{"type":"string","maxLength":255},"channelId":{"type":"string","maxLength":20},"issueJQL":{"type":"string","maxLength":2000},"issueOperations":{"type":"array","items":{"type":"string"}},"issueCommentOperations":{"type":"array","items":{"type":"string"}},"issueFieldsChanged":{"type":"array","items":{"type":"string"}},"issueTransitionedTo":{"type":"array","items":{"type":"string"}},"displayedFields":{"type":"array","items":{"type":"string"}},"displayedCommentFields":{"type":"array","items":{"type":"string"}},"displayedIssueActions":{"type":"array","items":{"type":"string"}},"displayedCommentActions":{"type":"array","items":{"type":"string"}},"showImages":{"type":"boolean"},"showOnlyChangedFields":{"type":"boolean"},"mentionDiscordUsers":{"type":"boolean"},"mentionedRoleIds":{"type":"array","items":{"type":"string"}},"showChangeEmojis":{"type":["boolean","null"]},"useThreadNotifications":{"type":"boolean"},"suppressBulkUpdates":{"type":"boolean"},"deliveryMode":{"type":"string","enum":["instant","quiet-window","scheduled"]},"quietWindowMinutes":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"deliverySchedule":{"anyOf":[{"oneOf":[{"type":"object","properties":{"frequency":{"type":"string","const":"hourly"},"timezone":{"type":"string"}},"required":["frequency","timezone"]},{"type":"object","properties":{"frequency":{"type":"string","const":"daily"},"timeOfDayMinutes":{"type":"integer","minimum":0,"maximum":1439},"timezone":{"type":"string"}},"required":["frequency","timeOfDayMinutes","timezone"]},{"type":"object","properties":{"frequency":{"type":"string","const":"weekdays"},"timeOfDayMinutes":{"type":"integer","minimum":0,"maximum":1439},"timezone":{"type":"string"}},"required":["frequency","timeOfDayMinutes","timezone"]},{"type":"object","properties":{"frequency":{"type":"string","const":"weekly"},"runWeekday":{"type":"integer","minimum":1,"maximum":7},"timeOfDayMinutes":{"type":"integer","minimum":0,"maximum":1439},"timezone":{"type":"string"}},"required":["frequency","runWeekday","timeOfDayMinutes","timezone"]}]},{"type":"null"}]}},"required":["notificationName"]},"scheduledSummariesInput":{"type":"object","properties":{"draft":{"type":"object","properties":{"name":{"type":"string","minLength":1},"selection":{"type":"object","properties":{"source":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"enabled"}},"required":["kind"]},{"type":"object","properties":{"kind":{"type":"string","const":"projects"},"projectIds":{"minItems":1,"type":"array","items":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}}},"required":["kind","projectIds"]},{"type":"object","properties":{"kind":{"type":"string","const":"issue"},"issueId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"},"children":{"type":"boolean"}},"required":["kind","issueId","children"]}]},"query":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"filters"},"match":{"type":"string","enum":["all","any"]},"jql":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","enum":["assignee","requester"]},"operator":{"type":"string","enum":["is","isNot"]},"value":{"anyOf":[{"anyOf":[{"type":"string","const":"me"},{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"maxLength":128}},"required":["accountId"]}]},{"minItems":1,"type":"array","items":{"anyOf":[{"type":"string","const":"me"},{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"maxLength":128}},"required":["accountId"]}]}}]}},"required":["field","operator","value"]},{"type":"object","properties":{"field":{"type":"string","const":"sprint"},"operator":{"type":"string","enum":["is","isNot"]},"value":{"anyOf":[{"anyOf":[{"type":"string","enum":["open","closed","future"]},{"type":"object","properties":{"sprintId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["sprintId"]}]},{"minItems":1,"type":"array","items":{"anyOf":[{"type":"string","enum":["open","closed","future"]},{"type":"object","properties":{"sprintId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["sprintId"]}]}}]}},"required":["field","operator","value"]},{"type":"object","properties":{"field":{"type":"string","const":"fixVersion"},"operator":{"type":"string","enum":["is","isNot"]},"value":{"anyOf":[{"anyOf":[{"type":"string","enum":["released","unreleased"]},{"type":"object","properties":{"versionId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["versionId"]}]},{"minItems":1,"type":"array","items":{"anyOf":[{"type":"string","enum":["released","unreleased"]},{"type":"object","properties":{"versionId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["versionId"]}]}}]}},"required":["field","operator","value"]},{"type":"object","properties":{"field":{"type":"string","enum":["status","priority","issuetype"]},"operator":{"type":"string","enum":["is","isNot"]},"value":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,31}$"},{"minItems":1,"type":"array","items":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}}]}},"required":["field","operator","value"]},{"type":"object","properties":{"field":{"type":"string","const":"labels"},"operator":{"type":"string","enum":["is","isNot"]},"value":{"type":"string","minLength":1}},"required":["field","operator","value"]}]}}},"required":["kind","filters"]},{"type":"object","properties":{"kind":{"type":"string","const":"jql"},"jql":{"type":"string","minLength":1}},"required":["kind","jql"]}]},"sort":{"type":"object","properties":{"field":{"type":"string","enum":["updated","created","priority","key"]},"direction":{"type":"string","enum":["ASC","DESC"]}},"required":["field","direction"]}},"required":["source","query","sort"]},"destination":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"channel"},"channelId":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,31}$"},{"type":"null"}]}},"required":["kind","channelId"]},{"type":"object","properties":{"kind":{"type":"string","const":"direct-message"},"connectedUserId":{"anyOf":[{"type":"string","pattern":"^[1-9]\\d+$"},{"type":"null"}]}},"required":["kind","connectedUserId"]}]},"schedule":{"oneOf":[{"type":"object","properties":{"frequency":{"type":"string","const":"hourly"},"timezone":{"type":"string"}},"required":["frequency","timezone"]},{"type":"object","properties":{"frequency":{"type":"string","const":"daily"},"timeOfDayMinutes":{"type":"integer","minimum":0,"maximum":1439},"timezone":{"type":"string"}},"required":["frequency","timeOfDayMinutes","timezone"]},{"type":"object","properties":{"frequency":{"type":"string","const":"weekdays"},"timeOfDayMinutes":{"type":"integer","minimum":0,"maximum":1439},"timezone":{"type":"string"}},"required":["frequency","timeOfDayMinutes","timezone"]},{"type":"object","properties":{"frequency":{"type":"string","const":"weekly"},"runWeekday":{"type":"integer","minimum":1,"maximum":7},"timeOfDayMinutes":{"type":"integer","minimum":0,"maximum":1439},"timezone":{"type":"string"}},"required":["frequency","runWeekday","timeOfDayMinutes","timezone"]}]},"onlyWhenResults":{"type":"boolean"},"emptyMessage":{"type":"string"},"content":{"type":"object","properties":{"rowFields":{"maxItems":13,"type":"array","items":{"anyOf":[{"type":"string","enum":["summary","status","assignee","priority","issuetype","updated","created","duedate","labels","reporter","sprint","fixVersions"]},{"type":"string","const":"details"}]}},"detailFields":{"maxItems":12,"type":"array","items":{"type":"string","enum":["summary","status","assignee","priority","issuetype","updated","created","duedate","labels","reporter","sprint","fixVersions"]}},"actions":{"maxItems":8,"type":"array","items":{"type":"string","enum":["comment","assign","transition","assign-teammate","upload-files","manage-labels","create-subtask","set-select-field"]}},"locale":{"type":"string","enum":["en-US","pt-BR","es-ES","pl-PL","fr-FR","ja-JP","de-DE","ko-KR","zh-TW","it-IT","id-ID","tr-TR","nl-NL"]},"showHeader":{"type":"boolean"},"showEmptyFields":{"type":"boolean"}},"required":["rowFields","detailFields","actions","locale","showHeader","showEmptyFields"]}},"required":["name","selection","destination","schedule","onlyWhenResults","emptyMessage","content"]},"enabled":{"type":"boolean"}},"required":["draft","enabled"],"additionalProperties":false},"issueListsInput":{"type":"object","properties":{"displayName":{"type":"string","minLength":1},"slashName":{"type":"string","pattern":"^[-_'\\p{L}\\p{N}\\p{Script=Devanagari}\\p{Script=Thai}]{1,32}$"},"state":{"type":"string","enum":["draft","off","enabled"]},"definition":{"allOf":[{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"list"},"source":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"enabled"}},"required":["kind"]},{"type":"object","properties":{"kind":{"type":"string","const":"projects"},"projectIds":{"minItems":1,"type":"array","items":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}}},"required":["kind","projectIds"]},{"type":"object","properties":{"kind":{"type":"string","const":"issue"},"issueId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"},"children":{"type":"boolean"}},"required":["kind","issueId","children"]}]},"query":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"filters"},"match":{"type":"string","enum":["all","any"]},"jql":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","enum":["assignee","requester"]},"operator":{"type":"string","enum":["is","isNot"]},"value":{"anyOf":[{"anyOf":[{"type":"string","const":"me"},{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"maxLength":128}},"required":["accountId"]}]},{"minItems":1,"type":"array","items":{"anyOf":[{"type":"string","const":"me"},{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"maxLength":128}},"required":["accountId"]}]}}]}},"required":["field","operator","value"]},{"type":"object","properties":{"field":{"type":"string","const":"sprint"},"operator":{"type":"string","enum":["is","isNot"]},"value":{"anyOf":[{"anyOf":[{"type":"string","enum":["open","closed","future"]},{"type":"object","properties":{"sprintId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["sprintId"]}]},{"minItems":1,"type":"array","items":{"anyOf":[{"type":"string","enum":["open","closed","future"]},{"type":"object","properties":{"sprintId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["sprintId"]}]}}]}},"required":["field","operator","value"]},{"type":"object","properties":{"field":{"type":"string","const":"fixVersion"},"operator":{"type":"string","enum":["is","isNot"]},"value":{"anyOf":[{"anyOf":[{"type":"string","enum":["released","unreleased"]},{"type":"object","properties":{"versionId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["versionId"]}]},{"minItems":1,"type":"array","items":{"anyOf":[{"type":"string","enum":["released","unreleased"]},{"type":"object","properties":{"versionId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["versionId"]}]}}]}},"required":["field","operator","value"]},{"type":"object","properties":{"field":{"type":"string","enum":["status","priority","issuetype"]},"operator":{"type":"string","enum":["is","isNot"]},"value":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,31}$"},{"minItems":1,"type":"array","items":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}}]}},"required":["field","operator","value"]},{"type":"object","properties":{"field":{"type":"string","const":"labels"},"operator":{"type":"string","enum":["is","isNot"]},"value":{"type":"string","minLength":1}},"required":["field","operator","value"]}]}}},"required":["kind","filters"]},{"type":"object","properties":{"kind":{"type":"string","const":"jql"},"jql":{"type":"string","minLength":1}},"required":["kind","jql"]}]},"sort":{"type":"object","properties":{"field":{"type":"string","enum":["updated","created","priority","key"]},"direction":{"type":"string","enum":["ASC","DESC"]}},"required":["field","direction"]},"rowFields":{"maxItems":13,"type":"array","items":{"anyOf":[{"type":"string","enum":["summary","status","assignee","priority","issuetype","updated","created","duedate","labels","reporter","sprint","fixVersions"]},{"type":"string","const":"details"}]}},"detailFields":{"maxItems":12,"type":"array","items":{"type":"string","enum":["summary","status","assignee","priority","issuetype","updated","created","duedate","labels","reporter","sprint","fixVersions"]}},"actions":{"maxItems":8,"type":"array","items":{"type":"string","enum":["comment","assign","transition","assign-teammate","upload-files","manage-labels","create-subtask","set-select-field"]}},"showHeader":{"type":"boolean"},"showEmptyFields":{"type":"boolean"},"locale":{"type":"string","enum":["en-US","pt-BR","es-ES","pl-PL","fr-FR","ja-JP","de-DE","ko-KR","zh-TW","it-IT","id-ID","tr-TR","nl-NL"]},"sharing":{"type":"object","properties":{"mode":{"type":"string","enum":["private","post","refresh"]}},"required":["mode"]}},"required":["kind","source","query","sort","rowFields","detailFields","actions","showHeader","showEmptyFields","locale","sharing"]},{"type":"object","properties":{"kind":{"type":"string","const":"form"},"target":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"member"}},"required":["kind"]},{"type":"object","properties":{"kind":{"type":"string","const":"fixed"},"projectId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"},"issueTypeId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["kind","projectId","issueTypeId"]}]},"fields":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","pattern":"^(?:[a-zA-Z][a-zA-Z0-9_]{0,63})$"},"required":{"type":"boolean"}},"required":["fieldId","required"]}},"fixedValues":{"type":"object","propertyNames":{"type":"string","pattern":"^(?:[a-zA-Z][a-zA-Z0-9_]{0,63})$"},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"array","items":{"type":"string"}}]}},"fromMessage":{"type":"boolean"},"threadChannelId":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,31}$"},{"type":"null"}]},"resultFields":{"maxItems":9,"type":"array","items":{"type":"string","enum":["summary","status","assignee","priority","issuetype","updated","created","duedate","labels"]}},"actions":{"maxItems":8,"type":"array","items":{"type":"string","enum":["comment","assign","transition","assign-teammate","upload-files","manage-labels","create-subtask","set-select-field"]}}},"required":["kind","target","fields","fixedValues","fromMessage","threadChannelId","resultFields","actions"]}]},{"type":"object","properties":{"kind":{"type":"string","const":"list"},"source":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"enabled"}},"required":["kind"]},{"type":"object","properties":{"kind":{"type":"string","const":"projects"},"projectIds":{"minItems":1,"type":"array","items":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}}},"required":["kind","projectIds"]},{"type":"object","properties":{"kind":{"type":"string","const":"issue"},"issueId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"},"children":{"type":"boolean"}},"required":["kind","issueId","children"]}]},"query":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"filters"},"match":{"type":"string","enum":["all","any"]},"jql":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","enum":["assignee","requester"]},"operator":{"type":"string","enum":["is","isNot"]},"value":{"anyOf":[{"anyOf":[{"type":"string","const":"me"},{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"maxLength":128}},"required":["accountId"]}]},{"minItems":1,"type":"array","items":{"anyOf":[{"type":"string","const":"me"},{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"maxLength":128}},"required":["accountId"]}]}}]}},"required":["field","operator","value"]},{"type":"object","properties":{"field":{"type":"string","const":"sprint"},"operator":{"type":"string","enum":["is","isNot"]},"value":{"anyOf":[{"anyOf":[{"type":"string","enum":["open","closed","future"]},{"type":"object","properties":{"sprintId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["sprintId"]}]},{"minItems":1,"type":"array","items":{"anyOf":[{"type":"string","enum":["open","closed","future"]},{"type":"object","properties":{"sprintId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["sprintId"]}]}}]}},"required":["field","operator","value"]},{"type":"object","properties":{"field":{"type":"string","const":"fixVersion"},"operator":{"type":"string","enum":["is","isNot"]},"value":{"anyOf":[{"anyOf":[{"type":"string","enum":["released","unreleased"]},{"type":"object","properties":{"versionId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["versionId"]}]},{"minItems":1,"type":"array","items":{"anyOf":[{"type":"string","enum":["released","unreleased"]},{"type":"object","properties":{"versionId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["versionId"]}]}}]}},"required":["field","operator","value"]},{"type":"object","properties":{"field":{"type":"string","enum":["status","priority","issuetype"]},"operator":{"type":"string","enum":["is","isNot"]},"value":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,31}$"},{"minItems":1,"type":"array","items":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}}]}},"required":["field","operator","value"]},{"type":"object","properties":{"field":{"type":"string","const":"labels"},"operator":{"type":"string","enum":["is","isNot"]},"value":{"type":"string","minLength":1}},"required":["field","operator","value"]}]}}},"required":["kind","filters"]},{"type":"object","properties":{"kind":{"type":"string","const":"jql"},"jql":{"type":"string","minLength":1}},"required":["kind","jql"]}]},"sort":{"type":"object","properties":{"field":{"type":"string","enum":["updated","created","priority","key"]},"direction":{"type":"string","enum":["ASC","DESC"]}},"required":["field","direction"]},"rowFields":{"maxItems":13,"type":"array","items":{"anyOf":[{"type":"string","enum":["summary","status","assignee","priority","issuetype","updated","created","duedate","labels","reporter","sprint","fixVersions"]},{"type":"string","const":"details"}]}},"detailFields":{"maxItems":12,"type":"array","items":{"type":"string","enum":["summary","status","assignee","priority","issuetype","updated","created","duedate","labels","reporter","sprint","fixVersions"]}},"actions":{"maxItems":8,"type":"array","items":{"type":"string","enum":["comment","assign","transition","assign-teammate","upload-files","manage-labels","create-subtask","set-select-field"]}},"showHeader":{"type":"boolean"},"showEmptyFields":{"type":"boolean"},"locale":{"type":"string","enum":["en-US","pt-BR","es-ES","pl-PL","fr-FR","ja-JP","de-DE","ko-KR","zh-TW","it-IT","id-ID","tr-TR","nl-NL"]},"sharing":{"type":"object","properties":{"mode":{"type":"string","enum":["private","post","refresh"]}},"required":["mode"]}},"required":["kind","source","query","sort","rowFields","detailFields","actions","showHeader","showEmptyFields","locale","sharing"]}]}},"required":["displayName","slashName","state","definition"]},"formsInput":{"type":"object","properties":{"displayName":{"type":"string","minLength":1},"slashName":{"type":"string","pattern":"^[-_'\\p{L}\\p{N}\\p{Script=Devanagari}\\p{Script=Thai}]{1,32}$"},"state":{"type":"string","enum":["draft","off","enabled"]},"definition":{"allOf":[{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"list"},"source":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"enabled"}},"required":["kind"]},{"type":"object","properties":{"kind":{"type":"string","const":"projects"},"projectIds":{"minItems":1,"type":"array","items":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}}},"required":["kind","projectIds"]},{"type":"object","properties":{"kind":{"type":"string","const":"issue"},"issueId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"},"children":{"type":"boolean"}},"required":["kind","issueId","children"]}]},"query":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"filters"},"match":{"type":"string","enum":["all","any"]},"jql":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","enum":["assignee","requester"]},"operator":{"type":"string","enum":["is","isNot"]},"value":{"anyOf":[{"anyOf":[{"type":"string","const":"me"},{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"maxLength":128}},"required":["accountId"]}]},{"minItems":1,"type":"array","items":{"anyOf":[{"type":"string","const":"me"},{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"maxLength":128}},"required":["accountId"]}]}}]}},"required":["field","operator","value"]},{"type":"object","properties":{"field":{"type":"string","const":"sprint"},"operator":{"type":"string","enum":["is","isNot"]},"value":{"anyOf":[{"anyOf":[{"type":"string","enum":["open","closed","future"]},{"type":"object","properties":{"sprintId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["sprintId"]}]},{"minItems":1,"type":"array","items":{"anyOf":[{"type":"string","enum":["open","closed","future"]},{"type":"object","properties":{"sprintId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["sprintId"]}]}}]}},"required":["field","operator","value"]},{"type":"object","properties":{"field":{"type":"string","const":"fixVersion"},"operator":{"type":"string","enum":["is","isNot"]},"value":{"anyOf":[{"anyOf":[{"type":"string","enum":["released","unreleased"]},{"type":"object","properties":{"versionId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["versionId"]}]},{"minItems":1,"type":"array","items":{"anyOf":[{"type":"string","enum":["released","unreleased"]},{"type":"object","properties":{"versionId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["versionId"]}]}}]}},"required":["field","operator","value"]},{"type":"object","properties":{"field":{"type":"string","enum":["status","priority","issuetype"]},"operator":{"type":"string","enum":["is","isNot"]},"value":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,31}$"},{"minItems":1,"type":"array","items":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}}]}},"required":["field","operator","value"]},{"type":"object","properties":{"field":{"type":"string","const":"labels"},"operator":{"type":"string","enum":["is","isNot"]},"value":{"type":"string","minLength":1}},"required":["field","operator","value"]}]}}},"required":["kind","filters"]},{"type":"object","properties":{"kind":{"type":"string","const":"jql"},"jql":{"type":"string","minLength":1}},"required":["kind","jql"]}]},"sort":{"type":"object","properties":{"field":{"type":"string","enum":["updated","created","priority","key"]},"direction":{"type":"string","enum":["ASC","DESC"]}},"required":["field","direction"]},"rowFields":{"maxItems":13,"type":"array","items":{"anyOf":[{"type":"string","enum":["summary","status","assignee","priority","issuetype","updated","created","duedate","labels","reporter","sprint","fixVersions"]},{"type":"string","const":"details"}]}},"detailFields":{"maxItems":12,"type":"array","items":{"type":"string","enum":["summary","status","assignee","priority","issuetype","updated","created","duedate","labels","reporter","sprint","fixVersions"]}},"actions":{"maxItems":8,"type":"array","items":{"type":"string","enum":["comment","assign","transition","assign-teammate","upload-files","manage-labels","create-subtask","set-select-field"]}},"showHeader":{"type":"boolean"},"showEmptyFields":{"type":"boolean"},"locale":{"type":"string","enum":["en-US","pt-BR","es-ES","pl-PL","fr-FR","ja-JP","de-DE","ko-KR","zh-TW","it-IT","id-ID","tr-TR","nl-NL"]},"sharing":{"type":"object","properties":{"mode":{"type":"string","enum":["private","post","refresh"]}},"required":["mode"]}},"required":["kind","source","query","sort","rowFields","detailFields","actions","showHeader","showEmptyFields","locale","sharing"]},{"type":"object","properties":{"kind":{"type":"string","const":"form"},"target":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"member"}},"required":["kind"]},{"type":"object","properties":{"kind":{"type":"string","const":"fixed"},"projectId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"},"issueTypeId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["kind","projectId","issueTypeId"]}]},"fields":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","pattern":"^(?:[a-zA-Z][a-zA-Z0-9_]{0,63})$"},"required":{"type":"boolean"}},"required":["fieldId","required"]}},"fixedValues":{"type":"object","propertyNames":{"type":"string","pattern":"^(?:[a-zA-Z][a-zA-Z0-9_]{0,63})$"},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"array","items":{"type":"string"}}]}},"fromMessage":{"type":"boolean"},"threadChannelId":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,31}$"},{"type":"null"}]},"resultFields":{"maxItems":9,"type":"array","items":{"type":"string","enum":["summary","status","assignee","priority","issuetype","updated","created","duedate","labels"]}},"actions":{"maxItems":8,"type":"array","items":{"type":"string","enum":["comment","assign","transition","assign-teammate","upload-files","manage-labels","create-subtask","set-select-field"]}}},"required":["kind","target","fields","fixedValues","fromMessage","threadChannelId","resultFields","actions"]}]},{"type":"object","properties":{"kind":{"type":"string","const":"form"},"target":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"member"}},"required":["kind"]},{"type":"object","properties":{"kind":{"type":"string","const":"fixed"},"projectId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"},"issueTypeId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["kind","projectId","issueTypeId"]}]},"fields":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","pattern":"^(?:[a-zA-Z][a-zA-Z0-9_]{0,63})$"},"required":{"type":"boolean"}},"required":["fieldId","required"]}},"fixedValues":{"type":"object","propertyNames":{"type":"string","pattern":"^(?:[a-zA-Z][a-zA-Z0-9_]{0,63})$"},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"array","items":{"type":"string"}}]}},"fromMessage":{"type":"boolean"},"threadChannelId":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,31}$"},{"type":"null"}]},"resultFields":{"maxItems":9,"type":"array","items":{"type":"string","enum":["summary","status","assignee","priority","issuetype","updated","created","duedate","labels"]}},"actions":{"maxItems":8,"type":"array","items":{"type":"string","enum":["comment","assign","transition","assign-teammate","upload-files","manage-labels","create-subtask","set-select-field"]}}},"required":["kind","target","fields","fixedValues","fromMessage","threadChannelId","resultFields","actions"]}]}},"required":["displayName","slashName","state","definition"]},"panelsInput":{"type":"object","properties":{"title":{"type":"string","maxLength":120},"text":{"type":"string","maxLength":3876},"destinationId":{"anyOf":[{"type":"string","pattern":"^\\d{17,20}$"},{"type":"null"}]},"buttons":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"type":"string","maxLength":80},"emoji":{"type":["string","null"]},"style":{"type":"string","enum":["primary","secondary","success","danger"]},"targetId":{"anyOf":[{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"string","pattern":"^ticket:([1-9]\\d*):([1-9]\\d*)$"}]},{"type":"null"}]},"formOverride":{"type":"object","properties":{"projectId":{"type":"string","pattern":"^[1-9]\\d*$"},"issueTypeId":{"type":"string","pattern":"^[1-9]\\d*$"}},"required":["projectId","issueTypeId"]}},"required":["id","label","emoji","style","targetId"]}},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["title","text","destinationId","buttons","name"]},"automationsInput":{"type":"object","properties":{"name":{"type":"string","maxLength":120},"state":{"type":"string","enum":["draft","off","on"]},"definition":{"type":"object","properties":{"trigger":{"anyOf":[{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"jira"},"event":{"type":"string","enum":["jira.issue.created","jira.issue.updated","jira.issue.deleted","jira.comment.created"]},"scope":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"all"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"projects"},"projectIds":{"type":"array","items":{"type":"string","pattern":"^\\d+$"}}},"required":["kind","projectIds"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"issue"},"issueId":{"anyOf":[{"type":"string","pattern":"^\\d+$"},{"type":"string","const":""}]},"children":{"type":"boolean"}},"required":["kind","issueId","children"],"additionalProperties":false}]},"watchedFields":{"type":"array","items":{"type":"string"}},"jql":{"type":"string"}},"required":["kind","event","scope","watchedFields","jql"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"discord"},"event":{"type":"string","enum":["discord.message.created","discord.thread.created","discord.channel.created","discord.thread.state_changed"]},"scope":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"server"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"linked"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["channel","thread","category"]},"id":{"anyOf":[{"type":"string","pattern":"^[1-9]\\d{0,19}$"},{"type":"string","const":""}]}},"required":["kind","id"],"additionalProperties":false}]},"changes":{"type":"array","items":{"type":"string","enum":["closed","reopened","locked","unlocked"]}}},"required":["kind","event","scope","changes"],"additionalProperties":false}]},{"type":"null"}]},"actor":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"app"},"authorizedBy":{"type":"string"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"eventAuthor"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"linkedMember"},"userAccountId":{"type":"string"}},"required":["kind","userAccountId"],"additionalProperties":false}]},"description":{"type":"string"},"conditions":{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"field":{"type":"string","enum":["jira.field","jira.changed","jira.from","jira.to","discord.author","discord.author_linked","discord.roles","discord.text","discord.attachment","discord.link","discord.mentions"]},"fieldId":{"type":"string"},"operator":{"type":"string","enum":["is","is_not","contains","starts_with","has_any","exists"]},"value":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"},{"type":"array","items":{"type":"string"}}]}},"required":["id","field","operator","value"],"additionalProperties":false}}},"required":["match","rules"],"additionalProperties":false},"actions":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","const":"discord.createResource"},"resource":{"type":"string","enum":["publicThread","privateThread","forumPost","textChannel"]},"parent":{"anyOf":[{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trigger"},"variableId":{"type":"string"}},"required":["kind","variableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action"},"actionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variableId":{"type":"string"}},"required":["kind","actionId","variableId"],"additionalProperties":false}]},{"type":"object","properties":{"kind":{"type":"string","const":"fixed"},"id":{"type":"string"}},"required":["kind","id"],"additionalProperties":false}]},"name":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"text"},"text":{"type":"string"}},"required":["kind","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"variable"},"reference":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trigger"},"variableId":{"type":"string"}},"required":["kind","variableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action"},"actionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variableId":{"type":"string"}},"required":["kind","actionId","variableId"],"additionalProperties":false}]}},"required":["kind","reference"],"additionalProperties":false}]}},"starter":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"text"},"text":{"type":"string"}},"required":["kind","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"variable"},"reference":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trigger"},"variableId":{"type":"string"}},"required":["kind","variableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action"},"actionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variableId":{"type":"string"}},"required":["kind","actionId","variableId"],"additionalProperties":false}]}},"required":["kind","reference"],"additionalProperties":false}]}}},"required":["id","kind","resource","parent","name","starter"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","const":"discord.grantAccess"},"target":{"anyOf":[{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trigger"},"variableId":{"type":"string"}},"required":["kind","variableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action"},"actionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variableId":{"type":"string"}},"required":["kind","actionId","variableId"],"additionalProperties":false}]},{"type":"object","properties":{"kind":{"type":"string","const":"fixed"},"id":{"type":"string"}},"required":["kind","id"],"additionalProperties":false}]},"members":{"type":"array","items":{"type":"string","pattern":"^[1-9]\\d{0,19}$"}},"roles":{"type":"array","items":{"type":"string","pattern":"^[1-9]\\d{0,19}$"}},"includeActor":{"type":"boolean"},"jiraField":{"type":"string"}},"required":["id","kind","target","members","roles","includeActor","jiraField"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","const":"jira.createIssue"},"formId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"string","const":""}]},"projectId":{"anyOf":[{"type":"string","pattern":"^\\d+$"},{"type":"string","const":""}]},"issueTypeId":{"anyOf":[{"type":"string","pattern":"^\\d+$"},{"type":"string","const":""}]},"fields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"value"},"value":{"$ref":"#/components/schemas/automationsInput/$defs/__schema0"}},"required":["kind","value"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"template"},"segments":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"text"},"text":{"type":"string"}},"required":["kind","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"variable"},"reference":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trigger"},"variableId":{"type":"string"}},"required":["kind","variableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action"},"actionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variableId":{"type":"string"}},"required":["kind","actionId","variableId"],"additionalProperties":false}]}},"required":["kind","reference"],"additionalProperties":false}]}}},"required":["kind","segments"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"variable"},"reference":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trigger"},"variableId":{"type":"string"}},"required":["kind","variableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action"},"actionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variableId":{"type":"string"}},"required":["kind","actionId","variableId"],"additionalProperties":false}]}},"required":["kind","reference"],"additionalProperties":false}]}}},"required":["id","kind","formId","projectId","issueTypeId","fields"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","const":"jira.addComment"},"issue":{"anyOf":[{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trigger"},"variableId":{"type":"string"}},"required":["kind","variableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action"},"actionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variableId":{"type":"string"}},"required":["kind","actionId","variableId"],"additionalProperties":false}]},{"type":"object","properties":{"kind":{"type":"string","const":"fixed"},"id":{"type":"string"}},"required":["kind","id"],"additionalProperties":false}]},"content":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"text"},"text":{"type":"string"}},"required":["kind","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"variable"},"reference":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trigger"},"variableId":{"type":"string"}},"required":["kind","variableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action"},"actionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variableId":{"type":"string"}},"required":["kind","actionId","variableId"],"additionalProperties":false}]}},"required":["kind","reference"],"additionalProperties":false}]}},"visibility":{"type":"string","enum":["jira","internal","public"]}},"required":["id","kind","issue","content","visibility"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","const":"jira.updateIssue"},"issue":{"anyOf":[{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trigger"},"variableId":{"type":"string"}},"required":["kind","variableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action"},"actionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variableId":{"type":"string"}},"required":["kind","actionId","variableId"],"additionalProperties":false}]},{"type":"object","properties":{"kind":{"type":"string","const":"fixed"},"id":{"type":"string"}},"required":["kind","id"],"additionalProperties":false}]},"update":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"field"},"fieldId":{"type":"string"},"value":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"value"},"value":{"$ref":"#/components/schemas/automationsInput/$defs/__schema0"}},"required":["kind","value"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"template"},"segments":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"text"},"text":{"type":"string"}},"required":["kind","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"variable"},"reference":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trigger"},"variableId":{"type":"string"}},"required":["kind","variableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action"},"actionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variableId":{"type":"string"}},"required":["kind","actionId","variableId"],"additionalProperties":false}]}},"required":["kind","reference"],"additionalProperties":false}]}}},"required":["kind","segments"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"variable"},"reference":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trigger"},"variableId":{"type":"string"}},"required":["kind","variableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action"},"actionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variableId":{"type":"string"}},"required":["kind","actionId","variableId"],"additionalProperties":false}]}},"required":["kind","reference"],"additionalProperties":false}]}},"required":["kind","fieldId","value"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"transition"},"transitionId":{"type":"string"},"statusId":{"type":"string"}},"required":["kind","transitionId"],"additionalProperties":false}]}},"required":["id","kind","issue","update"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","const":"discord.changeThread"},"target":{"anyOf":[{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trigger"},"variableId":{"type":"string"}},"required":["kind","variableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action"},"actionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variableId":{"type":"string"}},"required":["kind","actionId","variableId"],"additionalProperties":false}]},{"type":"object","properties":{"kind":{"type":"string","const":"fixed"},"id":{"type":"string"}},"required":["kind","id"],"additionalProperties":false}]},"operation":{"type":"string","enum":["close","close_and_lock","reopen","lock","unlock"]}},"required":["id","kind","target","operation"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","const":"jira.linkDiscussion"},"issue":{"anyOf":[{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trigger"},"variableId":{"type":"string"}},"required":["kind","variableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action"},"actionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variableId":{"type":"string"}},"required":["kind","actionId","variableId"],"additionalProperties":false}]},{"type":"object","properties":{"kind":{"type":"string","const":"fixed"},"id":{"type":"string"}},"required":["kind","id"],"additionalProperties":false}]},"discussion":{"anyOf":[{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trigger"},"variableId":{"type":"string"}},"required":["kind","variableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action"},"actionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variableId":{"type":"string"}},"required":["kind","actionId","variableId"],"additionalProperties":false}]},{"type":"object","properties":{"kind":{"type":"string","const":"fixed"},"id":{"type":"string"}},"required":["kind","id"],"additionalProperties":false}]}},"required":["id","kind","issue","discussion"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","const":"discord.sendMessage"},"target":{"anyOf":[{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trigger"},"variableId":{"type":"string"}},"required":["kind","variableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action"},"actionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variableId":{"type":"string"}},"required":["kind","actionId","variableId"],"additionalProperties":false}]},{"type":"object","properties":{"kind":{"type":"string","const":"fixed"},"id":{"type":"string"}},"required":["kind","id"],"additionalProperties":false}]},"content":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"text"},"text":{"type":"string"}},"required":["kind","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"variable"},"reference":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trigger"},"variableId":{"type":"string"}},"required":["kind","variableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action"},"actionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variableId":{"type":"string"}},"required":["kind","actionId","variableId"],"additionalProperties":false}]}},"required":["kind","reference"],"additionalProperties":false}]}},"layout":{"type":"string","enum":["message","embed"]},"mentions":{"type":"object","properties":{"users":{"type":"array","items":{"type":"string","pattern":"^[1-9]\\d{0,19}$"}},"roles":{"type":"array","items":{"type":"string","pattern":"^[1-9]\\d{0,19}$"}}},"required":["users","roles"],"additionalProperties":false}},"required":["id","kind","target","content","layout","mentions"],"additionalProperties":false}]}}},"required":["trigger","actor","description","conditions","actions"],"additionalProperties":false}},"required":["name","state","definition"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/automationsInput/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/automationsInput/$defs/__schema0"}}]}}},"notificationRules":{"type":"object","properties":{"draft":{"type":"boolean"},"fromStatusIds":{"type":"array","items":{"type":"string","pattern":"^[1-9]\\d{0,18}$"}},"destination":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["channel","issue-thread"]},"channelId":{"type":"string","maxLength":20}},"required":["kind","channelId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"direct-message"},"connectedUserId":{"anyOf":[{"type":"string","pattern":"^[1-9]\\d{0,18}$"},{"type":"string","const":""}]}},"required":["kind","connectedUserId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"linked-discussion"}},"required":["kind"],"additionalProperties":false}]},"sourceScope":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"all-enabled-projects"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"projects"},"projectIds":{"type":"array","items":{"type":"string","pattern":"^[1-9]\\d{0,18}$"}}},"required":["kind","projectIds"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"issue"},"issueId":{"type":"string","pattern":"^[1-9]\\d{0,18}$"},"includeChildren":{"type":"boolean"},"includeIssue":{"type":"boolean"}},"required":["kind","issueId","includeChildren"],"additionalProperties":false}]},"presentation":{"type":"object","properties":{"layout":{"type":"string","enum":["compact","detailed"]},"locale":{"type":"string","maxLength":35},"eventLabel":{"type":"string"}},"required":["layout","locale"],"additionalProperties":false},"quickActions":{"type":"object","properties":{"buttons":{"type":"array","items":{"type":"object","properties":{"action":{"type":"string","maxLength":64},"label":{"type":"string","maxLength":80}},"required":["action"],"additionalProperties":false}},"dropdowns":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","maxLength":128},"label":{"type":"string","minLength":1,"maxLength":150},"valueIds":{"maxItems":25,"type":"array","items":{"type":"string","maxLength":100}},"fieldLabel":{"type":"string","minLength":1},"optionLabels":{"type":"object","propertyNames":{"type":"string","maxLength":100},"additionalProperties":{"type":"string","minLength":1,"maxLength":100}},"multiple":{"type":"boolean"}},"required":["fieldId","label","valueIds"],"additionalProperties":false}}},"required":["buttons","dropdowns"],"additionalProperties":false},"conditions":{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rows":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"fieldId":{"type":"string"},"operator":{"type":"string","enum":["is","is-not","contains","does-not-contain","is-empty","before","after"]},"value":{"type":"string"}},"required":["fieldId","operator","value"],"additionalProperties":false},{"type":"object","properties":{"fieldId":{"type":"string"},"operator":{"type":"string","enum":["is","is-not","contains","does-not-contain","is-empty","before","after"]},"value":{"type":"array","items":{"type":"string"}}},"required":["fieldId","operator","value"],"additionalProperties":false}]}}},"required":["match","rows"],"additionalProperties":false},"digest":{"type":"object","properties":{"rowFields":{"type":"array","items":{"type":"string","enum":["issue","change","time","project","actor","priority"]}},"includeDetails":{"type":"boolean"}},"required":["rowFields","includeDetails"],"additionalProperties":false},"notificationName":{"type":"string","maxLength":255},"channelId":{"type":"string","maxLength":20},"issueJQL":{"type":"string","maxLength":2000},"issueOperations":{"type":"array","items":{"type":"string"}},"issueCommentOperations":{"type":"array","items":{"type":"string"}},"issueFieldsChanged":{"type":"array","items":{"type":"string"}},"issueTransitionedTo":{"type":"array","items":{"type":"string"}},"displayedFields":{"type":"array","items":{"type":"string"}},"displayedCommentFields":{"type":"array","items":{"type":"string"}},"displayedIssueActions":{"type":"array","items":{"type":"string"}},"displayedCommentActions":{"type":"array","items":{"type":"string"}},"showImages":{"type":"boolean"},"showOnlyChangedFields":{"type":"boolean"},"mentionDiscordUsers":{"type":"boolean"},"mentionedRoleIds":{"type":"array","items":{"type":"string"}},"showChangeEmojis":{"type":["boolean","null"]},"useThreadNotifications":{"type":"boolean"},"suppressBulkUpdates":{"type":"boolean"},"deliveryMode":{"type":"string","enum":["instant","quiet-window","scheduled"]},"quietWindowMinutes":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"deliverySchedule":{"anyOf":[{"oneOf":[{"type":"object","properties":{"frequency":{"type":"string","const":"hourly"},"timezone":{"type":"string"}},"required":["frequency","timezone"],"additionalProperties":false},{"type":"object","properties":{"frequency":{"type":"string","const":"daily"},"timeOfDayMinutes":{"type":"integer","minimum":0,"maximum":1439},"timezone":{"type":"string"}},"required":["frequency","timeOfDayMinutes","timezone"],"additionalProperties":false},{"type":"object","properties":{"frequency":{"type":"string","const":"weekdays"},"timeOfDayMinutes":{"type":"integer","minimum":0,"maximum":1439},"timezone":{"type":"string"}},"required":["frequency","timeOfDayMinutes","timezone"],"additionalProperties":false},{"type":"object","properties":{"frequency":{"type":"string","const":"weekly"},"runWeekday":{"type":"integer","minimum":1,"maximum":7},"timeOfDayMinutes":{"type":"integer","minimum":0,"maximum":1439},"timezone":{"type":"string"}},"required":["frequency","runWeekday","timeOfDayMinutes","timezone"],"additionalProperties":false}]},{"type":"null"}]}},"required":["notificationName"],"allOf":[{"type":"object","properties":{"id":{"type":"string"},"connectedServerId":{"type":"integer"},"projectKey":{"type":["string","null"]},"enabled":{"type":"boolean"},"nextRunAt":{"type":["string","null"],"format":"date-time"}},"required":["id","connectedServerId","projectKey","enabled","nextRunAt"]}]},"scheduledSummaries":{"type":"object","properties":{"name":{"type":"string","minLength":1},"selection":{"type":"object","properties":{"source":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"enabled"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"projects"},"projectIds":{"minItems":1,"type":"array","items":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}}},"required":["kind","projectIds"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"issue"},"issueId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"},"children":{"type":"boolean"}},"required":["kind","issueId","children"],"additionalProperties":false}]},"query":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"filters"},"match":{"type":"string","enum":["all","any"]},"jql":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","enum":["assignee","requester"]},"operator":{"type":"string","enum":["is","isNot"]},"value":{"anyOf":[{"anyOf":[{"type":"string","const":"me"},{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"maxLength":128}},"required":["accountId"],"additionalProperties":false}]},{"minItems":1,"type":"array","items":{"anyOf":[{"type":"string","const":"me"},{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"maxLength":128}},"required":["accountId"],"additionalProperties":false}]}}]}},"required":["field","operator","value"],"additionalProperties":false},{"type":"object","properties":{"field":{"type":"string","const":"sprint"},"operator":{"type":"string","enum":["is","isNot"]},"value":{"anyOf":[{"anyOf":[{"type":"string","enum":["open","closed","future"]},{"type":"object","properties":{"sprintId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["sprintId"],"additionalProperties":false}]},{"minItems":1,"type":"array","items":{"anyOf":[{"type":"string","enum":["open","closed","future"]},{"type":"object","properties":{"sprintId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["sprintId"],"additionalProperties":false}]}}]}},"required":["field","operator","value"],"additionalProperties":false},{"type":"object","properties":{"field":{"type":"string","const":"fixVersion"},"operator":{"type":"string","enum":["is","isNot"]},"value":{"anyOf":[{"anyOf":[{"type":"string","enum":["released","unreleased"]},{"type":"object","properties":{"versionId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["versionId"],"additionalProperties":false}]},{"minItems":1,"type":"array","items":{"anyOf":[{"type":"string","enum":["released","unreleased"]},{"type":"object","properties":{"versionId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["versionId"],"additionalProperties":false}]}}]}},"required":["field","operator","value"],"additionalProperties":false},{"type":"object","properties":{"field":{"type":"string","enum":["status","priority","issuetype"]},"operator":{"type":"string","enum":["is","isNot"]},"value":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,31}$"},{"minItems":1,"type":"array","items":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}}]}},"required":["field","operator","value"],"additionalProperties":false},{"type":"object","properties":{"field":{"type":"string","const":"labels"},"operator":{"type":"string","enum":["is","isNot"]},"value":{"type":"string","minLength":1}},"required":["field","operator","value"],"additionalProperties":false}]}}},"required":["kind","filters"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"jql"},"jql":{"type":"string","minLength":1}},"required":["kind","jql"],"additionalProperties":false}]},"sort":{"type":"object","properties":{"field":{"type":"string","enum":["updated","created","priority","key"]},"direction":{"type":"string","enum":["ASC","DESC"]}},"required":["field","direction"],"additionalProperties":false}},"required":["source","query","sort"],"additionalProperties":false},"destination":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"channel"},"channelId":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,31}$"},{"type":"null"}]}},"required":["kind","channelId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"direct-message"},"connectedUserId":{"anyOf":[{"type":"string","pattern":"^[1-9]\\d+$"},{"type":"null"}]}},"required":["kind","connectedUserId"],"additionalProperties":false}]},"schedule":{"oneOf":[{"type":"object","properties":{"frequency":{"type":"string","const":"hourly"},"timezone":{"type":"string"}},"required":["frequency","timezone"],"additionalProperties":false},{"type":"object","properties":{"frequency":{"type":"string","const":"daily"},"timeOfDayMinutes":{"type":"integer","minimum":0,"maximum":1439},"timezone":{"type":"string"}},"required":["frequency","timeOfDayMinutes","timezone"],"additionalProperties":false},{"type":"object","properties":{"frequency":{"type":"string","const":"weekdays"},"timeOfDayMinutes":{"type":"integer","minimum":0,"maximum":1439},"timezone":{"type":"string"}},"required":["frequency","timeOfDayMinutes","timezone"],"additionalProperties":false},{"type":"object","properties":{"frequency":{"type":"string","const":"weekly"},"runWeekday":{"type":"integer","minimum":1,"maximum":7},"timeOfDayMinutes":{"type":"integer","minimum":0,"maximum":1439},"timezone":{"type":"string"}},"required":["frequency","runWeekday","timeOfDayMinutes","timezone"],"additionalProperties":false}]},"onlyWhenResults":{"type":"boolean"},"emptyMessage":{"type":"string"},"content":{"type":"object","properties":{"rowFields":{"maxItems":13,"type":"array","items":{"anyOf":[{"type":"string","enum":["summary","status","assignee","priority","issuetype","updated","created","duedate","labels","reporter","sprint","fixVersions"]},{"type":"string","const":"details"}]}},"detailFields":{"maxItems":12,"type":"array","items":{"type":"string","enum":["summary","status","assignee","priority","issuetype","updated","created","duedate","labels","reporter","sprint","fixVersions"]}},"actions":{"maxItems":8,"type":"array","items":{"type":"string","enum":["comment","assign","transition","assign-teammate","upload-files","manage-labels","create-subtask","set-select-field"]}},"locale":{"type":"string","enum":["en-US","pt-BR","es-ES","pl-PL","fr-FR","ja-JP","de-DE","ko-KR","zh-TW","it-IT","id-ID","tr-TR","nl-NL"]},"showHeader":{"type":"boolean"},"showEmptyFields":{"type":"boolean"}},"required":["rowFields","detailFields","actions","locale","showHeader","showEmptyFields"],"additionalProperties":false}},"required":["name","selection","destination","schedule","onlyWhenResults","emptyMessage","content"],"allOf":[{"type":"object","properties":{"id":{"type":"string"},"revision":{"type":"integer","minimum":1},"state":{"enum":["draft","enabled","off"]},"pausedReason":{"type":["string","null"]},"nextRunAt":{"type":["string","null"],"format":"date-time"}},"required":["id","revision","state","pausedReason","nextRunAt"]}]},"issueLists":{"type":"object","properties":{"displayName":{"type":"string","minLength":1},"slashName":{"type":"string","pattern":"^[-_'\\p{L}\\p{N}\\p{Script=Devanagari}\\p{Script=Thai}]{1,32}$"},"state":{"type":"string","enum":["draft","off","enabled"]},"definition":{"allOf":[{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"list"},"source":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"enabled"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"projects"},"projectIds":{"minItems":1,"type":"array","items":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}}},"required":["kind","projectIds"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"issue"},"issueId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"},"children":{"type":"boolean"}},"required":["kind","issueId","children"],"additionalProperties":false}]},"query":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"filters"},"match":{"type":"string","enum":["all","any"]},"jql":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","enum":["assignee","requester"]},"operator":{"type":"string","enum":["is","isNot"]},"value":{"anyOf":[{"anyOf":[{"type":"string","const":"me"},{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"maxLength":128}},"required":["accountId"],"additionalProperties":false}]},{"minItems":1,"type":"array","items":{"anyOf":[{"type":"string","const":"me"},{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"maxLength":128}},"required":["accountId"],"additionalProperties":false}]}}]}},"required":["field","operator","value"],"additionalProperties":false},{"type":"object","properties":{"field":{"type":"string","const":"sprint"},"operator":{"type":"string","enum":["is","isNot"]},"value":{"anyOf":[{"anyOf":[{"type":"string","enum":["open","closed","future"]},{"type":"object","properties":{"sprintId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["sprintId"],"additionalProperties":false}]},{"minItems":1,"type":"array","items":{"anyOf":[{"type":"string","enum":["open","closed","future"]},{"type":"object","properties":{"sprintId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["sprintId"],"additionalProperties":false}]}}]}},"required":["field","operator","value"],"additionalProperties":false},{"type":"object","properties":{"field":{"type":"string","const":"fixVersion"},"operator":{"type":"string","enum":["is","isNot"]},"value":{"anyOf":[{"anyOf":[{"type":"string","enum":["released","unreleased"]},{"type":"object","properties":{"versionId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["versionId"],"additionalProperties":false}]},{"minItems":1,"type":"array","items":{"anyOf":[{"type":"string","enum":["released","unreleased"]},{"type":"object","properties":{"versionId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["versionId"],"additionalProperties":false}]}}]}},"required":["field","operator","value"],"additionalProperties":false},{"type":"object","properties":{"field":{"type":"string","enum":["status","priority","issuetype"]},"operator":{"type":"string","enum":["is","isNot"]},"value":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,31}$"},{"minItems":1,"type":"array","items":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}}]}},"required":["field","operator","value"],"additionalProperties":false},{"type":"object","properties":{"field":{"type":"string","const":"labels"},"operator":{"type":"string","enum":["is","isNot"]},"value":{"type":"string","minLength":1}},"required":["field","operator","value"],"additionalProperties":false}]}}},"required":["kind","filters"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"jql"},"jql":{"type":"string","minLength":1}},"required":["kind","jql"],"additionalProperties":false}]},"sort":{"type":"object","properties":{"field":{"type":"string","enum":["updated","created","priority","key"]},"direction":{"type":"string","enum":["ASC","DESC"]}},"required":["field","direction"],"additionalProperties":false},"rowFields":{"maxItems":13,"type":"array","items":{"anyOf":[{"type":"string","enum":["summary","status","assignee","priority","issuetype","updated","created","duedate","labels","reporter","sprint","fixVersions"]},{"type":"string","const":"details"}]}},"detailFields":{"maxItems":12,"type":"array","items":{"type":"string","enum":["summary","status","assignee","priority","issuetype","updated","created","duedate","labels","reporter","sprint","fixVersions"]}},"actions":{"maxItems":8,"type":"array","items":{"type":"string","enum":["comment","assign","transition","assign-teammate","upload-files","manage-labels","create-subtask","set-select-field"]}},"showHeader":{"type":"boolean"},"showEmptyFields":{"type":"boolean"},"locale":{"type":"string","enum":["en-US","pt-BR","es-ES","pl-PL","fr-FR","ja-JP","de-DE","ko-KR","zh-TW","it-IT","id-ID","tr-TR","nl-NL"]},"sharing":{"type":"object","properties":{"mode":{"type":"string","enum":["private","post","refresh"]}},"required":["mode"],"additionalProperties":false}},"required":["kind","source","query","sort","rowFields","detailFields","actions","showHeader","showEmptyFields","locale","sharing"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"form"},"target":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"member"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"fixed"},"projectId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"},"issueTypeId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["kind","projectId","issueTypeId"],"additionalProperties":false}]},"fields":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","pattern":"^(?:[a-zA-Z][a-zA-Z0-9_]{0,63})$"},"required":{"type":"boolean"}},"required":["fieldId","required"],"additionalProperties":false}},"fixedValues":{"type":"object","propertyNames":{"type":"string","pattern":"^(?:[a-zA-Z][a-zA-Z0-9_]{0,63})$"},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"array","items":{"type":"string"}}]}},"fromMessage":{"type":"boolean"},"threadChannelId":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,31}$"},{"type":"null"}]},"resultFields":{"maxItems":9,"type":"array","items":{"type":"string","enum":["summary","status","assignee","priority","issuetype","updated","created","duedate","labels"]}},"actions":{"maxItems":8,"type":"array","items":{"type":"string","enum":["comment","assign","transition","assign-teammate","upload-files","manage-labels","create-subtask","set-select-field"]}}},"required":["kind","target","fields","fixedValues","fromMessage","threadChannelId","resultFields","actions"],"additionalProperties":false}]},{"type":"object","properties":{"kind":{"type":"string","const":"list"},"source":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"enabled"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"projects"},"projectIds":{"minItems":1,"type":"array","items":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}}},"required":["kind","projectIds"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"issue"},"issueId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"},"children":{"type":"boolean"}},"required":["kind","issueId","children"],"additionalProperties":false}]},"query":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"filters"},"match":{"type":"string","enum":["all","any"]},"jql":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","enum":["assignee","requester"]},"operator":{"type":"string","enum":["is","isNot"]},"value":{"anyOf":[{"anyOf":[{"type":"string","const":"me"},{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"maxLength":128}},"required":["accountId"],"additionalProperties":false}]},{"minItems":1,"type":"array","items":{"anyOf":[{"type":"string","const":"me"},{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"maxLength":128}},"required":["accountId"],"additionalProperties":false}]}}]}},"required":["field","operator","value"],"additionalProperties":false},{"type":"object","properties":{"field":{"type":"string","const":"sprint"},"operator":{"type":"string","enum":["is","isNot"]},"value":{"anyOf":[{"anyOf":[{"type":"string","enum":["open","closed","future"]},{"type":"object","properties":{"sprintId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["sprintId"],"additionalProperties":false}]},{"minItems":1,"type":"array","items":{"anyOf":[{"type":"string","enum":["open","closed","future"]},{"type":"object","properties":{"sprintId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["sprintId"],"additionalProperties":false}]}}]}},"required":["field","operator","value"],"additionalProperties":false},{"type":"object","properties":{"field":{"type":"string","const":"fixVersion"},"operator":{"type":"string","enum":["is","isNot"]},"value":{"anyOf":[{"anyOf":[{"type":"string","enum":["released","unreleased"]},{"type":"object","properties":{"versionId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["versionId"],"additionalProperties":false}]},{"minItems":1,"type":"array","items":{"anyOf":[{"type":"string","enum":["released","unreleased"]},{"type":"object","properties":{"versionId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["versionId"],"additionalProperties":false}]}}]}},"required":["field","operator","value"],"additionalProperties":false},{"type":"object","properties":{"field":{"type":"string","enum":["status","priority","issuetype"]},"operator":{"type":"string","enum":["is","isNot"]},"value":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,31}$"},{"minItems":1,"type":"array","items":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}}]}},"required":["field","operator","value"],"additionalProperties":false},{"type":"object","properties":{"field":{"type":"string","const":"labels"},"operator":{"type":"string","enum":["is","isNot"]},"value":{"type":"string","minLength":1}},"required":["field","operator","value"],"additionalProperties":false}]}}},"required":["kind","filters"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"jql"},"jql":{"type":"string","minLength":1}},"required":["kind","jql"],"additionalProperties":false}]},"sort":{"type":"object","properties":{"field":{"type":"string","enum":["updated","created","priority","key"]},"direction":{"type":"string","enum":["ASC","DESC"]}},"required":["field","direction"],"additionalProperties":false},"rowFields":{"maxItems":13,"type":"array","items":{"anyOf":[{"type":"string","enum":["summary","status","assignee","priority","issuetype","updated","created","duedate","labels","reporter","sprint","fixVersions"]},{"type":"string","const":"details"}]}},"detailFields":{"maxItems":12,"type":"array","items":{"type":"string","enum":["summary","status","assignee","priority","issuetype","updated","created","duedate","labels","reporter","sprint","fixVersions"]}},"actions":{"maxItems":8,"type":"array","items":{"type":"string","enum":["comment","assign","transition","assign-teammate","upload-files","manage-labels","create-subtask","set-select-field"]}},"showHeader":{"type":"boolean"},"showEmptyFields":{"type":"boolean"},"locale":{"type":"string","enum":["en-US","pt-BR","es-ES","pl-PL","fr-FR","ja-JP","de-DE","ko-KR","zh-TW","it-IT","id-ID","tr-TR","nl-NL"]},"sharing":{"type":"object","properties":{"mode":{"type":"string","enum":["private","post","refresh"]}},"required":["mode"],"additionalProperties":false}},"required":["kind","source","query","sort","rowFields","detailFields","actions","showHeader","showEmptyFields","locale","sharing"],"additionalProperties":false}]}},"required":["displayName","slashName","state","definition"],"allOf":[{"type":"object","properties":{"id":{"type":"string"},"revision":{"type":"integer","minimum":1},"projectId":{"type":["string","null"]},"registrationError":{"type":["string","null"]},"lastUsedAt":{"type":["string","null"],"format":"date-time"}},"required":["id","revision","projectId","registrationError","lastUsedAt"]}]},"forms":{"type":"object","properties":{"displayName":{"type":"string","minLength":1},"slashName":{"type":"string","pattern":"^[-_'\\p{L}\\p{N}\\p{Script=Devanagari}\\p{Script=Thai}]{1,32}$"},"state":{"type":"string","enum":["draft","off","enabled"]},"definition":{"allOf":[{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"list"},"source":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"enabled"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"projects"},"projectIds":{"minItems":1,"type":"array","items":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}}},"required":["kind","projectIds"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"issue"},"issueId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"},"children":{"type":"boolean"}},"required":["kind","issueId","children"],"additionalProperties":false}]},"query":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"filters"},"match":{"type":"string","enum":["all","any"]},"jql":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","enum":["assignee","requester"]},"operator":{"type":"string","enum":["is","isNot"]},"value":{"anyOf":[{"anyOf":[{"type":"string","const":"me"},{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"maxLength":128}},"required":["accountId"],"additionalProperties":false}]},{"minItems":1,"type":"array","items":{"anyOf":[{"type":"string","const":"me"},{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"maxLength":128}},"required":["accountId"],"additionalProperties":false}]}}]}},"required":["field","operator","value"],"additionalProperties":false},{"type":"object","properties":{"field":{"type":"string","const":"sprint"},"operator":{"type":"string","enum":["is","isNot"]},"value":{"anyOf":[{"anyOf":[{"type":"string","enum":["open","closed","future"]},{"type":"object","properties":{"sprintId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["sprintId"],"additionalProperties":false}]},{"minItems":1,"type":"array","items":{"anyOf":[{"type":"string","enum":["open","closed","future"]},{"type":"object","properties":{"sprintId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["sprintId"],"additionalProperties":false}]}}]}},"required":["field","operator","value"],"additionalProperties":false},{"type":"object","properties":{"field":{"type":"string","const":"fixVersion"},"operator":{"type":"string","enum":["is","isNot"]},"value":{"anyOf":[{"anyOf":[{"type":"string","enum":["released","unreleased"]},{"type":"object","properties":{"versionId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["versionId"],"additionalProperties":false}]},{"minItems":1,"type":"array","items":{"anyOf":[{"type":"string","enum":["released","unreleased"]},{"type":"object","properties":{"versionId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["versionId"],"additionalProperties":false}]}}]}},"required":["field","operator","value"],"additionalProperties":false},{"type":"object","properties":{"field":{"type":"string","enum":["status","priority","issuetype"]},"operator":{"type":"string","enum":["is","isNot"]},"value":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,31}$"},{"minItems":1,"type":"array","items":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}}]}},"required":["field","operator","value"],"additionalProperties":false},{"type":"object","properties":{"field":{"type":"string","const":"labels"},"operator":{"type":"string","enum":["is","isNot"]},"value":{"type":"string","minLength":1}},"required":["field","operator","value"],"additionalProperties":false}]}}},"required":["kind","filters"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"jql"},"jql":{"type":"string","minLength":1}},"required":["kind","jql"],"additionalProperties":false}]},"sort":{"type":"object","properties":{"field":{"type":"string","enum":["updated","created","priority","key"]},"direction":{"type":"string","enum":["ASC","DESC"]}},"required":["field","direction"],"additionalProperties":false},"rowFields":{"maxItems":13,"type":"array","items":{"anyOf":[{"type":"string","enum":["summary","status","assignee","priority","issuetype","updated","created","duedate","labels","reporter","sprint","fixVersions"]},{"type":"string","const":"details"}]}},"detailFields":{"maxItems":12,"type":"array","items":{"type":"string","enum":["summary","status","assignee","priority","issuetype","updated","created","duedate","labels","reporter","sprint","fixVersions"]}},"actions":{"maxItems":8,"type":"array","items":{"type":"string","enum":["comment","assign","transition","assign-teammate","upload-files","manage-labels","create-subtask","set-select-field"]}},"showHeader":{"type":"boolean"},"showEmptyFields":{"type":"boolean"},"locale":{"type":"string","enum":["en-US","pt-BR","es-ES","pl-PL","fr-FR","ja-JP","de-DE","ko-KR","zh-TW","it-IT","id-ID","tr-TR","nl-NL"]},"sharing":{"type":"object","properties":{"mode":{"type":"string","enum":["private","post","refresh"]}},"required":["mode"],"additionalProperties":false}},"required":["kind","source","query","sort","rowFields","detailFields","actions","showHeader","showEmptyFields","locale","sharing"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"form"},"target":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"member"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"fixed"},"projectId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"},"issueTypeId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["kind","projectId","issueTypeId"],"additionalProperties":false}]},"fields":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","pattern":"^(?:[a-zA-Z][a-zA-Z0-9_]{0,63})$"},"required":{"type":"boolean"}},"required":["fieldId","required"],"additionalProperties":false}},"fixedValues":{"type":"object","propertyNames":{"type":"string","pattern":"^(?:[a-zA-Z][a-zA-Z0-9_]{0,63})$"},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"array","items":{"type":"string"}}]}},"fromMessage":{"type":"boolean"},"threadChannelId":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,31}$"},{"type":"null"}]},"resultFields":{"maxItems":9,"type":"array","items":{"type":"string","enum":["summary","status","assignee","priority","issuetype","updated","created","duedate","labels"]}},"actions":{"maxItems":8,"type":"array","items":{"type":"string","enum":["comment","assign","transition","assign-teammate","upload-files","manage-labels","create-subtask","set-select-field"]}}},"required":["kind","target","fields","fixedValues","fromMessage","threadChannelId","resultFields","actions"],"additionalProperties":false}]},{"type":"object","properties":{"kind":{"type":"string","const":"form"},"target":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"member"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"fixed"},"projectId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"},"issueTypeId":{"type":"string","pattern":"^[1-9][0-9]{0,31}$"}},"required":["kind","projectId","issueTypeId"],"additionalProperties":false}]},"fields":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"object","properties":{"fieldId":{"type":"string","pattern":"^(?:[a-zA-Z][a-zA-Z0-9_]{0,63})$"},"required":{"type":"boolean"}},"required":["fieldId","required"],"additionalProperties":false}},"fixedValues":{"type":"object","propertyNames":{"type":"string","pattern":"^(?:[a-zA-Z][a-zA-Z0-9_]{0,63})$"},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"array","items":{"type":"string"}}]}},"fromMessage":{"type":"boolean"},"threadChannelId":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,31}$"},{"type":"null"}]},"resultFields":{"maxItems":9,"type":"array","items":{"type":"string","enum":["summary","status","assignee","priority","issuetype","updated","created","duedate","labels"]}},"actions":{"maxItems":8,"type":"array","items":{"type":"string","enum":["comment","assign","transition","assign-teammate","upload-files","manage-labels","create-subtask","set-select-field"]}}},"required":["kind","target","fields","fixedValues","fromMessage","threadChannelId","resultFields","actions"],"additionalProperties":false}]}},"required":["displayName","slashName","state","definition"],"allOf":[{"type":"object","properties":{"id":{"type":"string"},"revision":{"type":"integer","minimum":1},"projectId":{"type":["string","null"]},"registrationError":{"type":["string","null"]},"lastUsedAt":{"type":["string","null"],"format":"date-time"}},"required":["id","revision","projectId","registrationError","lastUsedAt"]}]},"panels":{"type":"object","properties":{"title":{"type":"string","maxLength":120},"text":{"type":"string","maxLength":3876},"destinationId":{"anyOf":[{"type":"string","pattern":"^\\d{17,20}$"},{"type":"null"}]},"buttons":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"type":"string","maxLength":80},"emoji":{"type":["string","null"]},"style":{"type":"string","enum":["primary","secondary","success","danger"]},"targetId":{"anyOf":[{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"string","pattern":"^ticket:([1-9]\\d*):([1-9]\\d*)$"}]},{"type":"null"}]},"formOverride":{"type":"object","properties":{"projectId":{"type":"string","pattern":"^[1-9]\\d*$"},"issueTypeId":{"type":"string","pattern":"^[1-9]\\d*$"}},"required":["projectId","issueTypeId"],"additionalProperties":false}},"required":["id","label","emoji","style","targetId"],"additionalProperties":false}},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["title","text","destinationId","buttons","name"],"allOf":[{"type":"object","properties":{"id":{"type":"string"},"revision":{"type":"integer","minimum":1},"publishedRevision":{"type":["integer","null"]},"publishedDestinationId":{"type":["string","null"]},"publishedDefinition":{"anyOf":[{"$ref":"#/components/schemas/panelDefinition"},{"type":"null"}]},"publishedMessage":{"anyOf":[{"type":"object","properties":{"guildId":{"type":"string"},"channelId":{"type":"string"},"messageId":{"type":"string"},"messageUrl":{"type":"string"}},"required":["guildId","channelId","messageId","messageUrl"]},{"type":"null"}]},"lastPublishedAt":{"type":["string","null"],"format":"date-time"},"publishError":{"type":["string","null"]},"needsRecovery":{"type":"boolean"}},"required":["id","revision","publishedRevision","publishedDestinationId","publishedDefinition","publishedMessage","lastPublishedAt","publishError","needsRecovery"]}]},"automations":{"type":"object","properties":{"name":{"type":"string","maxLength":120},"state":{"type":"string","enum":["draft","off","on"]},"definition":{"type":"object","properties":{"trigger":{"anyOf":[{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"jira"},"event":{"type":"string","enum":["jira.issue.created","jira.issue.updated","jira.issue.deleted","jira.comment.created"]},"scope":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"all"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"projects"},"projectIds":{"type":"array","items":{"type":"string","pattern":"^\\d+$"}}},"required":["kind","projectIds"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"issue"},"issueId":{"anyOf":[{"type":"string","pattern":"^\\d+$"},{"type":"string","const":""}]},"children":{"type":"boolean"}},"required":["kind","issueId","children"],"additionalProperties":false}]},"watchedFields":{"type":"array","items":{"type":"string"}},"jql":{"type":"string"}},"required":["kind","event","scope","watchedFields","jql"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"discord"},"event":{"type":"string","enum":["discord.message.created","discord.thread.created","discord.channel.created","discord.thread.state_changed"]},"scope":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"server"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"linked"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["channel","thread","category"]},"id":{"anyOf":[{"type":"string","pattern":"^[1-9]\\d{0,19}$"},{"type":"string","const":""}]}},"required":["kind","id"],"additionalProperties":false}]},"changes":{"type":"array","items":{"type":"string","enum":["closed","reopened","locked","unlocked"]}}},"required":["kind","event","scope","changes"],"additionalProperties":false}]},{"type":"null"}]},"actor":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"app"},"authorizedBy":{"type":"string"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"eventAuthor"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"linkedMember"},"userAccountId":{"type":"string"}},"required":["kind","userAccountId"],"additionalProperties":false}]},"description":{"type":"string"},"conditions":{"type":"object","properties":{"match":{"type":"string","enum":["all","any"]},"rules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"field":{"type":"string","enum":["jira.field","jira.changed","jira.from","jira.to","discord.author","discord.author_linked","discord.roles","discord.text","discord.attachment","discord.link","discord.mentions"]},"fieldId":{"type":"string"},"operator":{"type":"string","enum":["is","is_not","contains","starts_with","has_any","exists"]},"value":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"},{"type":"array","items":{"type":"string"}}]}},"required":["id","field","operator","value"],"additionalProperties":false}}},"required":["match","rules"],"additionalProperties":false},"actions":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","const":"discord.createResource"},"resource":{"type":"string","enum":["publicThread","privateThread","forumPost","textChannel"]},"parent":{"anyOf":[{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trigger"},"variableId":{"type":"string"}},"required":["kind","variableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action"},"actionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variableId":{"type":"string"}},"required":["kind","actionId","variableId"],"additionalProperties":false}]},{"type":"object","properties":{"kind":{"type":"string","const":"fixed"},"id":{"type":"string"}},"required":["kind","id"],"additionalProperties":false}]},"name":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"text"},"text":{"type":"string"}},"required":["kind","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"variable"},"reference":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trigger"},"variableId":{"type":"string"}},"required":["kind","variableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action"},"actionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variableId":{"type":"string"}},"required":["kind","actionId","variableId"],"additionalProperties":false}]}},"required":["kind","reference"],"additionalProperties":false}]}},"starter":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"text"},"text":{"type":"string"}},"required":["kind","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"variable"},"reference":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trigger"},"variableId":{"type":"string"}},"required":["kind","variableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action"},"actionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variableId":{"type":"string"}},"required":["kind","actionId","variableId"],"additionalProperties":false}]}},"required":["kind","reference"],"additionalProperties":false}]}}},"required":["id","kind","resource","parent","name","starter"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","const":"discord.grantAccess"},"target":{"anyOf":[{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trigger"},"variableId":{"type":"string"}},"required":["kind","variableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action"},"actionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variableId":{"type":"string"}},"required":["kind","actionId","variableId"],"additionalProperties":false}]},{"type":"object","properties":{"kind":{"type":"string","const":"fixed"},"id":{"type":"string"}},"required":["kind","id"],"additionalProperties":false}]},"members":{"type":"array","items":{"type":"string","pattern":"^[1-9]\\d{0,19}$"}},"roles":{"type":"array","items":{"type":"string","pattern":"^[1-9]\\d{0,19}$"}},"includeActor":{"type":"boolean"},"jiraField":{"type":"string"}},"required":["id","kind","target","members","roles","includeActor","jiraField"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","const":"jira.createIssue"},"formId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"string","const":""}]},"projectId":{"anyOf":[{"type":"string","pattern":"^\\d+$"},{"type":"string","const":""}]},"issueTypeId":{"anyOf":[{"type":"string","pattern":"^\\d+$"},{"type":"string","const":""}]},"fields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"value"},"value":{"$ref":"#/components/schemas/automations/$defs/__schema0"}},"required":["kind","value"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"template"},"segments":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"text"},"text":{"type":"string"}},"required":["kind","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"variable"},"reference":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trigger"},"variableId":{"type":"string"}},"required":["kind","variableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action"},"actionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variableId":{"type":"string"}},"required":["kind","actionId","variableId"],"additionalProperties":false}]}},"required":["kind","reference"],"additionalProperties":false}]}}},"required":["kind","segments"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"variable"},"reference":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trigger"},"variableId":{"type":"string"}},"required":["kind","variableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action"},"actionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variableId":{"type":"string"}},"required":["kind","actionId","variableId"],"additionalProperties":false}]}},"required":["kind","reference"],"additionalProperties":false}]}}},"required":["id","kind","formId","projectId","issueTypeId","fields"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","const":"jira.addComment"},"issue":{"anyOf":[{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trigger"},"variableId":{"type":"string"}},"required":["kind","variableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action"},"actionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variableId":{"type":"string"}},"required":["kind","actionId","variableId"],"additionalProperties":false}]},{"type":"object","properties":{"kind":{"type":"string","const":"fixed"},"id":{"type":"string"}},"required":["kind","id"],"additionalProperties":false}]},"content":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"text"},"text":{"type":"string"}},"required":["kind","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"variable"},"reference":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trigger"},"variableId":{"type":"string"}},"required":["kind","variableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action"},"actionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variableId":{"type":"string"}},"required":["kind","actionId","variableId"],"additionalProperties":false}]}},"required":["kind","reference"],"additionalProperties":false}]}},"visibility":{"type":"string","enum":["jira","internal","public"]}},"required":["id","kind","issue","content","visibility"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","const":"jira.updateIssue"},"issue":{"anyOf":[{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trigger"},"variableId":{"type":"string"}},"required":["kind","variableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action"},"actionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variableId":{"type":"string"}},"required":["kind","actionId","variableId"],"additionalProperties":false}]},{"type":"object","properties":{"kind":{"type":"string","const":"fixed"},"id":{"type":"string"}},"required":["kind","id"],"additionalProperties":false}]},"update":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"field"},"fieldId":{"type":"string"},"value":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"value"},"value":{"$ref":"#/components/schemas/automations/$defs/__schema0"}},"required":["kind","value"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"template"},"segments":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"text"},"text":{"type":"string"}},"required":["kind","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"variable"},"reference":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trigger"},"variableId":{"type":"string"}},"required":["kind","variableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action"},"actionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variableId":{"type":"string"}},"required":["kind","actionId","variableId"],"additionalProperties":false}]}},"required":["kind","reference"],"additionalProperties":false}]}}},"required":["kind","segments"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"variable"},"reference":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trigger"},"variableId":{"type":"string"}},"required":["kind","variableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action"},"actionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variableId":{"type":"string"}},"required":["kind","actionId","variableId"],"additionalProperties":false}]}},"required":["kind","reference"],"additionalProperties":false}]}},"required":["kind","fieldId","value"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"transition"},"transitionId":{"type":"string"},"statusId":{"type":"string"}},"required":["kind","transitionId"],"additionalProperties":false}]}},"required":["id","kind","issue","update"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","const":"discord.changeThread"},"target":{"anyOf":[{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trigger"},"variableId":{"type":"string"}},"required":["kind","variableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action"},"actionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variableId":{"type":"string"}},"required":["kind","actionId","variableId"],"additionalProperties":false}]},{"type":"object","properties":{"kind":{"type":"string","const":"fixed"},"id":{"type":"string"}},"required":["kind","id"],"additionalProperties":false}]},"operation":{"type":"string","enum":["close","close_and_lock","reopen","lock","unlock"]}},"required":["id","kind","target","operation"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","const":"jira.linkDiscussion"},"issue":{"anyOf":[{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trigger"},"variableId":{"type":"string"}},"required":["kind","variableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action"},"actionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variableId":{"type":"string"}},"required":["kind","actionId","variableId"],"additionalProperties":false}]},{"type":"object","properties":{"kind":{"type":"string","const":"fixed"},"id":{"type":"string"}},"required":["kind","id"],"additionalProperties":false}]},"discussion":{"anyOf":[{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trigger"},"variableId":{"type":"string"}},"required":["kind","variableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action"},"actionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variableId":{"type":"string"}},"required":["kind","actionId","variableId"],"additionalProperties":false}]},{"type":"object","properties":{"kind":{"type":"string","const":"fixed"},"id":{"type":"string"}},"required":["kind","id"],"additionalProperties":false}]}},"required":["id","kind","issue","discussion"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","const":"discord.sendMessage"},"target":{"anyOf":[{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trigger"},"variableId":{"type":"string"}},"required":["kind","variableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action"},"actionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variableId":{"type":"string"}},"required":["kind","actionId","variableId"],"additionalProperties":false}]},{"type":"object","properties":{"kind":{"type":"string","const":"fixed"},"id":{"type":"string"}},"required":["kind","id"],"additionalProperties":false}]},"content":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"text"},"text":{"type":"string"}},"required":["kind","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"variable"},"reference":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trigger"},"variableId":{"type":"string"}},"required":["kind","variableId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action"},"actionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variableId":{"type":"string"}},"required":["kind","actionId","variableId"],"additionalProperties":false}]}},"required":["kind","reference"],"additionalProperties":false}]}},"layout":{"type":"string","enum":["message","embed"]},"mentions":{"type":"object","properties":{"users":{"type":"array","items":{"type":"string","pattern":"^[1-9]\\d{0,19}$"}},"roles":{"type":"array","items":{"type":"string","pattern":"^[1-9]\\d{0,19}$"}}},"required":["users","roles"],"additionalProperties":false}},"required":["id","kind","target","content","layout","mentions"],"additionalProperties":false}]}}},"required":["trigger","actor","description","conditions","actions"],"additionalProperties":false}},"required":["name","state","definition"],"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/automations/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/automations/$defs/__schema0"}}]}},"allOf":[{"type":"object","properties":{"id":{"type":"string"},"revision":{"type":"integer","minimum":1},"projectId":{"type":["string","null"]},"pause":{"type":["string","null"]},"lastRun":{"type":"null"}},"required":["id","revision","projectId","pause","lastRun"]}]},"panelDefinition":{"type":"object","properties":{"title":{"type":"string","maxLength":120},"text":{"type":"string","maxLength":3876},"destinationId":{"anyOf":[{"type":"string","pattern":"^\\d{17,20}$"},{"type":"null"}]},"buttons":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"type":"string","maxLength":80},"emoji":{"type":["string","null"]},"style":{"type":"string","enum":["primary","secondary","success","danger"]},"targetId":{"anyOf":[{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"string","pattern":"^ticket:([1-9]\\d*):([1-9]\\d*)$"}]},{"type":"null"}]},"formOverride":{"type":"object","properties":{"projectId":{"type":"string","pattern":"^[1-9]\\d*$"},"issueTypeId":{"type":"string","pattern":"^[1-9]\\d*$"}},"required":["projectId","issueTypeId"],"additionalProperties":false}},"required":["id","label","emoji","style","targetId"],"additionalProperties":false}}},"required":["title","text","destinationId","buttons"],"additionalProperties":false},"Error":{"type":"object","properties":{"error":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"array","items":{"type":["string","integer"]}},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]}}}}