{
  "openapi": "3.1.1",
  "info": {
    "title": "Swale API",
    "version": "1.0.0"
  },
  "paths": {
    "/api/account/password/policy": {
      "get": {
        "tags": [
          "Account"
        ],
        "summary": "Read the password policy",
        "description": "Reports the rules a new password has to satisfy: its length bounds, which character classes it must contain, and whether repeated characters, personal information or dictionary words are rejected. Checking a password against these before submitting a change lets a rejected one be corrected first.",
        "operationId": "Get_Account_Password_Policy",
        "responses": {
          "200": {
            "description": "The password rules currently in force.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetPasswordPolicyResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPasswordPolicyResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPasswordPolicyResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/account": {
      "get": {
        "tags": [
          "Account"
        ],
        "summary": "Read the signed-in account",
        "description": "Returns the account's name and email address, every organization it belongs to together with the role held there and the projects that role reaches, and the workflow storage size its runs get.",
        "operationId": "Get_Account",
        "responses": {
          "200": {
            "description": "The account profile, its organization memberships and its workflow storage allowance.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/account/name": {
      "put": {
        "tags": [
          "Account"
        ],
        "summary": "Rename the account",
        "description": "The account name identifies the account in repository addresses and in the account the CLI is signed in to, so anything configured with the old name needs updating after a rename.",
        "operationId": "Update_Account_Name",
        "requestBody": {
          "description": "The new account name.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccountNameRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccountNameRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccountNameRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "The account was renamed."
          }
        }
      }
    },
    "/api/account/workflow-storage-size": {
      "put": {
        "tags": [
          "Account"
        ],
        "summary": "Set the account's workflow storage size",
        "description": "Workflow storage is the space a run's tasks share to exchange files while the run is under way. The size set here applies to every project in the account that has not overridden it.",
        "operationId": "Update_Account_Workflow_Storage_Size",
        "requestBody": {
          "description": "The new workflow storage size, in tebibytes.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccountWorkflowStorageSizeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccountWorkflowStorageSizeRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccountWorkflowStorageSizeRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "The workflow storage size was set."
          }
        }
      }
    },
    "/api/account/organizations": {
      "get": {
        "tags": [
          "Account"
        ],
        "summary": "List the organizations the account belongs to",
        "description": "Returns the organizations the signed-in account is a member of, by name. Long lists are paged. When more than one page exists the response's Link header carries the first, last, previous and next pages.",
        "operationId": "Get_Account_Organizations",
        "parameters": [
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Page to return, starting at 1.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Number of organizations per page.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A page of organization names.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountOrganizationsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountOrganizationsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountOrganizationsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/account/email/verification": {
      "get": {
        "tags": [
          "Account"
        ],
        "summary": "Check whether the account email is verified",
        "description": "Reads the current state from the sign-in provider, so an address confirmed elsewhere is reflected without signing in again.",
        "operationId": "Get_Email_Verification",
        "responses": {
          "200": {
            "description": "Whether the account's email address is verified.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetEmailVerificationResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEmailVerificationResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEmailVerificationResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/account/mfa": {
      "get": {
        "tags": [
          "Account"
        ],
        "summary": "Read the account's multi-factor authentication status",
        "description": "Reports whether multi-factor authentication is enabled and lists the enrolled factors, each with its type, its name and whether it is active.",
        "operationId": "Get_Mfa_Status",
        "responses": {
          "200": {
            "description": "The account's multi-factor authentication status and enrolled factors.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetMfaStatusResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetMfaStatusResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetMfaStatusResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/account/mfa/sync": {
      "post": {
        "tags": [
          "Account"
        ],
        "summary": "Refresh the account's multi-factor authentication status",
        "description": "Re-reads the enrolment state from the sign-in provider and records it on the account. Use it after enrolling or removing a factor so that an organization requiring multi-factor authentication sees the change.",
        "operationId": "Sync_Mfa_Status",
        "responses": {
          "204": {
            "description": "The status was refreshed."
          }
        }
      }
    },
    "/api/account/mfa/can-disable": {
      "get": {
        "tags": [
          "Account"
        ],
        "summary": "Check whether multi-factor authentication can be turned off",
        "description": "Reports false while the account belongs to any organization that requires multi-factor authentication of its members, and true once none of its organizations do.",
        "operationId": "Get_Can_Disable_Mfa",
        "responses": {
          "200": {
            "description": "Whether the account may turn multi-factor authentication off.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetCanDisableMfaResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCanDisableMfaResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCanDisableMfaResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/{accountName}/secrets": {
      "get": {
        "tags": [
          "AccountSecrets"
        ],
        "summary": "List account secrets",
        "description": "Returns the account's secrets by name, with the time each was last updated. Stored values are write-only and are never returned. Long lists are paged. When more than one page exists the response's Link header carries the first, last, previous and next pages.",
        "operationId": "List_Account_Secrets",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account holding the secrets.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Page to return, starting at 1.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Number of secrets per page.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A page of secret names and their last update time.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ListAccountSecretsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListAccountSecretsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListAccountSecretsResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "AccountSecrets"
        ],
        "summary": "Create an account secret",
        "description": "Stores a value under a name that the listed projects may resolve from their workflows. An empty allowed-projects list leaves the secret usable by no project. Names beginning with WORKFLOW_ are reserved by the platform and are rejected.",
        "operationId": "Create_Account_Secret",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account the secret is created under.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The secret's name, its value, and the projects allowed to use it.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAccountSecretRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAccountSecretRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAccountSecretRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "The secret was created."
          }
        }
      }
    },
    "/api/{accountName}/secrets/{secretName}": {
      "get": {
        "tags": [
          "AccountSecrets"
        ],
        "summary": "Read an account secret",
        "description": "Returns the secret's name, when it was created and last updated, and the projects allowed to use it. The stored value is write-only and is never returned.",
        "operationId": "Get_Account_Secret",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account holding the secret.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "secretName",
            "in": "path",
            "description": "Secret to read.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The secret's metadata and the projects allowed to use it.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountSecretResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountSecretResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountSecretResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "AccountSecrets"
        ],
        "summary": "Delete an account secret",
        "description": "Removes the secret and the value it holds. Workflow expressions naming it no longer find it at the account level, and fall back to a project secret of the same name where one exists.",
        "operationId": "Delete_Account_Secret",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account holding the secret.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "secretName",
            "in": "path",
            "description": "Secret to delete.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The secret was deleted."
          }
        }
      }
    },
    "/api/{accountName}/secrets/{secretName}/value": {
      "put": {
        "tags": [
          "AccountSecrets"
        ],
        "summary": "Replace an account secret's value",
        "description": "Overwrites the stored value in place. The secret keeps its name and its allowed projects, so workflows that already resolve it pick the new value up on their next run.",
        "operationId": "Update_Account_Secret_Value",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account holding the secret.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "secretName",
            "in": "path",
            "description": "Secret whose value is replaced.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The new secret value.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccountSecretValueRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccountSecretValueRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccountSecretValueRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "The value was replaced."
          }
        }
      }
    },
    "/api/{accountName}/secrets/{secretName}/allowed-projects": {
      "put": {
        "tags": [
          "AccountSecrets"
        ],
        "summary": "Replace an account secret's allowed projects",
        "description": "Sets the whole list of projects that may resolve the secret, replacing what was there. An empty list leaves the secret usable by no project.",
        "operationId": "Update_Account_Secret_Allowed_Projects",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account holding the secret.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "secretName",
            "in": "path",
            "description": "Secret whose allowed projects are replaced.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The complete list of projects allowed to use the secret.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccountSecretAllowedProjectsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccountSecretAllowedProjectsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccountSecretAllowedProjectsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "The allowed projects were replaced."
          }
        }
      },
      "post": {
        "tags": [
          "AccountSecrets"
        ],
        "summary": "Allow one more project to use an account secret",
        "description": "Adds a single project to the secret's allowed list and leaves the rest of the list as it is.",
        "operationId": "Add_Account_Secret_Allowed_Project",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account holding the secret.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "secretName",
            "in": "path",
            "description": "Secret the project is being granted.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The project to add to the allowed list.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddAccountSecretAllowedProjectRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddAccountSecretAllowedProjectRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddAccountSecretAllowedProjectRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "The project was added to the allowed list."
          }
        }
      }
    },
    "/api/{accountName}/secrets/{secretName}/allowed-projects/{projectName}": {
      "delete": {
        "tags": [
          "AccountSecrets"
        ],
        "summary": "Stop a project from using an account secret",
        "description": "Removes a single project from the secret's allowed list. The secret and the rest of the list are untouched.",
        "operationId": "Remove_Account_Secret_Allowed_Project",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account holding the secret.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "secretName",
            "in": "path",
            "description": "Secret the project is being denied.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project to remove from the allowed list.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The project was removed from the allowed list."
          }
        }
      }
    },
    "/api/{accountName}/billing/status": {
      "get": {
        "tags": [
          "Billing"
        ],
        "summary": "Read the billing status of an account",
        "description": "The status is one of Active, NoPaymentMethod, PaymentFailed or Disputed. Any status other than Active refuses new work that bills against the account and, once the status has outlasted its grace window, ends the account's work already under way. For PaymentFailed, closesAt is thirty days after the account's oldest unpaid invoice was issued; from then the account is closed and deleted if its status is still PaymentFailed. Otherwise it is null.",
        "operationId": "Get_Billing_Status",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account whose billing status is read.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The current billing status of the account.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetBillingStatusResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBillingStatusResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBillingStatusResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/{accountName}/billing/cost": {
      "get": {
        "tags": [
          "Billing"
        ],
        "summary": "Read the account's cost this month and unpaid balance",
        "description": "Amounts are whole minor units of the currency, cents for USD, and currency is its upper-case ISO 4217 code; they are estimates as of asOf, the invoice is the final amount, and no tax is charged today. monthToDateCost is what the usage since the 1st of the month, in UTC, costs, whether or not it has been invoiced yet. unpaidBalance is what the account has not paid yet: notYetInvoiced, the usage not yet on any invoice, plus invoicedAwaitingPayment, what its issued invoices still owe. The not-yet-invoiced amount is invoiced and charged when it reaches billingThreshold, or at the end of the month; billingThreshold is null when the account's subscription has none, and then only the end of the month invoices it. Usage can take up to 30 minutes to reach the figures after the platform records it, and reaches them in whole units: the seconds a task or run leaves over are added when it ends, rounded up to the next minute; egress and account storage are rounded up when the month is invoiced. The figures are kept for up to five minutes, and read again as soon as an invoice is raised, paid or fails to be paid. An account with no billing subscription yet answers 404.",
        "operationId": "Get_Billing_Cost",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account whose cost is read.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The account's estimated cost this month and unpaid balance.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetBillingCostResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBillingCostResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBillingCostResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/github/status": {
      "get": {
        "tags": [
          "Github"
        ],
        "summary": "Check whether GitHub is connected",
        "description": "Reports whether the account has a GitHub connection the platform can read repositories through.",
        "operationId": "Get_Github_Integration_Status",
        "responses": {
          "200": {
            "description": "Whether GitHub is connected.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationStatusResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationStatusResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationStatusResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/github/installations": {
      "get": {
        "tags": [
          "Github"
        ],
        "summary": "List the connected GitHub owners",
        "description": "Returns the users and organizations the connection still reaches, each with its display name, type and avatar. These are the owners whose repositories can be browsed and imported from. Each call checks the connected owners against GitHub: an owner whose GitHub App installation is gone, or that the connected GitHub user can no longer reach, is disconnected and left out, and every owner is when GitHub no longer accepts the connection. The check adds no owner; one the app was installed on after connecting arrives when a new connection completes.",
        "operationId": "List_Github_Installations",
        "responses": {
          "200": {
            "description": "The GitHub owners the connection reaches.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ListGitHubInstallationsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListGitHubInstallationsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListGitHubInstallationsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/github/installations/{owner}": {
      "delete": {
        "tags": [
          "Github"
        ],
        "summary": "Disconnect a GitHub owner",
        "description": "Ends the connection to one owner, so the platform stops listing it and refuses browsing and importing from it. Workflows and task definitions already imported keep working; re-importing them from that owner does not until the connection is restored. The GitHub App stays installed on the owner until it is uninstalled on GitHub.",
        "operationId": "Revoke_Github_Installation",
        "parameters": [
          {
            "name": "owner",
            "in": "path",
            "description": "GitHub owner to disconnect.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The owner was disconnected."
          }
        }
      }
    },
    "/api/{organizationName}/members": {
      "get": {
        "tags": [
          "Members"
        ],
        "summary": "List an organization's members",
        "description": "Returns the accounts belonging to the organization, each with the role it holds and whether it has multi-factor authentication enabled. Long lists are paged. When more than one page exists the response's Link header carries the first, last, previous and next pages.",
        "operationId": "List_Members",
        "parameters": [
          {
            "name": "organizationName",
            "in": "path",
            "description": "Organization whose members are listed.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Page to return, starting at 1.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Number of members per page.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "search",
            "in": "query",
            "description": "Returns only the members whose account name contains this text. It is compared the way account names are: ignoring case, with spaces as dashes and other characters a name cannot hold left out. Text left with none of them returns no members.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A page of the organization's members.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ListMembersResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListMembersResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListMembersResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Members"
        ],
        "summary": "Add a member to an organization",
        "description": "Brings an existing account into the organization with the role given. Where the organization requires multi-factor authentication, an account that has not enrolled a factor is rejected.",
        "operationId": "Add_Member",
        "parameters": [
          {
            "name": "organizationName",
            "in": "path",
            "description": "Organization the member joins.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The account to add and the role it holds.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddMemberRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddMemberRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddMemberRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "The member was added."
          }
        }
      }
    },
    "/api/{organizationName}/members/{memberAccountName}": {
      "delete": {
        "tags": [
          "Members"
        ],
        "summary": "Remove a member from an organization",
        "description": "Ends the member's access to the organization and everything it owns. The account itself is untouched and keeps its own projects.",
        "operationId": "Remove_Member",
        "parameters": [
          {
            "name": "organizationName",
            "in": "path",
            "description": "Organization the member is removed from.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "memberAccountName",
            "in": "path",
            "description": "Member to remove.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The member was removed."
          }
        }
      },
      "patch": {
        "tags": [
          "Members"
        ],
        "summary": "Change a member's role",
        "description": "The role decides what the member can do in the organization, from access to assigned projects up to managing members, teams and billing.",
        "operationId": "Update_Member_Role",
        "parameters": [
          {
            "name": "organizationName",
            "in": "path",
            "description": "Organization the member belongs to.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "memberAccountName",
            "in": "path",
            "description": "Member whose role is changed.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The new role.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateMemberRoleRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateMemberRoleRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateMemberRoleRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "The role was changed."
          }
        }
      }
    },
    "/api/{organizationName}/members/me": {
      "delete": {
        "tags": [
          "Members"
        ],
        "summary": "Leave an organization",
        "description": "Removes the signed-in account from the organization. It is the self-service form of removing a member, and it ends this account's access to everything the organization owns.",
        "operationId": "Leave_Organization",
        "parameters": [
          {
            "name": "organizationName",
            "in": "path",
            "description": "Organization to leave.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The account left the organization."
          }
        }
      }
    },
    "/api/organizations": {
      "post": {
        "tags": [
          "Organizations"
        ],
        "summary": "Create an organization",
        "description": "An organization is an account several people share. It owns projects, workflows, repositories and secrets in its own right, and the account that creates it holds the Owner role in it.",
        "operationId": "Create_Organization",
        "requestBody": {
          "description": "The name for the new organization.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrganizationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrganizationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrganizationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "The organization was created.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/organizations/{organizationName}": {
      "get": {
        "tags": [
          "Organizations"
        ],
        "summary": "Read an organization",
        "description": "Returns the organization's name, whether it requires its members to use multi-factor authentication, and the workflow storage size its runs get.",
        "operationId": "Get_Organization",
        "parameters": [
          {
            "name": "organizationName",
            "in": "path",
            "description": "Organization to read.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The organization and its settings.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetOrganizationResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetOrganizationResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetOrganizationResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Organizations"
        ],
        "summary": "Rename an organization",
        "description": "The organization name identifies it in repository addresses and in the account the CLI is signed in to, so anything configured with the old name needs updating after a rename.",
        "operationId": "Update_Organization",
        "parameters": [
          {
            "name": "organizationName",
            "in": "path",
            "description": "Organization to rename.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The new organization name.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOrganizationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOrganizationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOrganizationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "The organization was renamed."
          }
        }
      },
      "delete": {
        "tags": [
          "Organizations"
        ],
        "summary": "Delete an organization",
        "description": "Deletion is refused while any run in the organization is still active. It cannot be undone: the organization's content is deleted, its billing ends that day with a closing invoice for the usage up to then, and its members keep their own accounts while losing the access it gave them.",
        "operationId": "Delete_Organization",
        "parameters": [
          {
            "name": "organizationName",
            "in": "path",
            "description": "Organization to delete.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The organization was deleted."
          }
        }
      }
    },
    "/api/organizations/{organizationName}/workflow-storage-size": {
      "put": {
        "tags": [
          "Organizations"
        ],
        "summary": "Set an organization's workflow storage size",
        "description": "Workflow storage is the space a run's tasks share to exchange files while the run is under way. The size set here applies to every project in the organization that has not overridden it.",
        "operationId": "Update_Organization_Workflow_Storage_Size",
        "parameters": [
          {
            "name": "organizationName",
            "in": "path",
            "description": "Organization whose workflow storage size is set.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The new workflow storage size, in tebibytes.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOrganizationWorkflowStorageSizeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOrganizationWorkflowStorageSizeRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOrganizationWorkflowStorageSizeRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "The workflow storage size was set."
          }
        }
      }
    },
    "/api/organizations/{organizationName}/mfa": {
      "put": {
        "tags": [
          "Organizations"
        ],
        "summary": "Require multi-factor authentication of an organization's members",
        "description": "Turning the requirement on is rejected while any member has not enrolled a factor, so enrolment comes first. While it is on, members cannot turn multi-factor authentication off on their own accounts.",
        "operationId": "Update_Organization_Mfa_Requirement",
        "parameters": [
          {
            "name": "organizationName",
            "in": "path",
            "description": "Organization whose requirement is set.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Whether members must use multi-factor authentication.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOrganizationMfaRequirementRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOrganizationMfaRequirementRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOrganizationMfaRequirementRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "The requirement was set."
          }
        }
      }
    },
    "/api/{accountName}/projects/{projectName}/account-secrets": {
      "get": {
        "tags": [
          "ProjectAccountSecrets"
        ],
        "summary": "List the account secrets a project can use",
        "description": "Returns the account-level secrets whose allowed-projects list reaches this project, so a workflow author can see what is resolvable here without holding account-wide access. Stored values are write-only and are never returned. Long lists are paged. When more than one page exists the response's Link header carries the first, last, previous and next pages.",
        "operationId": "List_Project_Account_Secrets",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account holding the secrets.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project the secrets are filtered for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Page to return, starting at 1.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Number of secrets per page.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A page of account secret names available to the project.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ListProjectAccountSecretsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListProjectAccountSecretsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListProjectAccountSecretsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/{accountName}/projects": {
      "get": {
        "tags": [
          "Projects"
        ],
        "summary": "List projects",
        "description": "Returns the account's live projects by name. Projects in the deletion grace period are listed separately. Long lists are paged. When more than one page exists the response's Link header carries the first, last, previous and next pages.",
        "operationId": "List_Projects",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the projects.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Page to return, starting at 1.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Number of projects per page.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "search",
            "in": "query",
            "description": "Returns only the projects whose name contains this text. It is compared the way project names are: ignoring case, with spaces as dashes and other characters a name cannot hold left out. Text left with none of them returns no projects.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A page of project names.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ListProjectsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListProjectsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListProjectsResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Projects"
        ],
        "summary": "Create a project",
        "description": "A project is the workspace that holds workflows, repositories and secrets. It starts empty and inherits the account's workflow storage settings until it overrides them.",
        "operationId": "Create_Project",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account the project is created under.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The name for the new project.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProjectRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProjectRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProjectRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "The project was created.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/{accountName}/projects/deleted": {
      "get": {
        "tags": [
          "Projects"
        ],
        "summary": "List deleted projects",
        "description": "Returns projects still inside the grace period that follows deletion, each with when and by whom it was deleted, and how many days remain before it is removed for good. A project listed here can still be restored. Long lists are paged. When more than one page exists the response's Link header carries the first, last, previous and next pages.",
        "operationId": "List_Deleted_Projects",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the projects.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Page to return, starting at 1.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Number of projects per page.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A page of deleted projects and how long each remains restorable.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ListDeletedProjectsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListDeletedProjectsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListDeletedProjectsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/{accountName}/projects/{projectName}": {
      "get": {
        "tags": [
          "Projects"
        ],
        "summary": "Read a project",
        "description": "Returns when the project was created and its workflow storage settings: the size it overrides for itself if any, the size actually in force, and the size it would inherit from the account.",
        "operationId": "Get_Project",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project to read.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The project and its workflow storage settings.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProjectResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProjectResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProjectResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Projects"
        ],
        "summary": "Delete a project",
        "description": "Deletion is soft. The project and the repositories inside it enter a grace period during which they can be restored, and storage is still billed; once the period elapses the content is removed for good. The project is removed at once from the allowed projects of every account secret, and restoring it does not add it back.",
        "operationId": "Delete_Project",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project to delete.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The project was deleted."
          }
        }
      }
    },
    "/api/{accountName}/projects/{projectName}/restore": {
      "post": {
        "tags": [
          "Projects"
        ],
        "summary": "Restore a deleted project",
        "description": "Brings a project back from the grace period that follows deletion, together with the repositories deleted with it. It comes back without access to any account secret, so add it to the allowed projects of the secrets it needs again. A project whose grace period has elapsed cannot be restored.",
        "operationId": "Restore_Project",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project to restore.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The project was restored."
          }
        }
      }
    },
    "/api/{accountName}/projects/{projectName}/workflow-storage-size": {
      "put": {
        "tags": [
          "Projects"
        ],
        "summary": "Override the project's workflow storage size",
        "description": "Sets the size this project's runs get, in place of the account's. Sending no size clears the override, so the project inherits the account value again.",
        "operationId": "Set_Project_Workflow_Storage_Size",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project whose workflow storage size is set.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The size in tebibytes, or no value to clear the override.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetProjectWorkflowStorageSizeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetProjectWorkflowStorageSizeRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetProjectWorkflowStorageSizeRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "The workflow storage size was set."
          }
        }
      }
    },
    "/api/{accountName}/projects/{projectName}/name": {
      "put": {
        "tags": [
          "Projects"
        ],
        "summary": "Rename a project",
        "description": "The project name identifies it in API paths and in repository addresses, so anything configured with the old name needs updating after a rename. The new name must not already be taken in the account.",
        "operationId": "Update_Project_Name",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project to rename.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The new project name.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProjectNameRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProjectNameRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProjectNameRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "The project was renamed."
          }
        }
      }
    },
    "/api/{accountName}/projects/{projectName}/runs": {
      "get": {
        "tags": [
          "Projects"
        ],
        "summary": "List a project's runs",
        "description": "Returns runs across every workflow in the project, each with its status, start time, duration, what triggered it and the reason it ended where one applies. Pass a status to narrow the list to runs with that status. Long lists are paged. When more than one page exists the response's Link header carries the first, last, previous and next pages.",
        "operationId": "List_ProjectRuns",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project whose runs are listed.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Page to return, starting at 1.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Number of runs per page.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "status",
            "in": "query",
            "description": "Return only runs with this status, one of Pending, Starting, Running, Cancelling, Finishing, Complete, Failed or Canceled, in any letter case. Omit it to return runs with every status.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A page of the project's runs.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ListProjectRunsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListProjectRunsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListProjectRunsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/{accountName}/projects/{projectName}/secrets": {
      "get": {
        "tags": [
          "ProjectSecrets"
        ],
        "summary": "List project secrets",
        "description": "Returns the project's own secrets by name, with the time each was last updated. Account secrets that reach this project are listed separately. Stored values are write-only and are never returned. Long lists are paged. When more than one page exists the response's Link header carries the first, last, previous and next pages.",
        "operationId": "List_Project_Secrets",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project holding the secrets.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Page to return, starting at 1.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Number of secrets per page.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A page of project secret names and their last update time.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ListSecretsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSecretsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSecretsResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "ProjectSecrets"
        ],
        "summary": "Create a project secret",
        "description": "Stores a value that only this project's workflows can resolve. A project secret takes precedence over an account secret of the same name. Names beginning with WORKFLOW_ are reserved by the platform and are rejected.",
        "operationId": "Create_Project_Secret",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project the secret is created under.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The secret's name and its value.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSecretRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSecretRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSecretRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "The secret was created."
          }
        }
      }
    },
    "/api/{accountName}/projects/{projectName}/secrets/{secretName}": {
      "get": {
        "tags": [
          "ProjectSecrets"
        ],
        "summary": "Read a project secret",
        "description": "Returns the secret's name and when it was created and last updated. The stored value is write-only and is never returned.",
        "operationId": "Get_Project_Secret",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project holding the secret.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "secretName",
            "in": "path",
            "description": "Secret to read.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The secret's metadata.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetSecretResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSecretResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSecretResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "ProjectSecrets"
        ],
        "summary": "Replace a project secret's value",
        "description": "Overwrites the stored value in place. The secret keeps its name, so workflows that already resolve it pick the new value up on their next run.",
        "operationId": "Update_Project_Secret",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project holding the secret.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "secretName",
            "in": "path",
            "description": "Secret whose value is replaced.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The new secret value.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSecretRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSecretRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSecretRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "The value was replaced."
          }
        }
      },
      "delete": {
        "tags": [
          "ProjectSecrets"
        ],
        "summary": "Delete a project secret",
        "description": "Removes the secret and the value it holds. Workflow expressions naming it fall back to an account secret of the same name where one reaches this project.",
        "operationId": "Delete_Project_Secret",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project holding the secret.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "secretName",
            "in": "path",
            "description": "Secret to delete.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The secret was deleted."
          }
        }
      }
    },
    "/api/{accountName}/projects/{projectName}/repositories": {
      "get": {
        "tags": [
          "Repositories"
        ],
        "summary": "List repositories",
        "description": "Returns the project's live repositories by name. Repositories in the deletion grace period are listed separately. Long lists are paged. When more than one page exists the response's Link header carries the first, last, previous and next pages.",
        "operationId": "List_Repositories",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project holding the repositories.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Page to return, starting at 1.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Number of repositories per page.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A page of repository names.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ListRepositoriesResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListRepositoriesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListRepositoriesResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Repositories"
        ],
        "summary": "Create a repository",
        "description": "A repository is a versioned file store inside a project. It starts empty; files reach it through the CLI's push command, which writes them as a named tag.",
        "operationId": "Create_Repository",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project the repository is created in.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The name for the new repository.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRepositoryRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRepositoryRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRepositoryRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "The repository was created.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/{accountName}/projects/{projectName}/repositories/deleted": {
      "get": {
        "tags": [
          "Repositories"
        ],
        "summary": "List deleted repositories",
        "description": "Returns repositories still inside the grace period that follows deletion, each with when and by whom it was deleted and how many days remain before it is removed for good. A repository listed here can still be restored. Long lists are paged. When more than one page exists the response's Link header carries the first, last, previous and next pages.",
        "operationId": "List_Deleted_Repositories",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project holding the repositories.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Page to return, starting at 1.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Number of repositories per page.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A page of deleted repositories and how long each remains restorable.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ListDeletedRepositoriesResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListDeletedRepositoriesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListDeletedRepositoriesResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/{accountName}/projects/{projectName}/repositories/{repositoryName}": {
      "get": {
        "tags": [
          "Repositories"
        ],
        "summary": "Read a repository",
        "description": "Returns the repository and when it was created. Its contents are addressed through tags, each a named snapshot of the files in one push.",
        "operationId": "Get_Repository",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project holding the repository.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repositoryName",
            "in": "path",
            "description": "Repository to read.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The repository and when it was created.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetRepositoryResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetRepositoryResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetRepositoryResponse"
                }
              }
            }
          }
        }
      },
      "head": {
        "tags": [
          "Repositories"
        ],
        "summary": "Check whether a repository exists",
        "description": "Answers with a status and no body, which makes it a cheap way to test a name before creating a repository under it.",
        "operationId": "Check_Repository_Exists",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project the repository would be in.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repositoryName",
            "in": "path",
            "description": "Repository name to test.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The repository exists."
          },
          "404": {
            "description": "No repository of that name exists in the project."
          }
        }
      },
      "delete": {
        "tags": [
          "Repositories"
        ],
        "summary": "Delete a repository",
        "description": "Deletion is soft. The repository enters a grace period during which it can be restored, and its storage is still billed; once the period elapses the content is removed for good. Content other tags in the account still reference is untouched.",
        "operationId": "Delete_Repository",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project holding the repository.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repositoryName",
            "in": "path",
            "description": "Repository to delete.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The repository was deleted."
          }
        }
      }
    },
    "/api/{accountName}/projects/{projectName}/repositories/{repositoryName}/restore": {
      "post": {
        "tags": [
          "Repositories"
        ],
        "summary": "Restore a deleted repository",
        "description": "Brings a repository back from the grace period that follows deletion, with the tags it held. The project holding it has to be live, so restore a deleted project before its repositories. A repository whose grace period has elapsed cannot be restored.",
        "operationId": "Restore_Repository",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project holding the repository.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repositoryName",
            "in": "path",
            "description": "Repository to restore.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The repository was restored."
          }
        }
      }
    },
    "/api/{accountName}/projects/{projectName}/workflows/{workflowId}/runs": {
      "get": {
        "tags": [
          "Runs"
        ],
        "summary": "List a workflow's runs",
        "description": "Returns the runs started from one workflow, each with its status, start time, duration, what triggered it and the reason it ended where one applies. Long lists are paged. When more than one page exists the response's Link header carries the first, last, previous and next pages.",
        "operationId": "List_WorkflowRuns",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project holding the workflow.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "workflowId",
            "in": "path",
            "description": "Workflow whose runs are listed.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Page to return, starting at 1.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Number of runs per page.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A page of the workflow's runs.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ListWorkflowRunsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListWorkflowRunsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListWorkflowRunsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/{accountName}/projects/{projectName}/workflows/{workflowId}/runs/start": {
      "post": {
        "tags": [
          "Runs"
        ],
        "summary": "Start a run",
        "description": "Starts one execution of the workflow with the input values supplied. An input the definition marks required may be left out only when it declares a non-blank default, which the run then uses, and when supplied it must not be empty or only whitespace. The run is accepted and its identifier is returned at once, before its tasks begin. A run can only be started while the account's billing is in good standing and while the account has fewer runs in progress than its limit, which its billing threshold sets within a limit the platform sets for every account; a start beyond that limit is refused with an error naming it. A start is also refused when the workflow uses a compute type the platform does not offer, including one it stopped offering after the workflow was imported, with an error naming the type, or needs more tasks running at the same time than the account may run, with an error naming the numbers: in total, a limit its billing threshold sets, or of one compute type, the account's share of it. A start is refused as well when any of the workflow's tasks uses a task definition that is no longer available to the account, because the version it uses or its whole task definition was deleted, or another account made it private, with an error naming each such task.",
        "operationId": "Start_WorkflowRun",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project holding the workflow.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "workflowId",
            "in": "path",
            "description": "Workflow to run.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Values for the workflow's declared inputs, by name.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StartWorkflowRunRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/StartWorkflowRunRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/StartWorkflowRunRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "description": "The run was accepted and its identifier returned.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/{accountName}/projects/{projectName}/workflows/{workflowId}/runs/{runId}/cancel": {
      "delete": {
        "tags": [
          "Runs"
        ],
        "summary": "Cancel a run",
        "description": "Asks the platform to stop a run that is still pending, starting or running. Cancellation is accepted at once and takes effect as its tasks wind down, so poll the run to see it reach a terminal state. A run that is finishing or has ended cannot be cancelled.",
        "operationId": "Cancel_WorkflowRun",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project holding the workflow.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "workflowId",
            "in": "path",
            "description": "Workflow the run belongs to.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "runId",
            "in": "path",
            "description": "Run to cancel.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "The cancellation was accepted."
          }
        }
      }
    },
    "/api/{accountName}/projects/{projectName}/workflows/{workflowId}/runs/{runId}": {
      "get": {
        "tags": [
          "Runs"
        ],
        "summary": "Read a run",
        "description": "Returns the run's status, when it started, how long it has been going or took, what triggered it and the reason it ended where one applies. billedMinutes is the time its workflow storage is billed for, in whole minutes, once its billing is final; it is null until then. The run's workspace size sets the price of each minute, as a compute type does for a task.",
        "operationId": "Get_WorkflowRun",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project holding the workflow.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "workflowId",
            "in": "path",
            "description": "Workflow the run belongs to.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "runId",
            "in": "path",
            "description": "Run to read.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The run and its current status.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetWorkflowRunResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetWorkflowRunResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetWorkflowRunResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Runs"
        ],
        "summary": "Delete a run",
        "description": "Removes a finished run and its record from the workflow's history.",
        "operationId": "Delete_WorkflowRun",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project holding the workflow.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "workflowId",
            "in": "path",
            "description": "Workflow the run belongs to.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "runId",
            "in": "path",
            "description": "Run to delete.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The run was deleted."
          }
        }
      }
    },
    "/api/{accountName}/projects/{projectName}/workflows/{workflowId}/runs/{runId}/state/trail": {
      "get": {
        "tags": [
          "Runs"
        ],
        "summary": "Follow a run's state as it changes",
        "description": "Opens a server-sent event stream that emits the run's state as its tasks progress, so a caller can follow a run without polling. The stream stays open until the run reaches a terminal state or the connection is closed.",
        "operationId": "Stream_WorkflowRunStateTrail",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project holding the workflow.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "workflowId",
            "in": "path",
            "description": "Workflow the run belongs to.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "runId",
            "in": "path",
            "description": "Run to follow.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A server-sent event stream of run state changes."
          }
        }
      }
    },
    "/api/sources/{sourceProvider}/{owner}": {
      "get": {
        "tags": [
          "Sources"
        ],
        "summary": "List an owner's repositories on a connected source",
        "description": "Returns the repositories the connection reaches for one owner: those its GitHub App installation covers that the connected GitHub user can also access, each with its full name, whether it is private and its default branch. Use it to pick the repository a workflow or task definition is imported from. An owner whose installation GitHub reports gone, or out of the connected user's reach, is refused as not found. Long lists are paged. When more than one page exists the response's Link header carries the first, last, previous and next pages.",
        "operationId": "List_Source_Repositories",
        "parameters": [
          {
            "name": "sourceProvider",
            "in": "path",
            "description": "Source provider to read from.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "owner",
            "in": "path",
            "description": "Owner whose repositories are listed.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Page to return, starting at 1.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Number of repositories per page.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A page of the owner's repositories.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRepositoriesResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRepositoriesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRepositoriesResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/sources/{sourceProvider}": {
      "get": {
        "tags": [
          "Sources"
        ],
        "summary": "List the owners a connected source reaches",
        "description": "Returns the users and organizations connected through the source provider, as the platform last recorded them. Long lists are paged. When more than one page exists the response's Link header carries the first, last, previous and next pages.",
        "operationId": "List_Organizations",
        "parameters": [
          {
            "name": "sourceProvider",
            "in": "path",
            "description": "Source provider to list owners from.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Page to return, starting at 1.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Number of owners per page.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A page of owners on the source provider.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceOrganizationsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceOrganizationsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceOrganizationsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/sources/{sourceProvider}/{owner}/{repo}/files": {
      "get": {
        "tags": [
          "Sources"
        ],
        "summary": "Browse a repository on a connected source",
        "description": "Lists the entries at one path in a source repository, each with its type and size, so a definition file can be located before importing it. Without a path the repository root is listed, and without a reference its default branch is read. Long lists are paged. When more than one page exists the response's Link header carries the first, last, previous and next pages.",
        "operationId": "List_Repository_Files",
        "parameters": [
          {
            "name": "sourceProvider",
            "in": "path",
            "description": "Source provider to read from.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "owner",
            "in": "path",
            "description": "Owner of the repository.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo",
            "in": "path",
            "description": "Repository to browse.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Page to return, starting at 1.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Number of entries per page.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "path",
            "in": "query",
            "description": "Path inside the repository to list. Omit it for the root.",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "repoRef",
            "in": "query",
            "description": "Branch, tag or commit to read. Omit it for the default branch.",
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A page of entries at the path.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceFilesResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceFilesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceFilesResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/{accountName}/projects/{projectName}/repositories/{repositoryName}/tags": {
      "get": {
        "tags": [
          "Tags"
        ],
        "summary": "List a repository's tags",
        "description": "Returns the names of the snapshots the repository holds. Long lists are paged. When more than one page exists the response's Link header carries the first, last, previous and next pages.",
        "operationId": "List_Tags",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project holding the repository.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repositoryName",
            "in": "path",
            "description": "Repository whose tags are listed.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Page to return, starting at 1.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Number of tags per page.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A page of tag names.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ListTagsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListTagsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListTagsResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Tags"
        ],
        "summary": "Write a tag",
        "description": "Records a named snapshot over content the account already stores. Writing to a name that exists replaces that tag's snapshot rather than merging into it, and the switch is all or nothing. Naming a source tag copies that tag's file list instead of supplying one.",
        "operationId": "Create_Tag",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project holding the repository.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repositoryName",
            "in": "path",
            "description": "Repository the tag is written in.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The tag name and the files its snapshot names, or the tag to copy from.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTagRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTagRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTagRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "An existing tag was updated.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "201": {
            "description": "The tag was created.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/{accountName}/projects/{projectName}/repositories/{repositoryName}/tags/{tagName}": {
      "get": {
        "tags": [
          "Tags"
        ],
        "summary": "Read a tag",
        "description": "Returns when the snapshot was written and the files it names, each with its size and the stored content it refers to. A tag holds no file data of its own; it points at content the account already stores.",
        "operationId": "Get_Tag",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project holding the repository.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repositoryName",
            "in": "path",
            "description": "Repository holding the tag.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tagName",
            "in": "path",
            "description": "Tag to read.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The tag and the files its snapshot names.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetTagResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTagResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTagResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Tags"
        ],
        "summary": "Delete a tag",
        "description": "Removes the tag at once. Content it was the last to reference is reclaimed by a background cleanup after a grace window; content any other tag still names is untouched.",
        "operationId": "Delete_Tag",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project holding the repository.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repositoryName",
            "in": "path",
            "description": "Repository holding the tag.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tagName",
            "in": "path",
            "description": "Tag to delete.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The tag was deleted."
          }
        }
      }
    },
    "/api/{accountName}/task-definitions": {
      "get": {
        "tags": [
          "TaskDefinitions"
        ],
        "summary": "List task definitions",
        "description": "Returns the account's task definitions, each entry a task definition with its name, whether it is public and its latest version: the title its file's `name` declares (`displayName`), its version, identifier and publication date. A task definition with no versions is listed too, with `latestVersion` null. Long lists are paged. When more than one page exists the response's Link header carries the first, last, previous and next pages.",
        "operationId": "List_TaskDefinitions",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the task definitions.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Page to return, starting at 1.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Number of task definitions per page.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A page of task definitions.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ListTaskDefinitionsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListTaskDefinitionsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListTaskDefinitionsResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "TaskDefinitions"
        ],
        "summary": "Create a task definition",
        "description": "Registers the name that versions are published under and sets whether it is visible beyond the account. It carries no content of its own until a version is published.",
        "operationId": "Create_TaskDefinition",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account the task definition is created under.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The task definition name and whether it is public.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTaskDefinitionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTaskDefinitionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "The task definition was created.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/{accountName}/task-definitions/{taskDefinitionName}/versions/{version}": {
      "get": {
        "tags": [
          "TaskDefinitions"
        ],
        "summary": "Read a task definition version",
        "description": "Returns one published version: the title its file's `name` declares (`displayName`), the identifier a workflow references it by, when it was published, whether it is public, the inputs it declares with their defaults and whether each is required, and the container image and arguments it executes.",
        "operationId": "Get_TaskDefinition",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the task definition.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taskDefinitionName",
            "in": "path",
            "description": "Task definition to read.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "description": "Version of the task definition to read.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The task definition version, its inputs and what it executes.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetTaskDefinitionResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTaskDefinitionResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTaskDefinitionResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "TaskDefinitions"
        ],
        "summary": "Delete a task definition version",
        "description": "Removes one published version and leaves the rest in place. Workflows pinned to that version can no longer resolve their task. The version string stays reserved, so it can never be published again. Deleting the last version leaves the task definition with no versions; delete the task definition to remove it.",
        "operationId": "Delete_TaskDefinitionVersion",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the task definition.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taskDefinitionName",
            "in": "path",
            "description": "Task definition holding the version.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "description": "Version to delete.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The version was deleted."
          }
        }
      }
    },
    "/api/{accountName}/task-definitions/{taskDefinitionName}/versions/import": {
      "post": {
        "tags": [
          "TaskDefinitions"
        ],
        "summary": "Publish a version from a connected source",
        "description": "Reads a task definition file from a repository on a connected source provider and publishes it under the given version. The path names the definition file, and the reference selects a branch, tag or commit; without one the repository's default branch is read. A published version is immutable, so workflows referencing it keep resolving to the same content. A version string can be published only once per task definition name: one published before, even if it was deleted since, is refused with a 409 conflict, and so is one that was public under this account name, whichever account published it. When no task definition has the name, the call creates it with this version as its first, private unless `isPublic` is true, and a refused version leaves nothing behind. An existing task definition keeps its visibility.",
        "operationId": "Add_TaskDefinitionVersionFromProvider",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the task definition.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taskDefinitionName",
            "in": "path",
            "description": "Task definition the version is published under.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The source provider, repository owner and name, optional reference, path to the definition file, the version to publish as, and whether a task definition the call creates is public.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTaskDefinitionVersionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTaskDefinitionVersionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "The version was published."
          }
        }
      }
    },
    "/api/{accountName}/task-definitions/{taskDefinitionName}/versions": {
      "post": {
        "tags": [
          "TaskDefinitions"
        ],
        "summary": "Publish a version from an uploaded file",
        "description": "Publishes a task definition version from a file sent with the request, for definitions that do not live in a connected source repository. A published version is immutable, so workflows referencing it keep resolving to the same content. A version string can be published only once per task definition name: one published before, even if it was deleted since, is refused with a 409 conflict, and so is one that was public under this account name, whichever account published it. When no task definition has the name, the call creates it with this version as its first, private unless `isPublic` is true, and a refused version leaves nothing behind. An existing task definition keeps its visibility.",
        "operationId": "Add_TaskDefinitionVersionFromFile",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the task definition.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taskDefinitionName",
            "in": "path",
            "description": "Task definition the version is published under.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The task definition file.",
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "type": "object",
                    "properties": {
                      "version": {
                        "type": "string"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "properties": {
                      "isPublic": {
                        "type": "boolean"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "properties": {
                      "file": {
                        "$ref": "#/components/schemas/IFormFile"
                      }
                    }
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "The version was published."
          }
        }
      },
      "get": {
        "tags": [
          "TaskDefinitions"
        ],
        "summary": "List a task definition's versions",
        "description": "Returns the versions published under one task definition, each with the title its file's `name` declares (`displayName`), its identifier, publication date and whether it is the latest. Long lists are paged. When more than one page exists the response's Link header carries the first, last, previous and next pages.",
        "operationId": "List_TaskDefinitionVersions",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the task definition.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taskDefinitionName",
            "in": "path",
            "description": "Task definition whose versions are listed.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Page to return, starting at 1.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Number of versions per page.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A page of published versions.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ListTaskDefinitionVersionsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListTaskDefinitionVersionsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListTaskDefinitionVersionsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/{accountName}/task-definitions/{taskDefinitionName}": {
      "delete": {
        "tags": [
          "TaskDefinitions"
        ],
        "summary": "Delete a task definition",
        "description": "Removes the task definition and every version published under it. Workflows that reference it can no longer resolve their task, so retire those references first. The version strings published under it stay reserved and can never be published again, including to a task definition later created with the same name.",
        "operationId": "Delete_TaskDefinition",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the task definition.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taskDefinitionName",
            "in": "path",
            "description": "Task definition to delete.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The task definition was deleted."
          }
        }
      },
      "patch": {
        "tags": [
          "TaskDefinitions"
        ],
        "summary": "Change a task definition's visibility",
        "description": "Switches the definition between being usable only inside the account and being public, for other accounts to reference. The change applies to every version under it. Making it public reserves each of its versions for every account for good; making it private again releases none. If a version of the definition is published while it is being made public, nothing changes and the request fails with a 409 conflict; send it again.",
        "operationId": "Update_TaskDefinitionVisibility",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the task definition.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taskDefinitionName",
            "in": "path",
            "description": "Task definition whose visibility is changed.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Whether the task definition is public.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTaskDefinitionVisibilityRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTaskDefinitionVisibilityRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTaskDefinitionVisibilityRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "The visibility was changed."
          }
        }
      }
    },
    "/api/{accountName}/projects/{projectName}/workflows/{workflowId}/runs/{runId}/tasks": {
      "get": {
        "tags": [
          "Tasks"
        ],
        "summary": "List a run's tasks",
        "description": "Returns the tasks in one run, each with its key in the workflow definition, its status, timings, compute type, the tasks it starts and terminates on, its position in an iteration where it came from one, and the branch of the if task whose block it runs in where it runs in one. Long lists are paged. When more than one page exists the response's Link header carries the first, last, previous and next pages.",
        "operationId": "List_WorkflowRunTasks",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project holding the workflow.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "workflowId",
            "in": "path",
            "description": "Workflow the run belongs to.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "runId",
            "in": "path",
            "description": "Run whose tasks are listed.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Page to return, starting at 1.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Number of tasks per page.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A page of the run's tasks.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ListWorkflowRunTasksResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListWorkflowRunTasksResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListWorkflowRunTasksResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/{accountName}/projects/{projectName}/workflows/{workflowId}/runs/{runId}/tasks/{taskId}": {
      "get": {
        "tags": [
          "Tasks"
        ],
        "summary": "Read a task in a run",
        "description": "Returns one task's key in the workflow definition, its status, timings, compute type, the tasks it starts and terminates on, its position in an iteration where it came from one, the branch of the if task whose block it runs in where it runs in one, and the reason it ended where one applies. billedMinutes is the compute time it is billed for, in whole minutes, once its billing is final; it is null until then, and for a task that never held compute.",
        "operationId": "Get_WorkflowRunTask",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project holding the workflow.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "workflowId",
            "in": "path",
            "description": "Workflow the run belongs to.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "runId",
            "in": "path",
            "description": "Run the task belongs to.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taskId",
            "in": "path",
            "description": "Task to read.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The task and its current status.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetWorkflowRunTaskResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetWorkflowRunTaskResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetWorkflowRunTaskResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/{organizationName}/teams": {
      "get": {
        "tags": [
          "Teams"
        ],
        "summary": "List an organization's teams",
        "description": "Returns the teams in the organization with the projects each is associated with. Long lists are paged. When more than one page exists the response's Link header carries the first, last, previous and next pages.",
        "operationId": "List_Teams",
        "parameters": [
          {
            "name": "organizationName",
            "in": "path",
            "description": "Organization whose teams are listed.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Page to return, starting at 1.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Number of teams per page.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A page of teams and their associated projects.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ListTeamsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListTeamsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListTeamsResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Teams"
        ],
        "summary": "Create a team",
        "description": "A team groups organization members and associates them with projects, so project access can be granted in bulk rather than member by member.",
        "operationId": "Create_Team",
        "parameters": [
          {
            "name": "organizationName",
            "in": "path",
            "description": "Organization the team is created in.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The team name and the projects it is associated with.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTeamRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTeamRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTeamRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "The team was created."
          }
        }
      }
    },
    "/api/{organizationName}/teams/{teamId}/members": {
      "get": {
        "tags": [
          "Teams"
        ],
        "summary": "List a team's members",
        "description": "Returns the accounts in one team with the organization role each holds. Long lists are paged. When more than one page exists the response's Link header carries the first, last, previous and next pages.",
        "operationId": "List_Team_Members",
        "parameters": [
          {
            "name": "organizationName",
            "in": "path",
            "description": "Organization the team belongs to.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "teamId",
            "in": "path",
            "description": "Team whose members are listed.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Page to return, starting at 1.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Number of members per page.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A page of the team's members.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ListTeamMembersResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListTeamMembersResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListTeamMembersResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Teams"
        ],
        "summary": "Add a member to a team",
        "description": "Puts an existing organization member in the team, which grants it the projects the team is associated with.",
        "operationId": "Add_Team_Member",
        "parameters": [
          {
            "name": "organizationName",
            "in": "path",
            "description": "Organization the team belongs to.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "teamId",
            "in": "path",
            "description": "Team the member joins.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The organization member to add.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddTeamMemberRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddTeamMemberRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddTeamMemberRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "The member was added to the team."
          }
        }
      }
    },
    "/api/{organizationName}/teams/{teamId}": {
      "put": {
        "tags": [
          "Teams"
        ],
        "summary": "Rename a team or change the projects it reaches",
        "description": "Replaces the team's name and its associated projects with the values sent. Members of the team gain and lose project access as the association changes.",
        "operationId": "Update_Team",
        "parameters": [
          {
            "name": "organizationName",
            "in": "path",
            "description": "Organization the team belongs to.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "teamId",
            "in": "path",
            "description": "Team to update.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The new team name and the complete list of associated projects.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTeamRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTeamRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTeamRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "The team was updated."
          }
        }
      },
      "delete": {
        "tags": [
          "Teams"
        ],
        "summary": "Delete a team",
        "description": "Removes the team and the project access it granted. Its members stay in the organization and keep access granted to them by other means.",
        "operationId": "Delete_Team",
        "parameters": [
          {
            "name": "organizationName",
            "in": "path",
            "description": "Organization the team belongs to.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "teamId",
            "in": "path",
            "description": "Team to delete.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The team was deleted."
          }
        }
      }
    },
    "/api/{organizationName}/teams/{teamId}/members/{memberAccountName}": {
      "delete": {
        "tags": [
          "Teams"
        ],
        "summary": "Remove a member from a team",
        "description": "Takes the member out of the team and with it the project access the team granted. The member stays in the organization.",
        "operationId": "Remove_Team_Member",
        "parameters": [
          {
            "name": "organizationName",
            "in": "path",
            "description": "Organization the team belongs to.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "teamId",
            "in": "path",
            "description": "Team the member is removed from.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "memberAccountName",
            "in": "path",
            "description": "Member to remove.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The member was removed from the team."
          }
        }
      }
    },
    "/api/{accountName}/usage": {
      "get": {
        "tags": [
          "Usage"
        ],
        "summary": "Read the account's usage for the current month",
        "description": "Reports what the account has consumed so far this month across the billed dimensions: the compute minutes billed per compute type, the gibibytes billed for task output sent out of the platform and for files downloaded from repositories, the bytes the account stores, and the workflow storage minutes billed per workspace size for the account's runs this month. Compute time and workflow storage time are what is billed: whole minutes as they are recorded, each task and run rounded up to the next minute when it ends. Egress is what is billed too: whole gibibytes of the month's task output so far, and of each day's repository downloads.",
        "operationId": "Get_Account_Usage",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account whose usage is read.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The account's usage so far this month.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetUsageResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetUsageResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetUsageResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/{accountName}/projects/{projectName}/workflows": {
      "get": {
        "tags": [
          "Workflows"
        ],
        "summary": "List workflows",
        "description": "Returns the project's workflow definitions with their identifiers, which the run endpoints take. Long lists are paged. When more than one page exists the response's Link header carries the first, last, previous and next pages.",
        "operationId": "List_Workflows",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project holding the workflows.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Page to return, starting at 1.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Number of workflows per page.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A page of workflow identifiers and names.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ListWorkflowsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListWorkflowsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListWorkflowsResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Workflows"
        ],
        "summary": "Upload a workflow definition",
        "description": "Registers a workflow from a definition file sent with the request, for definitions that do not live in a connected source repository. A definition naming a compute type the platform does not offer, as its default or on any task, is refused with an error naming it.",
        "operationId": "Create_Workflow_From_File",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project the workflow is created in.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The workflow definition file.",
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "$ref": "#/components/schemas/IFormFile"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "The workflow was created.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/{accountName}/projects/{projectName}/workflows/{workflowId}": {
      "get": {
        "tags": [
          "Workflows"
        ],
        "summary": "Read a workflow definition",
        "description": "Returns the workflow's name, where its definition was imported from, and the inputs a run may be started with, each with its description, whether it is required and its default.",
        "operationId": "Get_Workflow",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project holding the workflow.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "workflowId",
            "in": "path",
            "description": "Workflow to read.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The workflow definition and the inputs its runs accept.",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetWorkflowResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetWorkflowResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetWorkflowResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Workflows"
        ],
        "summary": "Replace a workflow definition",
        "description": "Replaces the registered definition with one sent in the request. Runs already under way keep the definition they started with. A definition naming a compute type the platform does not offer, as its default or on any task, is refused with an error naming it, and the registered version is kept.",
        "operationId": "Update_Workflow_From_File",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project holding the workflow.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "workflowId",
            "in": "path",
            "description": "Workflow to replace.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The workflow definition file.",
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "$ref": "#/components/schemas/IFormFile"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "The workflow definition was replaced."
          }
        }
      },
      "delete": {
        "tags": [
          "Workflows"
        ],
        "summary": "Delete a workflow",
        "description": "Removes the workflow from the project along with its definition, its runs and their logs. A workflow with a run that has not finished cannot be deleted; wait for the run to finish, or cancel it.",
        "operationId": "Delete_Workflow",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project holding the workflow.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "workflowId",
            "in": "path",
            "description": "Workflow to delete.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The workflow was deleted."
          }
        }
      }
    },
    "/api/{accountName}/projects/{projectName}/workflows/import": {
      "post": {
        "tags": [
          "Workflows"
        ],
        "summary": "Import a workflow from a connected source",
        "description": "Reads a workflow definition from a repository on a connected source provider and registers it in the project. The path names the definition file, and the reference selects a branch, tag or commit; without one the repository's default branch is read. A definition naming a compute type the platform does not offer, as its default or on any task, is refused with an error naming it.",
        "operationId": "Create_Workflow_From_Provider",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project the workflow is created in.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The source provider, repository owner and name, optional reference, and the path to the definition file.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateWorkflowRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateWorkflowRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "The workflow was imported.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/{accountName}/projects/{projectName}/workflows/{workflowId}/import": {
      "put": {
        "tags": [
          "Workflows"
        ],
        "summary": "Re-import a workflow from its source",
        "description": "Reads the workflow's definition again from the source it was imported from and replaces the registered version. Runs already under way keep the definition they started with. A definition naming a compute type the platform does not offer, as its default or on any task, is refused with an error naming it, and the registered version is kept.",
        "operationId": "Reimport_Workflow_From_Provider",
        "parameters": [
          {
            "name": "accountName",
            "in": "path",
            "description": "Account owning the project.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectName",
            "in": "path",
            "description": "Project holding the workflow.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "workflowId",
            "in": "path",
            "description": "Workflow to re-import.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The workflow was re-imported."
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AddAccountSecretAllowedProjectRequest": {
        "required": [
          "projectName"
        ],
        "type": "object",
        "properties": {
          "projectName": {
            "type": "string"
          }
        }
      },
      "AddMemberRequest": {
        "required": [
          "memberAccountName",
          "role"
        ],
        "type": "object",
        "properties": {
          "memberAccountName": {
            "type": "string"
          },
          "role": {
            "type": "string"
          }
        }
      },
      "AddTeamMemberRequest": {
        "required": [
          "memberAccountName"
        ],
        "type": "object",
        "properties": {
          "memberAccountName": {
            "type": "string"
          }
        }
      },
      "AllowedProjectResponse": {
        "required": [
          "projectId",
          "projectName"
        ],
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "projectName": {
            "type": "string"
          }
        }
      },
      "CreateAccountSecretRequest": {
        "required": [
          "secretName",
          "secretValue"
        ],
        "type": "object",
        "properties": {
          "secretName": {
            "type": "string"
          },
          "secretValue": {
            "type": "string"
          },
          "allowedProjects": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "allowedProjectIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string",
              "format": "uuid"
            }
          }
        }
      },
      "CreateOrganizationRequest": {
        "required": [
          "organizationName"
        ],
        "type": "object",
        "properties": {
          "organizationName": {
            "type": "string"
          }
        }
      },
      "CreateProjectRequest": {
        "required": [
          "projectName"
        ],
        "type": "object",
        "properties": {
          "projectName": {
            "type": "string"
          }
        }
      },
      "CreateRepositoryRequest": {
        "required": [
          "repositoryName"
        ],
        "type": "object",
        "properties": {
          "repositoryName": {
            "type": "string"
          }
        }
      },
      "CreateSecretRequest": {
        "required": [
          "secretName",
          "secretValue"
        ],
        "type": "object",
        "properties": {
          "secretName": {
            "type": "string"
          },
          "secretValue": {
            "type": "string"
          }
        }
      },
      "CreateTagRequest": {
        "required": [
          "tagName",
          "files"
        ],
        "type": "object",
        "properties": {
          "tagName": {
            "type": "string"
          },
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CreateTagRequestFile"
            }
          },
          "sourceTagName": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CreateTagRequestFile": {
        "required": [
          "filename",
          "manifestHash",
          "fileSize",
          "fileContentHash"
        ],
        "type": "object",
        "properties": {
          "filename": {
            "type": "string"
          },
          "manifestHash": {
            "type": "string"
          },
          "fileSize": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "fileContentHash": {
            "type": "string"
          }
        }
      },
      "CreateTaskDefinitionRequest": {
        "required": [
          "name",
          "isPublic"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "isPublic": {
            "type": "boolean"
          }
        }
      },
      "CreateTaskDefinitionVersionRequest": {
        "required": [
          "sourceProvider",
          "owner",
          "repo",
          "repoRef",
          "path",
          "version"
        ],
        "type": "object",
        "properties": {
          "sourceProvider": {
            "type": "string"
          },
          "owner": {
            "type": "string"
          },
          "repo": {
            "type": "string"
          },
          "repoRef": {
            "type": [
              "null",
              "string"
            ]
          },
          "path": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "isPublic": {
            "type": "boolean",
            "default": false
          }
        }
      },
      "CreateTeamRequest": {
        "required": [
          "teamName",
          "associatedProjectIds"
        ],
        "type": "object",
        "properties": {
          "teamName": {
            "type": "string"
          },
          "associatedProjectIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string",
              "format": "uuid"
            }
          }
        }
      },
      "CreateWorkflowRequest": {
        "required": [
          "sourceProvider",
          "owner",
          "repo",
          "repoRef",
          "path"
        ],
        "type": "object",
        "properties": {
          "sourceProvider": {
            "type": "string"
          },
          "owner": {
            "type": "string"
          },
          "repo": {
            "type": "string"
          },
          "repoRef": {
            "type": [
              "null",
              "string"
            ]
          },
          "path": {
            "type": "string"
          }
        }
      },
      "GetAccountOrganizationAuthorizationResponse": {
        "required": [
          "organizationName",
          "role",
          "associatedProjects"
        ],
        "type": "object",
        "properties": {
          "organizationName": {
            "type": "string"
          },
          "role": {
            "type": "string"
          },
          "associatedProjects": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          }
        }
      },
      "GetAccountOrganizationsResponse": {
        "required": [
          "organizations",
          "pageNumber",
          "pageSize",
          "totalItemCount",
          "pageCount"
        ],
        "type": "object",
        "properties": {
          "organizations": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "pageNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageSize": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalItemCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "GetAccountResponse": {
        "required": [
          "accountName",
          "email",
          "organizationsAuthorization",
          "workflowStorageSizeTebibytes"
        ],
        "type": "object",
        "properties": {
          "accountName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "organizationsAuthorization": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetAccountOrganizationAuthorizationResponse"
            }
          },
          "workflowStorageSizeTebibytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "GetAccountSecretResponse": {
        "required": [
          "name",
          "createdAt",
          "updatedAt",
          "allowedProjects",
          "allowedProjectItems"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "allowedProjects": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "allowedProjectItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AllowedProjectResponse"
            }
          }
        }
      },
      "GetBillingCostResponse": {
        "required": [
          "currency",
          "monthToDateCost",
          "unpaidBalance",
          "notYetInvoiced",
          "invoicedAwaitingPayment",
          "billingThreshold",
          "asOf"
        ],
        "type": "object",
        "properties": {
          "currency": {
            "type": "string"
          },
          "monthToDateCost": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "unpaidBalance": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "notYetInvoiced": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "invoicedAwaitingPayment": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "billingThreshold": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "asOf": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "GetBillingStatusResponse": {
        "required": [
          "billingStatus",
          "closesAt"
        ],
        "type": "object",
        "properties": {
          "billingStatus": {
            "type": "string"
          },
          "closesAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "GetCanDisableMfaResponse": {
        "required": [
          "canDisable"
        ],
        "type": "object",
        "properties": {
          "canDisable": {
            "type": "boolean"
          }
        }
      },
      "GetEmailVerificationResponse": {
        "required": [
          "emailVerified"
        ],
        "type": "object",
        "properties": {
          "emailVerified": {
            "type": "boolean"
          }
        }
      },
      "GetMfaStatusResponse": {
        "required": [
          "isMfaEnabled",
          "enrollments"
        ],
        "type": "object",
        "properties": {
          "isMfaEnabled": {
            "type": "boolean"
          },
          "enrollments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MfaEnrollmentResponse"
            }
          }
        }
      },
      "GetOrganizationResponse": {
        "required": [
          "organizationName",
          "requiresMfa",
          "workflowStorageSizeTebibytes"
        ],
        "type": "object",
        "properties": {
          "organizationName": {
            "type": "string"
          },
          "requiresMfa": {
            "type": "boolean"
          },
          "workflowStorageSizeTebibytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "GetPasswordPolicyResponse": {
        "required": [
          "minLength",
          "maxLength",
          "requiredStrength",
          "requiresLowercase",
          "requiresUppercase",
          "requiresNumbers",
          "requiresSpecialCharacters",
          "noMoreThanTwoIdenticalCharsInARow",
          "noPersonalInfo",
          "dictionaryCheckEnabled"
        ],
        "type": "object",
        "properties": {
          "minLength": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "maxLength": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "requiredStrength": {
            "type": "string"
          },
          "requiresLowercase": {
            "type": "boolean"
          },
          "requiresUppercase": {
            "type": "boolean"
          },
          "requiresNumbers": {
            "type": "boolean"
          },
          "requiresSpecialCharacters": {
            "type": "boolean"
          },
          "noMoreThanTwoIdenticalCharsInARow": {
            "type": "boolean"
          },
          "noPersonalInfo": {
            "type": "boolean"
          },
          "dictionaryCheckEnabled": {
            "type": "boolean"
          }
        }
      },
      "GetProjectResponse": {
        "required": [
          "projectName",
          "createdAt",
          "workflowStorageSizeOverrideTebibytes",
          "workflowStorageSizeTebibytes",
          "inheritedWorkflowStorageSizeTebibytes"
        ],
        "type": "object",
        "properties": {
          "projectName": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "workflowStorageSizeOverrideTebibytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "workflowStorageSizeTebibytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "inheritedWorkflowStorageSizeTebibytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "GetRepositoryResponse": {
        "required": [
          "repositoryName",
          "createdAt"
        ],
        "type": "object",
        "properties": {
          "repositoryName": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "GetSecretResponse": {
        "required": [
          "secretName",
          "createdAt",
          "updatedAt"
        ],
        "type": "object",
        "properties": {
          "secretName": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "GetTagResponse": {
        "required": [
          "tagName",
          "createdAt",
          "files"
        ],
        "type": "object",
        "properties": {
          "tagName": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetTagResponseFile"
            }
          }
        }
      },
      "GetTagResponseFile": {
        "required": [
          "filename",
          "manifestHash",
          "fileSize",
          "fileContentHash"
        ],
        "type": "object",
        "properties": {
          "filename": {
            "type": "string"
          },
          "manifestHash": {
            "type": "string"
          },
          "fileSize": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "fileContentHash": {
            "type": "string"
          }
        }
      },
      "GetTaskDefinitionResponse": {
        "required": [
          "name",
          "canonicalName",
          "displayName",
          "version",
          "canonicalVersion",
          "identifier",
          "publishedDate",
          "isPublic",
          "inputs",
          "exec"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "canonicalName": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "canonicalVersion": {
            "type": "string"
          },
          "identifier": {
            "type": "string"
          },
          "publishedDate": {
            "type": "string",
            "format": "date-time"
          },
          "isPublic": {
            "type": "boolean"
          },
          "inputs": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "$ref": "#/components/schemas/GetTaskDefinitionResponseInput"
            }
          },
          "exec": {
            "$ref": "#/components/schemas/GetTaskDefinitionResponseExec"
          }
        }
      },
      "GetTaskDefinitionResponseExec": {
        "required": [
          "image",
          "args"
        ],
        "type": "object",
        "properties": {
          "image": {
            "type": "string"
          },
          "args": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          }
        }
      },
      "GetTaskDefinitionResponseInput": {
        "required": [
          "required",
          "default"
        ],
        "type": "object",
        "properties": {
          "required": {
            "type": "boolean"
          },
          "default": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "GetUsageComputeTimeItem": {
        "required": [
          "computeType",
          "billedMinutes"
        ],
        "type": "object",
        "properties": {
          "computeType": {
            "type": "string"
          },
          "billedMinutes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          }
        }
      },
      "GetUsageResponse": {
        "required": [
          "computeTime",
          "taskEgressGibibytes",
          "storageEgressGibibytes",
          "storageSizeBytes",
          "workflowStorageTime"
        ],
        "type": "object",
        "properties": {
          "computeTime": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetUsageComputeTimeItem"
            }
          },
          "taskEgressGibibytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "storageEgressGibibytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "storageSizeBytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "workflowStorageTime": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetUsageWorkflowStorageTimeItem"
            }
          }
        }
      },
      "GetUsageWorkflowStorageTimeItem": {
        "required": [
          "sizeTebibytes",
          "billedMinutes"
        ],
        "type": "object",
        "properties": {
          "sizeTebibytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "billedMinutes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          }
        }
      },
      "GetWorkflowResponse": {
        "required": [
          "workflowId",
          "workflowName",
          "workflowUrl",
          "inputs"
        ],
        "type": "object",
        "properties": {
          "workflowId": {
            "type": "string"
          },
          "workflowName": {
            "type": "string"
          },
          "workflowUrl": {
            "type": "string"
          },
          "inputs": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/GetWorkflowResponseInput"
            }
          }
        }
      },
      "GetWorkflowResponseInput": {
        "required": [
          "name",
          "description",
          "required",
          "default"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "required": {
            "type": "boolean"
          },
          "default": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "GetWorkflowRunResponse": {
        "required": [
          "runId",
          "status",
          "startTime",
          "durationSeconds",
          "triggeredBy",
          "triggeredByCurrentName",
          "reason",
          "billedMinutes"
        ],
        "type": "object",
        "properties": {
          "runId": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "startTime": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "durationSeconds": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "triggeredBy": {
            "type": "string"
          },
          "triggeredByCurrentName": {
            "type": [
              "null",
              "string"
            ]
          },
          "reason": {
            "type": [
              "null",
              "string"
            ]
          },
          "billedMinutes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          }
        }
      },
      "GetWorkflowRunTaskResponse": {
        "required": [
          "taskId",
          "key",
          "name",
          "status",
          "startOn",
          "terminateOn",
          "computeType",
          "taskType",
          "blockId",
          "parentId",
          "iterationIndex",
          "iterationItem",
          "ifBranch",
          "startTime",
          "durationSeconds",
          "reason",
          "billedMinutes"
        ],
        "type": "object",
        "properties": {
          "taskId": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "startOn": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "terminateOn": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "computeType": {
            "type": [
              "null",
              "string"
            ]
          },
          "taskType": {
            "type": [
              "null",
              "string"
            ]
          },
          "blockId": {
            "type": [
              "null",
              "string"
            ]
          },
          "parentId": {
            "type": [
              "null",
              "string"
            ]
          },
          "iterationIndex": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "iterationItem": {
            "type": [
              "null",
              "string"
            ]
          },
          "ifBranch": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "startTime": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "durationSeconds": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "reason": {
            "type": [
              "null",
              "string"
            ]
          },
          "billedMinutes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          }
        }
      },
      "GitHubInstallationDto": {
        "required": [
          "owner",
          "ownerName",
          "ownerType",
          "avatarUrl"
        ],
        "type": "object",
        "properties": {
          "owner": {
            "type": "string"
          },
          "ownerName": {
            "type": "string"
          },
          "ownerType": {
            "type": "string"
          },
          "avatarUrl": {
            "type": "string"
          }
        }
      },
      "IFormFile": {
        "type": "string",
        "format": "binary"
      },
      "IntegrationStatusResponse": {
        "required": [
          "isIntegrated"
        ],
        "type": "object",
        "properties": {
          "isIntegrated": {
            "type": "boolean"
          }
        }
      },
      "ListAccountSecretsResponse": {
        "required": [
          "items",
          "pageNumber",
          "pageSize",
          "totalItemCount",
          "pageCount"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ListAccountSecretsResponseItem"
            }
          },
          "pageNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageSize": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalItemCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ListAccountSecretsResponseItem": {
        "required": [
          "name",
          "updatedAt"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "ListDeletedProjectsResponse": {
        "required": [
          "items",
          "pageNumber",
          "pageSize",
          "totalItemCount",
          "pageCount"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ListDeletedProjectsResponseItem"
            }
          },
          "pageNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageSize": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalItemCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ListDeletedProjectsResponseItem": {
        "required": [
          "name",
          "deletedAt",
          "deletedBy",
          "deletedByCurrentName",
          "daysRemaining"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedBy": {
            "type": "string"
          },
          "deletedByCurrentName": {
            "type": [
              "null",
              "string"
            ]
          },
          "daysRemaining": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ListDeletedRepositoriesResponse": {
        "required": [
          "items",
          "pageNumber",
          "pageSize",
          "totalItemCount",
          "pageCount"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ListDeletedRepositoriesResponseItem"
            }
          },
          "pageNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageSize": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalItemCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ListDeletedRepositoriesResponseItem": {
        "required": [
          "name",
          "deletedAt",
          "deletedBy",
          "deletedByCurrentName",
          "daysRemaining"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedBy": {
            "type": "string"
          },
          "deletedByCurrentName": {
            "type": [
              "null",
              "string"
            ]
          },
          "daysRemaining": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ListGitHubInstallationsResponse": {
        "required": [
          "installations"
        ],
        "type": "object",
        "properties": {
          "installations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GitHubInstallationDto"
            }
          }
        }
      },
      "ListMembersResponse": {
        "required": [
          "members",
          "pageNumber",
          "pageSize",
          "totalItemCount",
          "pageCount"
        ],
        "type": "object",
        "properties": {
          "members": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ListMembersResponseItem"
            }
          },
          "pageNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageSize": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalItemCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ListMembersResponseItem": {
        "required": [
          "id",
          "name",
          "role",
          "isMfaEnabled"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "role": {
            "type": "string"
          },
          "isMfaEnabled": {
            "type": "boolean"
          }
        }
      },
      "ListProjectAccountSecretsResponse": {
        "required": [
          "items",
          "pageNumber",
          "pageSize",
          "totalItemCount",
          "pageCount"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ListProjectAccountSecretsResponseItem"
            }
          },
          "pageNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageSize": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalItemCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ListProjectAccountSecretsResponseItem": {
        "required": [
          "name",
          "updatedAt"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "ListProjectRunsResponse": {
        "required": [
          "items",
          "pageNumber",
          "pageSize",
          "totalItemCount",
          "pageCount"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ListProjectRunsResponseItem"
            }
          },
          "pageNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageSize": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalItemCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ListProjectRunsResponseItem": {
        "required": [
          "runId",
          "workflowId",
          "workflowName",
          "status",
          "startTime",
          "durationSeconds",
          "triggeredBy",
          "triggeredByCurrentName",
          "reason"
        ],
        "type": "object",
        "properties": {
          "runId": {
            "type": "string"
          },
          "workflowId": {
            "type": "string"
          },
          "workflowName": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "startTime": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "durationSeconds": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "triggeredBy": {
            "type": "string"
          },
          "triggeredByCurrentName": {
            "type": [
              "null",
              "string"
            ]
          },
          "reason": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ListProjectsResponse": {
        "required": [
          "items",
          "pageNumber",
          "pageSize",
          "totalItemCount",
          "pageCount"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ListProjectsResponseItem"
            }
          },
          "pageNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageSize": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalItemCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ListProjectsResponseItem": {
        "required": [
          "projectId",
          "projectName"
        ],
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "projectName": {
            "type": "string"
          }
        }
      },
      "ListRepositoriesResponse": {
        "required": [
          "items",
          "pageNumber",
          "pageSize",
          "totalItemCount",
          "pageCount"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ListRepositoriesResponseItem"
            }
          },
          "pageNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageSize": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalItemCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ListRepositoriesResponseItem": {
        "required": [
          "repositoryName"
        ],
        "type": "object",
        "properties": {
          "repositoryName": {
            "type": "string"
          }
        }
      },
      "ListSecretsResponse": {
        "required": [
          "items",
          "pageNumber",
          "pageSize",
          "totalItemCount",
          "pageCount"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ListSecretsResponseItem"
            }
          },
          "pageNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageSize": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalItemCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ListSecretsResponseItem": {
        "required": [
          "name",
          "updatedAt"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "ListSourceFilesResponse": {
        "required": [
          "files",
          "pageNumber",
          "pageSize",
          "totalItemCount",
          "pageCount"
        ],
        "type": "object",
        "properties": {
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SourceFileDto"
            }
          },
          "pageNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageSize": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalItemCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ListSourceOrganizationsResponse": {
        "required": [
          "organizations",
          "pageNumber",
          "pageSize",
          "totalItemCount",
          "pageCount"
        ],
        "type": "object",
        "properties": {
          "organizations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SourceOrganizationDto"
            }
          },
          "pageNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageSize": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalItemCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ListSourceRepositoriesResponse": {
        "required": [
          "repositories",
          "pageNumber",
          "pageSize",
          "totalItemCount",
          "pageCount"
        ],
        "type": "object",
        "properties": {
          "repositories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SourceRepositoryDto"
            }
          },
          "pageNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageSize": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalItemCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ListTagsResponse": {
        "required": [
          "items",
          "pageNumber",
          "pageSize",
          "totalItemCount",
          "pageCount"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ListTagsResponseItem"
            }
          },
          "pageNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageSize": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalItemCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ListTagsResponseItem": {
        "required": [
          "tagName"
        ],
        "type": "object",
        "properties": {
          "tagName": {
            "type": "string"
          }
        }
      },
      "ListTaskDefinitionsResponse": {
        "required": [
          "items",
          "pageNumber",
          "pageSize",
          "totalItemCount",
          "pageCount"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ListTaskDefinitionsResponseItem"
            }
          },
          "pageNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageSize": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalItemCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ListTaskDefinitionsResponseItem": {
        "required": [
          "name",
          "isPublic",
          "latestVersion"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "isPublic": {
            "type": "boolean"
          },
          "latestVersion": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ListTaskDefinitionsResponseLatestVersion"
              }
            ]
          }
        }
      },
      "ListTaskDefinitionsResponseLatestVersion": {
        "required": [
          "displayName",
          "version",
          "identifier",
          "publishedDate"
        ],
        "type": "object",
        "properties": {
          "displayName": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "identifier": {
            "type": "string"
          },
          "publishedDate": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "ListTaskDefinitionVersionsResponse": {
        "required": [
          "items",
          "pageNumber",
          "pageSize",
          "totalItemCount",
          "pageCount"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ListTaskDefinitionVersionsResponseItem"
            }
          },
          "pageNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageSize": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalItemCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ListTaskDefinitionVersionsResponseItem": {
        "required": [
          "name",
          "displayName",
          "version",
          "identifier",
          "publishedDate",
          "isPublic",
          "isLatest"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "identifier": {
            "type": "string"
          },
          "publishedDate": {
            "type": "string",
            "format": "date-time"
          },
          "isPublic": {
            "type": "boolean"
          },
          "isLatest": {
            "type": "boolean"
          }
        }
      },
      "ListTeamMembersResponse": {
        "required": [
          "members",
          "pageNumber",
          "pageSize",
          "totalItemCount",
          "pageCount"
        ],
        "type": "object",
        "properties": {
          "members": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ListTeamMembersResponseItem"
            }
          },
          "pageNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageSize": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalItemCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ListTeamMembersResponseItem": {
        "required": [
          "id",
          "name",
          "role"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "role": {
            "type": "string"
          }
        }
      },
      "ListTeamsResponse": {
        "required": [
          "teams",
          "pageNumber",
          "pageSize",
          "totalItemCount",
          "pageCount"
        ],
        "type": "object",
        "properties": {
          "teams": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ListTeamsResponseItem"
            }
          },
          "pageNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageSize": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalItemCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ListTeamsResponseItem": {
        "required": [
          "id",
          "name",
          "associatedProjects"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "associatedProjects": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/TeamProjectResponse"
            }
          }
        }
      },
      "ListWorkflowRunsResponse": {
        "required": [
          "runs",
          "pageNumber",
          "pageSize",
          "totalItemCount",
          "pageCount"
        ],
        "type": "object",
        "properties": {
          "runs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ListWorkflowRunsResponseRun"
            }
          },
          "pageNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageSize": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalItemCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ListWorkflowRunsResponseRun": {
        "required": [
          "runId",
          "status",
          "startTime",
          "durationSeconds",
          "triggeredBy",
          "triggeredByCurrentName",
          "reason"
        ],
        "type": "object",
        "properties": {
          "runId": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "startTime": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "durationSeconds": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "triggeredBy": {
            "type": "string"
          },
          "triggeredByCurrentName": {
            "type": [
              "null",
              "string"
            ]
          },
          "reason": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ListWorkflowRunTasksResponse": {
        "required": [
          "tasks",
          "pageNumber",
          "pageSize",
          "totalItemCount",
          "pageCount"
        ],
        "type": "object",
        "properties": {
          "tasks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ListWorkflowRunTasksResponseTask"
            }
          },
          "pageNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageSize": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalItemCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ListWorkflowRunTasksResponseTask": {
        "required": [
          "taskId",
          "key",
          "name",
          "status",
          "startOn",
          "terminateOn",
          "computeType",
          "taskType",
          "blockId",
          "parentId",
          "iterationIndex",
          "iterationItem",
          "ifBranch",
          "startTime",
          "durationSeconds",
          "reason"
        ],
        "type": "object",
        "properties": {
          "taskId": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "startOn": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "terminateOn": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "computeType": {
            "type": [
              "null",
              "string"
            ]
          },
          "taskType": {
            "type": [
              "null",
              "string"
            ]
          },
          "blockId": {
            "type": [
              "null",
              "string"
            ]
          },
          "parentId": {
            "type": [
              "null",
              "string"
            ]
          },
          "iterationIndex": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "iterationItem": {
            "type": [
              "null",
              "string"
            ]
          },
          "ifBranch": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "startTime": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "durationSeconds": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "reason": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ListWorkflowsResponse": {
        "required": [
          "workflows",
          "pageNumber",
          "pageSize",
          "totalItemCount",
          "pageCount"
        ],
        "type": "object",
        "properties": {
          "workflows": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ListWorkflowsResponseWorkflow"
            }
          },
          "pageNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageSize": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalItemCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ListWorkflowsResponseWorkflow": {
        "required": [
          "workflowId",
          "workflowName"
        ],
        "type": "object",
        "properties": {
          "workflowId": {
            "type": "string"
          },
          "workflowName": {
            "type": "string"
          }
        }
      },
      "MfaEnrollmentResponse": {
        "required": [
          "type",
          "name",
          "active"
        ],
        "type": "object",
        "properties": {
          "type": {
            "type": "string"
          },
          "name": {
            "type": [
              "null",
              "string"
            ]
          },
          "active": {
            "type": "boolean"
          }
        }
      },
      "SetProjectWorkflowStorageSizeRequest": {
        "required": [
          "sizeTebibytes"
        ],
        "type": "object",
        "properties": {
          "sizeTebibytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "SourceFileDto": {
        "required": [
          "name",
          "path",
          "type",
          "size"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "size": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          }
        }
      },
      "SourceOrganizationDto": {
        "required": [
          "login",
          "name",
          "avatarUrl"
        ],
        "type": "object",
        "properties": {
          "login": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "avatarUrl": {
            "type": "string"
          }
        }
      },
      "SourceRepositoryDto": {
        "required": [
          "owner",
          "name",
          "fullName",
          "isPrivate",
          "defaultBranch"
        ],
        "type": "object",
        "properties": {
          "owner": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "fullName": {
            "type": "string"
          },
          "isPrivate": {
            "type": "boolean"
          },
          "defaultBranch": {
            "type": "string"
          }
        }
      },
      "StartWorkflowRunRequest": {
        "required": [
          "inputValues"
        ],
        "type": "object",
        "properties": {
          "inputValues": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      },
      "TeamProjectResponse": {
        "required": [
          "projectId",
          "projectName"
        ],
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "projectName": {
            "type": "string"
          }
        }
      },
      "UpdateAccountNameRequest": {
        "required": [
          "newAccountName"
        ],
        "type": "object",
        "properties": {
          "newAccountName": {
            "type": "string"
          }
        }
      },
      "UpdateAccountSecretAllowedProjectsRequest": {
        "required": [
          "allowedProjectIds"
        ],
        "type": "object",
        "properties": {
          "allowedProjectIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            }
          }
        }
      },
      "UpdateAccountSecretValueRequest": {
        "required": [
          "secretValue"
        ],
        "type": "object",
        "properties": {
          "secretValue": {
            "type": "string"
          }
        }
      },
      "UpdateAccountWorkflowStorageSizeRequest": {
        "required": [
          "sizeTebibytes"
        ],
        "type": "object",
        "properties": {
          "sizeTebibytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "UpdateMemberRoleRequest": {
        "required": [
          "newRole"
        ],
        "type": "object",
        "properties": {
          "newRole": {
            "type": "string"
          }
        }
      },
      "UpdateOrganizationMfaRequirementRequest": {
        "required": [
          "requiresMfa"
        ],
        "type": "object",
        "properties": {
          "requiresMfa": {
            "type": "boolean"
          }
        }
      },
      "UpdateOrganizationRequest": {
        "required": [
          "newOrganizationName"
        ],
        "type": "object",
        "properties": {
          "newOrganizationName": {
            "type": "string"
          }
        }
      },
      "UpdateOrganizationWorkflowStorageSizeRequest": {
        "required": [
          "sizeTebibytes"
        ],
        "type": "object",
        "properties": {
          "sizeTebibytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "UpdateProjectNameRequest": {
        "required": [
          "newProjectName"
        ],
        "type": "object",
        "properties": {
          "newProjectName": {
            "type": "string"
          }
        }
      },
      "UpdateSecretRequest": {
        "required": [
          "secretValue"
        ],
        "type": "object",
        "properties": {
          "secretValue": {
            "type": "string"
          }
        }
      },
      "UpdateTaskDefinitionVisibilityRequest": {
        "required": [
          "isPublic"
        ],
        "type": "object",
        "properties": {
          "isPublic": {
            "type": "boolean"
          }
        }
      },
      "UpdateTeamRequest": {
        "required": [
          "newTeamName",
          "associatedProjectIds"
        ],
        "type": "object",
        "properties": {
          "newTeamName": {
            "type": "string"
          },
          "associatedProjectIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string",
              "format": "uuid"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "OAuth2": {
        "type": "oauth2",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://auth.swale.io/authorize",
            "tokenUrl": "https://auth.swale.io/oauth/token",
            "scopes": {
              "all:all": "Perform all operations"
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "OAuth2": [
        "all:all"
      ]
    }
  ],
  "tags": [
    {
      "name": "Account"
    },
    {
      "name": "AccountSecrets"
    },
    {
      "name": "Billing"
    },
    {
      "name": "Github",
      "x-displayName": "GitHub"
    },
    {
      "name": "Members"
    },
    {
      "name": "Organizations"
    },
    {
      "name": "ProjectAccountSecrets"
    },
    {
      "name": "Projects"
    },
    {
      "name": "ProjectSecrets"
    },
    {
      "name": "Repositories"
    },
    {
      "name": "Runs"
    },
    {
      "name": "Sources"
    },
    {
      "name": "Tags"
    },
    {
      "name": "TaskDefinitions"
    },
    {
      "name": "Tasks"
    },
    {
      "name": "Teams"
    },
    {
      "name": "Usage"
    },
    {
      "name": "Workflows"
    }
  ]
}
