> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nuon.co/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Nuon installs a software company's application into its customers' AWS, Azure, or GCP accounts. A runner in each customer account polls the Nuon control plane for jobs, so Nuon needs no cross-account access.
> In these docs, "you" is the software company using Nuon to ship its product, and "customer" is the company whose cloud account the product is installed into. Pages also call the software company the vendor.
> Page index: https://docs.nuon.co/llms.txt. To evaluate Nuon, read https://docs.nuon.co/get-started/introduction.md, https://docs.nuon.co/guides/deployment-options.md, https://docs.nuon.co/security.md, and https://docs.nuon.co/architecture/platform.md. To build with Nuon, start at https://docs.nuon.co/get-started/quickstart.md.
> To check which architectures Nuon supports (customer account, existing VPC or cluster, hybrid data plane, single-tenant, data residency, customer-managed keys, air-gapped), read https://docs.nuon.co/guides/byoc-architecture-patterns.md.
> Pages under https://docs.nuon.co/config-ref/ are generated from the config schema. Treat them as the source of truth for config file fields.
> Search these docs over MCP at https://docs.nuon.co/mcp.

# create component build

> Create a build for a component.




## OpenAPI

````yaml post /v1/components/{component_id}/builds
openapi: 3.0.3
info:
  contact:
    email: support@nuon.co
    name: Nuon Support
  description: API for managing nuon apps, components, installs, and actions.
  title: Nuon
  version: 0.19.1291
servers:
  - url: https://api.nuon.co/
security: []
tags:
  - description: orgs
    name: orgs
  - description: apps
    name: apps
  - description: components
    name: components
  - description: runners
    name: runners
  - description: vcs
    name: vcs
  - description: actions/runner
    name: actions/runner
  - description: oidc_federation
    name: oidc_federation
  - description: policy-reports
    name: policy-reports
  - description: stacks
    name: stacks
  - description: auth
    name: auth
  - description: general
    name: general
  - description: actions
    name: actions
  - description: onboarding
    name: onboarding
  - description: runners/runner
    name: runners/runner
  - description: app-bundles
    name: app-bundles
  - description: slack
    name: slack
  - description: cloud-connections
    name: cloud-connections
  - description: runbooks
    name: runbooks
  - description: installs
    name: installs
  - description: notebooks
    name: notebooks
  - description: accounts
    name: accounts
  - description: oidc
    name: oidc
  - description: queues
    name: queues
  - description: image-repositories
    name: image-repositories
paths:
  /v1/components/{component_id}/builds:
    post:
      tags:
        - components
      summary: create component build
      description: |
        Create a build for a component.
      operationId: CreateComponentBuild
      parameters:
        - description: component ID
          in: path
          name: component_id
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/service.CreateComponentBuildRequest'
        description: Input
        required: true
        x-originalParamName: req
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/app.ComponentBuild'
          description: Created
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/stderr.ErrResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/stderr.ErrResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/stderr.ErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/stderr.ErrResponse'
          description: Not Found
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/stderr.ErrResponse'
          description: Conflict
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/stderr.ErrResponse'
          description: Internal Server Error
      deprecated: true
      security:
        - APIKey: []
        - OrgID: []
components:
  schemas:
    service.CreateComponentBuildRequest:
      properties:
        git_ref:
          type: string
        request_id:
          maxLength: 255
          type: string
        use_latest:
          type: boolean
      type: object
    app.ComponentBuild:
      properties:
        app_branch_id:
          type: string
        app_branch_run:
          $ref: '#/components/schemas/app.AppBranchRun'
        app_branch_run_id:
          type: string
        build_runner_job_id:
          type: string
        checksum:
          type: string
        component_config_connection:
          $ref: '#/components/schemas/app.ComponentConfigConnection'
        component_config_connection_id:
          description: >-
            DEPRECATED: will retain the field to connect against the last
            component config connection that set this build
          type: string
        component_config_version:
          type: integer
        component_id:
          description: Read-only fields set on the object to de-nest data
          type: string
        component_name:
          type: string
        composite_error:
          $ref: '#/components/schemas/compositeerrors.CompositeErrorData'
        created_at:
          type: string
        created_by:
          $ref: '#/components/schemas/app.Account'
        created_by_id:
          type: string
        git_ref:
          type: string
        id:
          type: string
        install_deploys:
          items:
            $ref: '#/components/schemas/app.InstallDeploy'
          type: array
        is_preview:
          description: IsPreview is true when this build came from a preview branch run.
          type: boolean
        log_stream:
          $ref: '#/components/schemas/app.LogStream'
        no_op:
          description: >-
            NoOp is true when the runner detected SourceDigest matches the
            previous

            build's SourceDigest and skipped the artifact push.


            Downstream contract:
              - The build is still marked Active because the bytes it represents
                are deployable (they live in the install registry under the prior
                build that pushed them).
              - No new install deploys are auto-queued for a NoOp build; the
                dep-aware deploy path handles fan-out for installs that depend
                on the underlying image.
              - pollForDeployableBuild treats NoOp builds as Active without any
                special-casing because the deployable artifact at the same
                SourceDigest is already present in the install registry from the
                prior build.
          type: boolean
        policy_reports:
          items:
            $ref: '#/components/schemas/app.PolicyReport'
          type: array
        queue_signal:
          allOf:
            - $ref: '#/components/schemas/app.QueueSignal'
          description: >-
            QueueSignal is the signal enqueued when this build was created via
            the queue path
        releases:
          items:
            $ref: '#/components/schemas/app.ComponentRelease'
          type: array
        resolved_at:
          description: ResolvedAt is when the runner resolved SourceRef to SourceDigest.
          type: string
        resolved_tag:
          description: >-
            ResolvedTag is the tag the runner actually pulled from. For
            digest-pinned

            refs this is empty. For mutable/semver refs this is the concrete tag
            the

            runner selected (e.g. "1.25.5" even if SourceRef pinned "1.25.3"
            with a

            "~1.25.0" update_policy constraint).
          type: string
        runner_job:
          allOf:
            - $ref: '#/components/schemas/app.RunnerJob'
          description: runner details
        signature_verification:
          description: >-
            SignatureVerification is empty when the outcome is unknown (older
            builds, or failures before verification ran).
          type: string
        source_checksum:
          type: string
        source_digest:
          description: >-
            SourceDigest is the manifest list digest of the resolved source ref,

            e.g. "sha256:abc...". This is the canonical content address of what
            was

            pulled and is used for build dedup.
          type: string
        source_identity:
          $ref: '#/components/schemas/sourceidentity.Identity'
        source_image:
          description: >-
            SourceImage is the repository portion of SourceRef without
            tag/digest, e.g. "nginx".
          type: string
        source_media_type:
          description: >-
            SourceMediaType records the media type of the resolved manifest
            (image,

            image index, OCI artifact, etc.) for downstream rendering decisions.
          type: string
        source_ref:
          description: >-
            Source identity for image-type builds.


            SourceRef is what the user wrote in the spec, e.g. "nginx:1.25.3" or

            "myimage@sha256:...". Always populated for image-type builds so we
            have a

            permanent record of what was requested at build time.
          type: string
        status:
          type: string
        status_description:
          type: string
        status_v2:
          $ref: '#/components/schemas/app.CompositeStatus'
        updated_at:
          type: string
        vcs_connection_commit:
          $ref: '#/components/schemas/app.VCSConnectionCommit'
      type: object
    stderr.ErrResponse:
      properties:
        description:
          type: string
        error:
          type: string
        user_error:
          type: boolean
      type: object
    app.AppBranchRun:
      properties:
        app_branch:
          $ref: '#/components/schemas/app.AppBranch'
        app_branch_config:
          $ref: '#/components/schemas/app.AppBranchConfig'
        app_config_id:
          type: string
        awaiting_approval:
          type: boolean
        base_branch:
          type: string
        comparison:
          $ref: '#/components/schemas/app.AppBranchRunComparison'
        completed_at:
          type: string
        composite_error:
          $ref: '#/components/schemas/compositeerrors.CompositeErrorData'
        created_at:
          type: string
        created_by:
          $ref: '#/components/schemas/app.Account'
        created_by_id:
          type: string
        error_message:
          type: string
        event_type:
          type: string
        force:
          type: boolean
        github_comment_id:
          type: integer
        head_sha:
          type: string
        id:
          type: string
        labels:
          $ref: '#/components/schemas/github_com_nuonco_nuon_pkg_labels.Labels'
        log_stream:
          $ref: '#/components/schemas/app.LogStream'
        log_stream_id:
          type: string
        metadata:
          $ref: '#/components/schemas/app.AppBranchRunMetadata'
        no_config_changes:
          type: boolean
        plan_only:
          type: boolean
        pr_number:
          type: integer
        preview:
          $ref: '#/components/schemas/app.AppBranchRunPreview'
        queue_signal:
          $ref: '#/components/schemas/app.QueueSignal'
        run_type:
          $ref: '#/components/schemas/app.AppBranchRunType'
        started_at:
          type: string
        status:
          type: string
        trigger_event_dispatch_id:
          type: string
        updated_at:
          type: string
        vcs_connection_commit:
          $ref: '#/components/schemas/app.VCSConnectionCommit'
        workflow:
          $ref: '#/components/schemas/app.Workflow'
        workflow_id:
          type: string
      type: object
    app.ComponentConfigConnection:
      properties:
        app_config_id:
          type: string
        app_config_version:
          type: integer
        auto_approve_on_policies_passing:
          type: boolean
        build_timeout:
          description: Duration string for build operations (e.g., "30m", "1h"). Max 1h.
          type: string
        checksum:
          type: string
        component_dependency_ids:
          items:
            type: string
          type: array
        component_id:
          type: string
        component_name:
          type: string
        created_at:
          type: string
        created_by_id:
          type: string
        default_enabled:
          type: boolean
        deploy_timeout:
          description: Duration string for deploy operations (e.g., "30m", "1h"). Max 1h.
          type: string
        drift_schedule:
          type: string
        external_image:
          $ref: '#/components/schemas/app.ExternalImageComponentConfig'
        health_block_deploy:
          nullable: true
          type: boolean
        health_enabled:
          nullable: true
          type: boolean
        health_probes:
          items:
            $ref: '#/components/schemas/app.ComponentHealthProbe'
          type: array
        health_required_checks:
          items:
            type: string
          type: array
        health_stabilization_window:
          description: >-
            Duration string for how long health must hold after a deploy applies
            (e.g., "3m"). Max 1h.
          type: string
        helm:
          $ref: '#/components/schemas/app.HelmComponentConfig'
        id:
          type: string
        job:
          $ref: '#/components/schemas/app.JobComponentConfig'
        kubernetes_context_name:
          description: >-
            KubernetesContextName is the name of an AppKubernetesContextConfig
            on

            the same AppConfig. Empty means fall back to the implicit sandbox

            default. Stored as a name (not an FK) so it remains stable across

            AppConfig versions, mirroring how component dependencies are
            tracked.
          type: string
        kubernetes_manifest:
          $ref: '#/components/schemas/app.KubernetesManifestComponentConfig'
        latest_build_id:
          type: string
        max_auto_retries:
          type: integer
        operation_roles:
          additionalProperties:
            type: string
          description: 'Operation roles map: operation type -> role name'
          type: object
        pulumi:
          $ref: '#/components/schemas/app.PulumiComponentConfig'
        references:
          items:
            type: string
          type: array
        refs:
          items:
            $ref: '#/components/schemas/refs.Ref'
          type: array
        skip_noops:
          type: boolean
        teardown:
          $ref: '#/components/schemas/app.ComponentTeardown'
        terraform_module:
          $ref: '#/components/schemas/app.TerraformModuleComponentConfig'
        toggleable:
          type: boolean
        type:
          $ref: '#/components/schemas/app.ComponentType'
        updated_at:
          type: string
        version:
          type: integer
      type: object
    compositeerrors.CompositeErrorData:
      properties:
        data:
          description: |-
            Data is the typed, per-error-type payload: WHAT the error is. Closed
            schema per Type. Read to render sections and by any future view.
          type: object
        hints:
          allOf:
            - $ref: '#/components/schemas/compositeerrors.Hints'
          description: >-
            Hints is the open annotation/directive bag: HOW to handle or present
            the

            error. Canonical keys (Hint*) are honored by specific consumers.
        message:
          type: string
        sections:
          items:
            $ref: '#/components/schemas/compositeerrors.Section'
          type: array
        severity:
          $ref: '#/components/schemas/compositeerrors.Severity'
        source_id:
          description: >-
            SourceID / SourceType identify the row this error originated on

            (polymorphic, same shape as OwnerID/OwnerType). Set at the record
            site,

            e.g. ("runner_job_execution_results", "<result id>"). Enables a
            future

            JOINable view without a separate error table.
          type: string
        source_type:
          type: string
        type:
          type: string
        version:
          description: Version is the payload schema version (SchemaVersion at write time).
          type: integer
      type: object
    app.Account:
      properties:
        account_type:
          $ref: '#/components/schemas/app.AccountType'
        created_at:
          type: string
        email:
          type: string
        id:
          type: string
        name:
          type: string
        org_ids:
          description: ReadOnly Fields
          items:
            type: string
          type: array
        permissions:
          $ref: '#/components/schemas/permissions.Set'
        roles:
          items:
            $ref: '#/components/schemas/app.Role'
          type: array
        subject:
          type: string
        updated_at:
          type: string
        user_journeys:
          items:
            $ref: '#/components/schemas/app.UserJourney'
          type: array
      type: object
    app.InstallDeploy:
      properties:
        action_workflow_runs:
          items:
            $ref: '#/components/schemas/app.InstallActionWorkflowRun'
          type: array
        applied_at:
          description: AppliedAt is set when the apply runner job completes successfully.
          type: string
        build_id:
          type: string
        component_build:
          $ref: '#/components/schemas/app.ComponentBuild'
        component_config_version:
          type: integer
        component_id:
          type: string
        component_name:
          type: string
        composite_error:
          allOf:
            - $ref: '#/components/schemas/compositeerrors.CompositeErrorData'
          description: >-
            CompositeError holds a typed, structured error (e.g. a missing AWS
            IAM

            permission) frozen at write time when a deploy plan/apply fails. It
            is

            nil for successful or non-enriched failures.
        created_at:
          type: string
        created_by:
          $ref: '#/components/schemas/app.Account'
        created_by_id:
          type: string
        id:
          type: string
        install_component_id:
          type: string
        install_deploy_type:
          $ref: '#/components/schemas/app.InstallDeployType'
        install_id:
          description: Fields that are de-nested at read time using AfterQuery
          type: string
        install_workflow_id:
          description: 'DEPRECATED: use WorkflowID'
          type: string
        log_stream:
          $ref: '#/components/schemas/app.LogStream'
        oci_artifact:
          $ref: '#/components/schemas/app.OCIArtifact'
        outputs:
          additionalProperties: {}
          type: object
        plan_only:
          type: boolean
        planned_at:
          description: PlannedAt is set when the plan runner job completes successfully.
          type: string
        policy_reports:
          items:
            $ref: '#/components/schemas/app.PolicyReport'
          type: array
        queue_signals:
          items:
            $ref: '#/components/schemas/app.QueueSignal'
          type: array
        release_id:
          type: string
        role:
          description: Role to be used when running this component
          type: string
        runner_jobs:
          description: runner details
          items:
            $ref: '#/components/schemas/app.RunnerJob'
          type: array
        status:
          type: string
        status_description:
          type: string
        status_v2:
          $ref: '#/components/schemas/app.CompositeStatus'
        updated_at:
          type: string
        workflow:
          $ref: '#/components/schemas/app.Workflow'
        workflow_id:
          type: string
      type: object
    app.LogStream:
      properties:
        attrs:
          additionalProperties:
            type: string
          type: object
        created_at:
          type: string
        created_by_id:
          type: string
        id:
          type: string
        logs_deleted_at:
          type: string
        logs_deleted_by_id:
          type: string
        open:
          type: boolean
        org_id:
          type: string
        owner_id:
          type: string
        owner_type:
          type: string
        runner_api_url:
          type: string
        updated_at:
          type: string
        write_token:
          type: string
      type: object
    app.PolicyReport:
      properties:
        app_id:
          description: Denormalized context for filtering
          type: string
        app_name:
          type: string
        component_id:
          type: string
        component_name:
          type: string
        created_at:
          type: string
        created_by_id:
          type: string
        deny_count:
          description: Summary counts for list views
          type: integer
        evaluated_at:
          description: Canonical policy evaluation data
          type: string
        id:
          type: string
        inputs:
          items:
            $ref: '#/components/schemas/app.PolicyInputRef'
          type: array
        install_id:
          type: string
        install_name:
          type: string
        org_name:
          description: Denormalized display names for human-readable reports
          type: string
        owner_id:
          description: >-
            Polymorphic relationship to the impacted Nuon resource (indexes
            defined in Indexes())
          type: string
        owner_type:
          $ref: '#/components/schemas/app.PolicyReportOwnerType'
        pass_count:
          type: integer
        policies:
          items:
            $ref: '#/components/schemas/app.PolicyResult'
          type: array
        policy_ids:
          items:
            type: string
          type: array
        runner_job_id:
          type: string
        status:
          $ref: '#/components/schemas/app.CompositeStatus'
        updated_at:
          type: string
        violations:
          items:
            $ref: '#/components/schemas/app.PolicyViolation'
          type: array
        warn_count:
          type: integer
        workflow_step_policy_validation_id:
          description: Optional context references (indexes defined in Indexes())
          type: string
      type: object
    app.QueueSignal:
      properties:
        callback:
          $ref: '#/components/schemas/callback.Ref'
        callbacks:
          items:
            $ref: '#/components/schemas/callback.Ref'
          type: array
        created_at:
          type: string
        created_by_id:
          type: string
        dedupe_key:
          type: string
        emitter_id:
          description: 'Optional: if this signal was emitted by an emitter'
          type: string
        enqueued:
          type: boolean
        execution_count:
          type: integer
        expires_at:
          type: string
        id:
          type: string
        org_id:
          type: string
        owner_id:
          type: string
        owner_type:
          type: string
        queue:
          $ref: '#/components/schemas/app.Queue'
        queue_id:
          type: string
        signal:
          $ref: '#/components/schemas/signaldb.SignalData'
        signal_context:
          $ref: '#/components/schemas/cctx.SignalContext'
        status:
          $ref: '#/components/schemas/app.CompositeStatus'
        type:
          type: string
        updated_at:
          type: string
        workflow:
          $ref: '#/components/schemas/signaldb.WorkflowRef'
      type: object
    app.ComponentRelease:
      properties:
        build_id:
          type: string
        created_at:
          type: string
        created_by_id:
          type: string
        id:
          type: string
        release_steps:
          items:
            $ref: '#/components/schemas/app.ComponentReleaseStep'
          type: array
        status:
          type: string
        status_description:
          type: string
        total_release_steps:
          type: integer
        updated_at:
          type: string
      type: object
    app.RunnerJob:
      properties:
        available_timeout:
          description: >-
            available timeout is how long a job can be marked as "available"
            before being requeued
          type: integer
        composite_error:
          $ref: '#/components/schemas/compositeerrors.CompositeErrorData'
        created_at:
          type: string
        created_by_id:
          type: string
        execution_count:
          type: integer
        execution_time:
          type: integer
        execution_timeout:
          description: >-
            execution timeout is how long a job can be marked as "exeucuting"
            before being requeued
          type: integer
        executions:
          items:
            $ref: '#/components/schemas/app.RunnerJobExecution'
          type: array
        executor:
          type: string
        final_runner_job_execution_id:
          type: string
        finished_at:
          type: string
        group:
          $ref: '#/components/schemas/app.RunnerJobGroup'
        id:
          type: string
        install_role_usage:
          $ref: '#/components/schemas/app.InstallRoleUsage'
        json:
          $ref: '#/components/schemas/app.RunnerJobPlan'
        log_stream_id:
          type: string
        max_executions:
          type: integer
        metadata:
          additionalProperties:
            type: string
          type: object
        operation:
          $ref: '#/components/schemas/app.RunnerJobOperationType'
        org_id:
          type: string
        outputs:
          additionalProperties: true
          type: object
        outputs_json:
          type: string
        overall_timeout:
          description: >-
            overall timeout is how long a job can be attempted, before being
            cancelled
          type: integer
        owner_id:
          type: string
        owner_type:
          type: string
        queue_timeout:
          description: >-
            queue timeout is how long a job can be queued, before being made
            available
          type: integer
        runner_id:
          type: string
        runner_process_id:
          type: string
        started_at:
          type: string
        status:
          $ref: '#/components/schemas/app.RunnerJobStatus'
        status_description:
          type: string
        status_v2:
          $ref: '#/components/schemas/app.CompositeStatus'
        type:
          $ref: '#/components/schemas/app.RunnerJobType'
        updated_at:
          type: string
      type: object
    sourceidentity.Identity:
      properties:
        captured:
          type: boolean
        chart_version:
          type: string
        checksum:
          type: string
        commit:
          type: string
        config_checksum:
          type: string
        coverage:
          type: string
        digest:
          type: string
        files:
          items:
            $ref: '#/components/schemas/sourceidentity.File'
          type: array
        inputs:
          items:
            $ref: '#/components/schemas/sourceidentity.Input'
          type: array
        inputs_recorded:
          type: boolean
        kind:
          type: string
        reasons:
          items:
            type: string
          type: array
        ref:
          type: string
        repository:
          type: string
        resolved_at:
          type: string
        resolved_from:
          type: string
        root:
          type: string
        version:
          type: integer
      type: object
    app.CompositeStatus:
      properties:
        composite_error:
          allOf:
            - $ref: '#/components/schemas/compositeerrors.CompositeErrorData'
          description: >-
            CompositeError is the parsed, structured cause of a failure status.
            The

            human description is a one-line summary; this carries the full typed
            error

            so the dashboard can render the diagnostic instead of just the
            headline.
        created_at_ts:
          type: integer
        created_by_id:
          type: string
        history:
          items:
            $ref: '#/components/schemas/app.CompositeStatus'
          type: array
        metadata:
          additionalProperties: {}
          type: object
        status:
          $ref: '#/components/schemas/app.Status'
        status_human_description:
          type: string
      type: object
    app.VCSConnectionCommit:
      properties:
        author_avatar_url:
          type: string
        author_email:
          type: string
        author_name:
          type: string
        committed_at:
          description: >-
            Git committer time. CreatedAt is when this row was stored during the
            run.
          type: string
        created_at:
          type: string
        created_by_id:
          type: string
        id:
          type: string
        message:
          type: string
        owner_id:
          description: Polymorphic ownership - references VCS config that owns this commit
          type: string
        owner_type:
          type: string
        sha:
          type: string
        updated_at:
          type: string
        vcs_connection_id:
          type: string
      type: object
    app.AppBranch:
      properties:
        app_id:
          type: string
        configs:
          items:
            $ref: '#/components/schemas/app.AppBranchConfig'
          type: array
        created_at:
          type: string
        created_by_id:
          type: string
        id:
          type: string
        latest_run:
          $ref: '#/components/schemas/app.AppBranchRun'
        managed_by:
          type: string
        name:
          type: string
        org_id:
          type: string
        queue:
          $ref: '#/components/schemas/app.Queue'
        updated_at:
          type: string
        workflow_count:
          type: integer
        workflows:
          items:
            $ref: '#/components/schemas/app.Workflow'
          type: array
      type: object
    app.AppBranchConfig:
      properties:
        action_ids:
          items:
            type: string
          type: array
        app_branch_id:
          type: string
        component_ids:
          items:
            type: string
          type: array
        config_number:
          type: integer
        connected_github_vcs_config:
          $ref: '#/components/schemas/app.ConnectedGithubVCSConfig'
        created_at:
          type: string
        created_by_id:
          type: string
        id:
          type: string
        ignore_changes_regex:
          description: >-
            IgnoreChangesRegex is an RE2 pattern matched against every changed
            file path

            in a git-run or git-preview run. When every changed file matches,
            the run is

            marked not-attempted instead of building and deploying. Empty
            disables the

            check, and a forced run bypasses it.
          type: string
        install_groups:
          items:
            $ref: '#/components/schemas/app.AppBranchInstallGroup'
          type: array
        install_update_policy:
          description: >-
            InstallUpdatePolicy is unused. A new run always supersedes an open
            install

            update. The column stays so existing rows do not need a migration.
          type: string
        org_id:
          type: string
        post_deploy_runbook_ids:
          description: >-
            PostDeployRunbookIDs are runbooks run on each install, in order,
            after its

            deploy succeeds. Distinct from RunbookIDs, which tracks the runbooks
            the

            branch's synced app config produced.
          items:
            type: string
          type: array
        preview_config:
          $ref: '#/components/schemas/app.AppBranchPreviewConfig'
        public_git_vcs_config:
          $ref: '#/components/schemas/app.PublicGitVCSConfig'
        run_config:
          $ref: '#/components/schemas/app.AppBranchRunConfig'
        runbook_ids:
          items:
            type: string
          type: array
        send_statuses_on_ignore:
          description: >-
            SendStatusesOnIgnore posts a successful commit status when a run is
            ignored

            by IgnoreChangesRegex, so a required check does not block the pull
            request.
          type: boolean
        updated_at:
          type: string
        workflows:
          items:
            $ref: '#/components/schemas/app.Workflow'
          type: array
      type: object
    app.AppBranchRunComparison:
      properties:
        base_run:
          $ref: '#/components/schemas/app.AppBranchRun'
        base_run_id:
          type: string
        config_diff:
          $ref: '#/components/schemas/blobstore.Blob'
        created_at:
          type: string
        created_by_id:
          type: string
        full_diff:
          $ref: '#/components/schemas/blobstore.Blob'
        git_diff:
          $ref: '#/components/schemas/blobstore.Blob'
        head_run:
          $ref: '#/components/schemas/app.AppBranchRun'
        head_run_id:
          type: string
        id:
          type: string
        org_id:
          type: string
        source_diff:
          $ref: '#/components/schemas/blobstore.Blob'
        updated_at:
          type: string
      type: object
    github_com_nuonco_nuon_pkg_labels.Labels:
      additionalProperties:
        type: string
      type: object
    app.AppBranchRunMetadata:
      properties:
        base_branch:
          type: string
        git_ref:
          type: string
        github_label:
          type: string
        head_sha:
          type: string
        is_draft:
          type: boolean
        pr_number:
          type: integer
        run_mode:
          type: string
        tag:
          type: string
        tag_prefix:
          type: string
        trigger:
          $ref: '#/components/schemas/app.AppBranchRunTrigger'
      type: object
    app.AppBranchRunPreview:
      properties:
        app_branch_run_id:
          type: string
        branch_preview_config:
          $ref: '#/components/schemas/app.AppBranchPreviewConfig'
        created_at:
          type: string
        created_by_id:
          type: string
        git_ref:
          type: string
        id:
          type: string
        ignore_changes_regex:
          type: string
        input_app_config_id:
          type: string
        install_id:
          type: string
        install_name:
          type: string
        is_draft_mode:
          type: boolean
        mode:
          $ref: '#/components/schemas/app.AppBranchRunPreviewMode'
        org_id:
          type: string
        override_preview_config:
          $ref: '#/components/schemas/app.AppBranchPreviewOverride'
        resolved_preview_config:
          $ref: '#/components/schemas/app.AppBranchPreviewConfig'
        send_statuses_on_ignore:
          type: boolean
        source:
          $ref: '#/components/schemas/app.AppBranchRunPreviewSource'
        updated_at:
          type: string
      type: object
    app.AppBranchRunType:
      enum:
        - manual-run
        - git-run
        - git-preview-run
      type: string
      x-enum-varnames:
        - AppBranchRunTypeManual
        - AppBranchRunTypeGit
        - AppBranchRunTypeGitPreview
    app.Workflow:
      properties:
        app_branch_runs:
          items:
            $ref: '#/components/schemas/app.AppBranchRun'
          type: array
        approval_option:
          $ref: '#/components/schemas/app.InstallApprovalOption'
        created_at:
          type: string
        created_by:
          $ref: '#/components/schemas/app.Account'
        created_by_id:
          type: string
        execution_time:
          type: integer
        finished:
          type: boolean
        finished_at:
          type: string
        generate_steps_signal:
          allOf:
            - $ref: '#/components/schemas/signaldb.SignalData'
          description: >-
            GenerateStepsSignal is an optional queue signal that generates
            workflow steps.

            When set, the conductor enqueues this signal and calls its
            "FetchSteps" update

            handler instead of using the hardcoded Generators map.
        id:
          type: string
        install_action_workflow_runs:
          items:
            $ref: '#/components/schemas/app.InstallActionWorkflowRun'
          type: array
        install_deploys:
          items:
            $ref: '#/components/schemas/app.InstallDeploy'
          type: array
        install_sandbox_runs:
          items:
            $ref: '#/components/schemas/app.InstallSandboxRun'
          type: array
        links:
          additionalProperties: {}
          type: object
        metadata:
          additionalProperties:
            type: string
          type: object
        name:
          description: |-
            Name is the human-readable workflow title shown in the UI (e.g.
            "Deploying to install (rds_cluster_temporal)"). Populated by
            BeforeSave via computeWorkflowName — callers that mutate Type,
            Metadata, or FinishedAt must go through GORM (Save / struct-based
            Updates) so the hook fires.
          type: string
        owner_id:
          type: string
        owner_name:
          description: |-
            OwnerName is a derived, non-persisted convenience field. It is
            populated by activities that need a human-readable owner label
            (e.g. workflow lifecycle webhooks) via a small switch on OwnerType
            — see PkgWorkflowsFlowGetFlow. Empty unless the loading path
            explicitly fills it.
          type: string
        owner_type:
          type: string
        plan_only:
          type: boolean
        result_directive:
          description: >-
            ResultDirective is set by the currently executing group signal to
            communicate

            the group outcome back to the flow signal. Values: continue, stop,
            retry-group,

            skip-group, await-approval.
          type: string
        role:
          type: string
        started_at:
          type: string
        status:
          $ref: '#/components/schemas/app.CompositeStatus'
        step_error_behavior:
          description: 'DEPRECATED: for now we always abort on step errors'
          type: string
        step_groups:
          description: step groups represent logical groupings of steps within the workflow
          items:
            $ref: '#/components/schemas/app.WorkflowStepGroup'
          type: array
        steps:
          description: steps represent each piece of the workflow
          items:
            $ref: '#/components/schemas/app.WorkflowStep'
          type: array
        type:
          $ref: '#/components/schemas/app.WorkflowType'
        updated_at:
          type: string
        workflow_runs:
          items:
            $ref: '#/components/schemas/app.WorkflowRun'
          type: array
      type: object
    app.ExternalImageComponentConfig:
      properties:
        aws_ecr_image_config:
          $ref: '#/components/schemas/app.AWSECRImageConfig'
        azure_acr_image_config:
          $ref: '#/components/schemas/app.AzureACRImageConfig'
        component_config_connection_id:
          description: value
          type: string
        created_at:
          type: string
        created_by_id:
          type: string
        gcp_gar_image_config:
          $ref: '#/components/schemas/app.GCPGARImageConfig'
        id:
          type: string
        image_url:
          type: string
        tag:
          type: string
        update_policy:
          description: |-
            UpdatePolicy is an optional Masterminds-compatible semver constraint
            (e.g. "~1.25.0", "^2", ">=1.0.0,<2.0.0") that, when set, causes the
            runner to list tags from the source registry, filter to those that
            parse as semver and satisfy the constraint, and pick the highest
            matching tag at build time. Tag is then ignored as the source ref;
            the resolved tag is recorded on ComponentBuild.ResolvedTag.

            When empty, the runner uses Tag literally.
          type: string
        updated_at:
          type: string
        verification:
          $ref: '#/components/schemas/signature.Verification'
      type: object
    app.ComponentHealthProbe:
      properties:
        command:
          items:
            type: string
          type: array
        name:
          type: string
        type:
          type: string
        url:
          type: string
      type: object
    app.HelmComponentConfig:
      properties:
        chart_name:
          description: Helm specific configurations
          type: string
        component_config_connection_id:
          description: parent reference
          type: string
        connected_github_vcs_config:
          $ref: '#/components/schemas/app.ConnectedGithubVCSConfig'
        created_at:
          type: string
        created_by_id:
          type: string
        helm_config_json:
          $ref: '#/components/schemas/app.HelmConfig'
        id:
          type: string
        namespace:
          type: string
        public_git_vcs_config:
          $ref: '#/components/schemas/app.PublicGitVCSConfig'
        skip_crds:
          type: boolean
        storage_driver:
          type: string
        take_ownership:
          description: Newer config fields that we don't need a column for
          type: boolean
        updated_at:
          type: string
        values:
          additionalProperties:
            type: string
          type: object
        values_files:
          items:
            type: string
          type: array
      type: object
    app.JobComponentConfig:
      properties:
        args:
          items:
            type: string
          type: array
        cmd:
          items:
            type: string
          type: array
        component_config_connection_id:
          description: value
          type: string
        created_at:
          type: string
        created_by_id:
          type: string
        env_vars:
          additionalProperties:
            type: string
          type: object
        id:
          type: string
        image_url:
          description: >-
            Image attributes, copied from a docker_buid or external_image
            component.
          type: string
        tag:
          type: string
        updated_at:
          type: string
      type: object
    app.KubernetesManifestComponentConfig:
      properties:
        component_config_connection_id:
          description: value
          type: string
        connected_github_vcs_config:
          $ref: '#/components/schemas/app.ConnectedGithubVCSConfig'
        created_at:
          type: string
        created_by_id:
          type: string
        id:
          type: string
        kustomize:
          allOf:
            - $ref: '#/components/schemas/app.KustomizeConfig'
          description: Kustomize configuration (mutually exclusive with Manifest)
        manifest:
          description: Primary fields - used for inline manifests (fully supported)
          type: string
        namespace:
          type: string
        public_git_vcs_config:
          allOf:
            - $ref: '#/components/schemas/app.PublicGitVCSConfig'
          description: >-
            VCS configuration for kustomize sources (similar to
            HelmComponentConfig)
        updated_at:
          type: string
      type: object
    app.PulumiComponentConfig:
      properties:
        component_config_connection_id:
          description: parent reference
          type: string
        config:
          additionalProperties:
            type: string
          type: object
        connected_github_vcs_config:
          $ref: '#/components/schemas/app.ConnectedGithubVCSConfig'
        created_at:
          type: string
        created_by_id:
          type: string
        env_vars:
          additionalProperties:
            type: string
          type: object
        id:
          type: string
        public_git_vcs_config:
          $ref: '#/components/schemas/app.PublicGitVCSConfig'
        runtime:
          description: pulumi configuration values
          type: string
        updated_at:
          type: string
        version:
          type: string
      type: object
    refs.Ref:
      properties:
        input:
          type: string
        name:
          type: string
        type:
          $ref: '#/components/schemas/refs.RefType'
        value:
          type: string
      type: object
    app.ComponentTeardown:
      properties:
        retain:
          items:
            type: string
          type: array
      type: object
    app.TerraformModuleComponentConfig:
      properties:
        component_config_connection_id:
          description: parent reference
          type: string
        connected_github_vcs_config:
          $ref: '#/components/schemas/app.ConnectedGithubVCSConfig'
        created_at:
          type: string
        created_by_id:
          type: string
        env_vars:
          additionalProperties:
            type: string
          type: object
        id:
          type: string
        public_git_vcs_config:
          $ref: '#/components/schemas/app.PublicGitVCSConfig'
        updated_at:
          type: string
        variables:
          additionalProperties:
            type: string
          type: object
        variables_files:
          items:
            type: string
          type: array
        version:
          description: terraform configuration values
          type: string
      type: object
    app.ComponentType:
      enum:
        - terraform_module
        - helm_chart
        - external_image
        - job
        - kubernetes_manifest
        - pulumi
        - unknown
      type: string
      x-enum-varnames:
        - ComponentTypeTerraformModule
        - ComponentTypeHelmChart
        - ComponentTypeExternalImage
        - ComponentTypeJob
        - ComponentTypeKubernetesManifest
        - ComponentTypePulumi
        - ComponentTypeUnknown
    compositeerrors.Hints:
      additionalProperties:
        type: string
      type: object
    compositeerrors.Section:
      properties:
        body:
          type: string
        heading:
          type: string
        kind:
          $ref: '#/components/schemas/compositeerrors.SectionKind'
      type: object
    compositeerrors.Severity:
      enum:
        - fatal
        - error
        - warning
        - info
      type: string
      x-enum-varnames:
        - SeverityFatal
        - SeverityError
        - SeverityWarning
        - SeverityInfo
    app.AccountType:
      enum:
        - auth
        - auth0
        - service
        - canary
        - integration
      type: string
      x-enum-varnames:
        - AccountTypeAuth
        - AccountTypeAuth0
        - AccountTypeService
        - AccountTypeCanary
        - AccountTypeIntegration
    permissions.Set:
      additionalProperties:
        $ref: '#/components/schemas/permissions.Permission'
      type: object
    app.Role:
      properties:
        applies_to:
          items:
            type: string
          type: array
        createdBy:
          $ref: '#/components/schemas/app.Account'
        created_at:
          type: string
        created_by_id:
          type: string
        description:
          type: string
        id:
          type: string
        managed:
          type: boolean
        org_id:
          description: >-
            NOTE: not all roles have to belong to an org, this is mainly for
            historical reasons.
          type: string
        policies:
          items:
            $ref: '#/components/schemas/app.Policy'
          type: array
        role_type:
          $ref: '#/components/schemas/app.RoleType'
        title:
          description: |-
            display + assignability metadata; the single source of truth read by
            GET /v1/roles and every role picker. Managed roles are kept in sync
            with standardOrgRoles by the authz reconciler.
          type: string
        updated_at:
          type: string
        version:
          type: integer
      type: object
    app.UserJourney:
      properties:
        name:
          type: string
        steps:
          items:
            $ref: '#/components/schemas/app.UserJourneyStep'
          type: array
        title:
          type: string
      type: object
    app.InstallActionWorkflowRun:
      properties:
        action_workflow_config_id:
          type: string
        composite_error:
          $ref: '#/components/schemas/compositeerrors.CompositeErrorData'
        config:
          $ref: '#/components/schemas/app.ActionWorkflowConfig'
        created_at:
          type: string
        created_by:
          $ref: '#/components/schemas/app.Account'
        created_by_id:
          type: string
        effective_timeout:
          type: integer
        enable_kube_config:
          $ref: '#/components/schemas/sql.NullBool'
        execution_time:
          description: after query
          type: integer
        id:
          type: string
        install_action_workflow:
          $ref: '#/components/schemas/app.InstallActionWorkflow'
        install_action_workflow_id:
          type: string
        install_id:
          type: string
        install_workflow_id:
          type: string
        kubernetes_context_name:
          description: >-
            KubernetesContextName is snapshotted from the action's

            ActionWorkflowConfig at run-creation time so plan resolution can
            target

            the correct cluster. Empty means fall back to the sandbox default.
          type: string
        log_stream:
          $ref: '#/components/schemas/app.LogStream'
        outputs:
          additionalProperties: true
          type: object
        role:
          description: Role to be used when running this action
          type: string
        run_env_vars:
          additionalProperties:
            type: string
          type: object
        runner_job:
          $ref: '#/components/schemas/app.RunnerJob'
        status:
          type: string
        status_description:
          type: string
        status_v2:
          $ref: '#/components/schemas/app.CompositeStatus'
        steps:
          items:
            $ref: '#/components/schemas/app.InstallActionWorkflowRunStep'
          type: array
        timeout:
          type: integer
        trigger:
          $ref: '#/components/schemas/app.ActionRunTrigger'
        trigger_type:
          $ref: '#/components/schemas/app.ActionWorkflowTriggerType'
        triggered_by_id:
          type: string
        triggered_by_type:
          type: string
        updated_at:
          type: string
        workflow:
          $ref: '#/components/schemas/app.Workflow'
        workflow_id:
          type: string
      type: object
    app.InstallDeployType:
      enum:
        - sync-image
        - apply
        - teardown
        - recover
      type: string
      x-enum-varnames:
        - InstallDeployTypeSync
        - InstallDeployTypeApply
        - InstallDeployTypeTeardown
        - InstallDeployTypeRecover
    app.OCIArtifact:
      properties:
        annotations:
          additionalProperties:
            type: string
          type: object
        architecture:
          type: string
        artifact_type:
          type: string
        created_at:
          type: string
        created_by_id:
          type: string
        digest:
          type: string
        id:
          type: string
        media_type:
          type: string
        org_id:
          type: string
        os:
          description: Platform fields
          type: string
        os_features:
          items:
            type: string
          type: array
        os_version:
          type: string
        owner_id:
          type: string
        owner_type:
          type: string
        repository:
          type: string
        size:
          type: integer
        tag:
          type: string
        updated_at:
          type: string
        urls:
          items:
            type: string
          type: array
        variant:
          type: string
      type: object
    app.PolicyInputRef:
      properties:
        id:
          type: string
        name:
          type: string
        type:
          type: string
      type: object
    app.PolicyReportOwnerType:
      enum:
        - install_deploys
        - install_sandbox_runs
        - component_builds
      type: string
      x-enum-varnames:
        - PolicyReportOwnerTypeInstallDeploy
        - PolicyReportOwnerTypeInstallSandboxRun
        - PolicyReportOwnerTypeComponentBuild
    app.PolicyResult:
      properties:
        checks:
          items:
            $ref: >-
              #/components/schemas/github_com_nuonco_nuon_pkg_policies_opa.Result
          type: array
        deny_count:
          type: integer
        input_count:
          type: integer
        pass_count:
          type: integer
        policy_id:
          type: string
        policy_name:
          type: string
        status:
          description: '"deny", "warn", or "pass"'
          type: string
        warn_count:
          type: integer
      type: object
    app.PolicyViolation:
      properties:
        check_id:
          type: string
        input_identity:
          description: Human-readable input reference (e.g., "Deployment/default/nginx")
          type: string
        input_index:
          type: integer
        message:
          type: string
        policy_id:
          type: string
        policy_name:
          type: string
        severity:
          description: '"deny" or "warn"'
          type: string
      type: object
    callback.Ref:
      properties:
        namespace:
          type: string
        signal_name:
          type: string
        workflow_id:
          type: string
      type: object
    app.Queue:
      properties:
        created_at:
          type: string
        created_by_id:
          type: string
        emitters:
          items:
            $ref: '#/components/schemas/app.QueueEmitter'
          type: array
        id:
          type: string
        idle_timeout:
          type: integer
        max_depth:
          type: integer
        max_in_flight:
          type: integer
        metadata:
          additionalProperties:
            type: string
          type: object
        name:
          type: string
        org_id:
          type: string
        owner_id:
          type: string
        owner_type:
          type: string
        queue_signal:
          items:
            $ref: '#/components/schemas/app.QueueSignal'
          type: array
        status_v2:
          $ref: '#/components/schemas/app.CompositeStatus'
        updated_at:
          type: string
        workflow:
          $ref: '#/components/schemas/signaldb.WorkflowRef'
      type: object
    signaldb.SignalData:
      properties:
        signal: {}
      type: object
    cctx.SignalContext:
      properties:
        account_id:
          type: string
        log_stream_id:
          type: string
        org_id:
          type: string
        trace_id:
          type: string
        workflow_telemetry:
          $ref: '#/components/schemas/keys.WorkflowTelemetry'
      type: object
    signaldb.WorkflowRef:
      properties:
        id:
          type: string
        namespace:
          type: string
        run_id:
          type: string
        task_queue:
          description: >-
            empty means workflows.APITaskQueue (back-compat for pre-isolation
            rows)
          type: string
      type: object
    app.ComponentReleaseStep:
      properties:
        component_release_id:
          description: parent release ID
          type: string
        created_at:
          type: string
        created_by_id:
          type: string
        delay:
          description: >-
            fields to control the delay of the individual step, as this is set
            based on the parent strategy
          type: string
        id:
          type: string
        install_deploys:
          items:
            $ref: '#/components/schemas/app.InstallDeploy'
          type: array
        requested_install_ids:
          description: >-
            When a step is created, a set of installs are targeted. However, by
            the time the release step goes out, the

            install might have been setup in any order of ways.
          items:
            type: string
          type: array
        status:
          type: string
        status_description:
          type: string
        updated_at:
          type: string
      type: object
    app.RunnerJobExecution:
      properties:
        created_at:
          type: string
        created_by_id:
          type: string
        id:
          type: string
        metadata:
          additionalProperties:
            type: string
          description: >-
            Metadata is used to store additional information about the execution
            {e.g., client version.}
          type: object
        org_id:
          type: string
        outputs:
          $ref: '#/components/schemas/app.RunnerJobExecutionOutputs'
        result:
          $ref: '#/components/schemas/app.RunnerJobExecutionResult'
        runner_job_id:
          type: string
        status:
          $ref: '#/components/schemas/app.RunnerJobExecutionStatus'
        status_v2:
          $ref: '#/components/schemas/app.CompositeStatus'
        updated_at:
          type: string
      type: object
    app.RunnerJobGroup:
      enum:
        - health-checks
        - sync
        - build
        - deploy
        - sandbox
        - runner
        - operations
        - management
        - actions
        - image-actions
        - ''
        - any
      type: string
      x-enum-varnames:
        - RunnerJobGroupHealthChecks
        - RunnerJobGroupSync
        - RunnerJobGroupBuild
        - RunnerJobGroupDeploy
        - RunnerJobGroupSandbox
        - RunnerJobGroupRunner
        - RunnerJobGroupOperations
        - RunnerJobGroupManagement
        - RunnerJobGroupActions
        - RunnerJobGroupImageActions
        - RunnerJobGroupUnknown
        - RunnerJobGroupAny
    app.InstallRoleUsage:
      properties:
        created_at:
          type: string
        created_by_id:
          type: string
        id:
          type: string
        install_role_id:
          type: string
        org_id:
          type: string
        role_name:
          type: string
        role_selection_trace:
          items:
            $ref: '#/components/schemas/app.InstallRoleSelectionRecord'
          type: array
        role_source:
          type: string
        runner_job:
          $ref: '#/components/schemas/app.RunnerJob'
        runner_job_id:
          type: string
        updated_at:
          type: string
        workflow:
          $ref: '#/components/schemas/app.Workflow'
        workflow_step_id:
          type: string
      type: object
    app.RunnerJobPlan:
      properties:
        composite_plan:
          allOf:
            - $ref: '#/components/schemas/plantypes.CompositePlan'
          description: >-
            Deprecated: composite plans are read from CompositePlanBlob (S3).
            This

            jsonb column is retained only as a fallback for rows not yet
            backfilled.
        created_at:
          type: string
        created_by_id:
          type: string
        id:
          type: string
        org_id:
          type: string
        plan_json:
          type: string
        runner_job_id:
          type: string
        updated_at:
          type: string
      type: object
    app.RunnerJobOperationType:
      enum:
        - exec
        - build
        - create-apply-plan
        - create-teardown-plan
        - apply-plan
        - unknown
      type: string
      x-enum-varnames:
        - RunnerJobOperationTypeExec
        - RunnerJobOperationTypeBuild
        - RunnerJobOperationTypeCreateApplyPlan
        - RunnerJobOperationTypeCreateTeardownPlan
        - RunnerJobOperationTypeApplyPlan
        - RunnerJobOperationTypeUnknown
    app.RunnerJobStatus:
      enum:
        - queued
        - available
        - in-progress
        - finished
        - failed
        - timed-out
        - not-attempted
        - cancelled
        - unknown
      type: string
      x-enum-varnames:
        - RunnerJobStatusQueued
        - RunnerJobStatusAvailable
        - RunnerJobStatusInProgress
        - RunnerJobStatusFinished
        - RunnerJobStatusFailed
        - RunnerJobStatusTimedOut
        - RunnerJobStatusNotAttempted
        - RunnerJobStatusCancelled
        - RunnerJobStatusUnknown
    app.RunnerJobType:
      enum:
        - health-check
        - container-image-build
        - terraform-module-build
        - helm-chart-build
        - kubernetes-manifest-build
        - pulumi-build
        - noop-build
        - sandbox-build
        - oci-sync
        - noop-sync
        - fetch-image-metadata
        - terraform-deploy
        - helm-chart-deploy
        - job-deploy
        - kubernetes-manifest-deploy
        - pulumi-deploy
        - noop-deploy
        - shut-down
        - update-version
        - noop
        - mng-vm-shut-down
        - mng-shut-down
        - mng-runner-update-version
        - mng-runner-restart
        - mng-fetch-token
        - sandbox-terraform
        - sandbox-terraform-plan
        - sandbox-pulumi
        - sandbox-sync-secrets
        - runner-helm
        - runner-terraform
        - runner-local
        - actions-workflow
      type: string
      x-enum-comments:
        RunnerJobTypeMngFetchToken: fetch authentication token via AWS presigned requests
        RunnerJobTypeMngRunnerRestart: >-
          restart the runner systemctl service (technically, a duplicate. runner
          can restart self.)
        RunnerJobTypeMngRunnerUpdateVersion: update the runner image/version (check for changes and update)
        RunnerJobTypeMngShutDown: shutdown the runner mng process (usually triggers restart)
        RunnerJobTypeMngVMShutDown: shut down the vm
      x-enum-descriptions:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - shut down the vm
        - shutdown the runner mng process (usually triggers restart)
        - update the runner image/version (check for changes and update)
        - >-
          restart the runner systemctl service (technically, a duplicate. runner
          can restart self.)
        - fetch authentication token via AWS presigned requests
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      x-enum-varnames:
        - RunnerJobTypeHealthCheck
        - RunnerJobTypeContainerImageBuild
        - RunnerJobTypeTerraformModuleBuild
        - RunnerJobTypeHelmChartBuild
        - RunnerJobTypeKubernetesManifestBuild
        - RunnerJobTypePulumiBuild
        - RunnerJobTypeNOOPBuild
        - RunnerJobTypeSandboxBuild
        - RunnerJobTypeOCISync
        - RunnerJobTypeNOOPSync
        - RunnerJobTypeFetchImageMetadata
        - RunnerJobTypeTerraformDeploy
        - RunnerJobTypeHelmChartDeploy
        - RunnerJobTypeJobDeploy
        - RunnerJobTypeKubrenetesManifestDeploy
        - RunnerJobTypePulumiDeploy
        - RunnerJobTypeJobNOOPDeploy
        - RunnerJobTypeShutDown
        - RunnerJobTypeUpdateVersion
        - RunnerJobTypeNOOP
        - RunnerJobTypeMngVMShutDown
        - RunnerJobTypeMngShutDown
        - RunnerJobTypeMngRunnerUpdateVersion
        - RunnerJobTypeMngRunnerRestart
        - RunnerJobTypeMngFetchToken
        - RunnerJobTypeSandboxTerraform
        - RunnerJobTypeSandboxTerraformPlan
        - RunnerJobTypeSandboxPulumi
        - RunnerJobTypeSandboxSyncSecrets
        - RunnerJobTypeRunnerHelm
        - RunnerJobTypeRunnerTerraform
        - RunnerJobTypeRunnerLocal
        - RunnerJobTypeActionsWorkflowRun
    sourceidentity.File:
      properties:
        executable:
          type: boolean
        path:
          type: string
        sha256:
          type: string
      type: object
    sourceidentity.Input:
      properties:
        entry:
          type: string
        path:
          type: string
        stat:
          type: boolean
      type: object
    app.Status:
      enum:
        - error
        - pending
        - in-progress
        - checking-plan
        - success
        - not-attempted
        - cancelled
        - retrying
        - discarded
        - user-skipped
        - auto-skipped
        - planning
        - applying
        - queued
        - warning
        - failed-pending-retry
        - disabled
        - generating
        - awaiting-user-run
        - provisioning
        - active
        - outdated
        - expired
        - approved
        - drifted
        - no-drift
        - approval-expired
        - approval-denied
        - approval-retry
        - building
        - deleting
        - noop
        - approval-awaiting
      type: string
      x-enum-varnames:
        - StatusError
        - StatusPending
        - StatusInProgress
        - StatusCheckPlan
        - StatusSuccess
        - StatusNotAttempted
        - StatusCancelled
        - StatusRetrying
        - StatusDiscarded
        - StatusUserSkipped
        - StatusAutoSkipped
        - StatusPlanning
        - StatusApplying
        - StatusQueued
        - StatusWarning
        - StatusFailedPendingRetry
        - StatusDisabled
        - InstallStackVersionStatusGenerating
        - InstallStackVersionStatusPendingUser
        - InstallStackVersionStatusProvisioning
        - InstallStackVersionStatusActive
        - InstallStackVersionStatusOutdated
        - InstallStackVersionStatusExpired
        - WorkflowStepApprovalStatusApproved
        - WorkflowStepDrifted
        - WorkflowStepNoDrift
        - WorkflowStepApprovalStatusApprovalExpired
        - WorkflowStepApprovalStatusApprovalDenied
        - WorkflowStepApprovalStatusApprovalRetryPlan
        - StatusBuilding
        - StatusDeleting
        - InstallDeployStatusV2Noop
        - AwaitingApproval
    app.ConnectedGithubVCSConfig:
      properties:
        branch:
          type: string
        component_config_id:
          description: parent component
          type: string
        component_config_type:
          type: string
        created_at:
          type: string
        created_by_id:
          type: string
        directory:
          type: string
        id:
          type: string
        path_filter:
          type: string
        repo:
          type: string
        repo_name:
          type: string
        repo_owner:
          type: string
        updated_at:
          type: string
        vcs_connection:
          $ref: '#/components/schemas/app.VCSConnection'
        vcs_connection_id:
          type: string
      type: object
    app.AppBranchInstallGroup:
      properties:
        app_branch_config_id:
          type: string
        auto_approve_on_policies_passing:
          nullable: true
          type: boolean
        created_at:
          type: string
        created_by_id:
          type: string
        default:
          type: boolean
        id:
          type: string
        label_selector:
          $ref: '#/components/schemas/github_com_nuonco_nuon_pkg_labels.Selector'
        max_parallel:
          type: integer
        name:
          type: string
        order:
          type: integer
        org_id:
          type: string
        updated_at:
          type: string
      type: object
    app.AppBranchPreviewConfig:
      properties:
        comment:
          type: boolean
        ignore_drafts:
          type: boolean
        install_id:
          type: string
        install_name:
          type: string
        label_selector:
          $ref: '#/components/schemas/github_com_nuonco_nuon_pkg_labels.Selector'
        mode:
          $ref: '#/components/schemas/app.AppBranchRunPreviewMode'
        react:
          type: boolean
        set_statuses:
          type: boolean
      type: object
    app.PublicGitVCSConfig:
      properties:
        branch:
          type: string
        component_config_id:
          type: string
        component_config_type:
          type: string
        created_at:
          type: string
        created_by_id:
          type: string
        directory:
          type: string
        id:
          type: string
        path_filter:
          type: string
        repo:
          description: actual configuration
          type: string
        updated_at:
          type: string
      type: object
    app.AppBranchRunConfig:
      properties:
        github_label:
          type: string
        mode:
          $ref: '#/components/schemas/app.AppBranchRunMode'
        tag_prefix:
          type: string
      type: object
    blobstore.Blob:
      type: object
    app.AppBranchRunTrigger:
      enum:
        - manual
        - push
        - pull_request
        - tag
        - github_label
        - onboarding
      type: string
      x-enum-varnames:
        - AppBranchRunTriggerManual
        - AppBranchRunTriggerPush
        - AppBranchRunTriggerPullRequest
        - AppBranchRunTriggerTag
        - AppBranchRunTriggerGithubLabel
        - AppBranchRunTriggerOnboarding
    app.AppBranchRunPreviewMode:
      enum:
        - none
        - plan-only
        - apply
        - build-only
      type: string
      x-enum-varnames:
        - AppBranchRunPreviewModeNone
        - AppBranchRunPreviewModePlanOnly
        - AppBranchRunPreviewModeApply
        - AppBranchRunPreviewModeBuildOnly
    app.AppBranchPreviewOverride:
      properties:
        install_id:
          type: string
        mode:
          $ref: '#/components/schemas/app.AppBranchRunPreviewMode'
      type: object
    app.AppBranchRunPreviewSource:
      enum:
        - pr
        - commit
        - branch
        - local
      type: string
      x-enum-varnames:
        - AppBranchRunPreviewSourcePR
        - AppBranchRunPreviewSourceCommit
        - AppBranchRunPreviewSourceBranch
        - AppBranchRunPreviewSourceLocal
    app.InstallApprovalOption:
      enum:
        - approve-all
        - prompt
      type: string
      x-enum-varnames:
        - InstallApprovalOptionApproveAll
        - InstallApprovalOptionPrompt
    app.InstallSandboxRun:
      properties:
        action_workflow_runs:
          items:
            $ref: '#/components/schemas/app.InstallActionWorkflowRun'
          type: array
        app_sandbox_config:
          $ref: '#/components/schemas/app.AppSandboxConfig'
        applied_at:
          description: AppliedAt is set when the apply runner job completes successfully.
          type: string
        composite_error:
          allOf:
            - $ref: '#/components/schemas/compositeerrors.CompositeErrorData'
          description: >-
            CompositeError holds a typed, structured error (e.g. a missing AWS
            IAM

            permission) frozen at write time when a sandbox plan/apply fails. It
            is

            nil for successful or non-enriched failures.
        created_at:
          type: string
        created_by:
          $ref: '#/components/schemas/app.Account'
        created_by_id:
          type: string
        id:
          type: string
        install_id:
          type: string
        install_sandbox_id:
          description: 'TODO: once we run a backfill we can make this non pointer'
          type: string
        install_workflow_id:
          type: string
        log_stream:
          $ref: '#/components/schemas/app.LogStream'
        outputs:
          additionalProperties: {}
          type: object
        planned_at:
          description: PlannedAt is set when the plan runner job completes successfully.
          type: string
        policy_reports:
          items:
            $ref: '#/components/schemas/app.PolicyReport'
          type: array
        role:
          description: Role to be used when planning and applying sandbox runs
          type: string
        run_type:
          $ref: '#/components/schemas/app.SandboxRunType'
        runner_jobs:
          description: runner details
          items:
            $ref: '#/components/schemas/app.RunnerJob'
          type: array
        status:
          type: string
        status_description:
          type: string
        status_v2:
          $ref: '#/components/schemas/app.CompositeStatus'
        updated_at:
          type: string
        workflow:
          $ref: '#/components/schemas/app.Workflow'
        workflow_id:
          description: Fields that are de-nested at read time using AfterQuery
          type: string
      type: object
    app.WorkflowStepGroup:
      properties:
        created_at:
          type: string
        created_by_id:
          type: string
        eager_execution:
          description: >-
            EagerExecution marks this group for early execution during step
            generation.

            When set, the group is returned via the "eager-step-groups" update
            handler

            before all groups have been generated, allowing execution to start
            sooner.

            This field is not persisted to DB — it is only used during
            generation.
          type: boolean
        group_idx:
          type: integer
        id:
          type: string
        name:
          type: string
        parallel:
          type: boolean
        queue_signal:
          $ref: '#/components/schemas/app.QueueSignal'
        result_directive:
          type: string
        status:
          $ref: '#/components/schemas/app.CompositeStatus'
        steps:
          items:
            $ref: '#/components/schemas/app.WorkflowStep'
          type: array
        timeout:
          description: >-
            Timeout is the execution timeout for this group, derived from its

            steps' timeouts. For sequential groups: sum of step timeouts. For
            parallel

            groups: max of step timeouts. Zero means use default fallback.
          type: integer
        updated_at:
          type: string
        workflow_id:
          type: string
      type: object
    app.WorkflowStep:
      properties:
        approval:
          $ref: '#/components/schemas/app.WorkflowStepApproval'
        created_at:
          type: string
        created_by:
          $ref: '#/components/schemas/app.Account'
        created_by_id:
          type: string
        execution_time:
          type: integer
        execution_type:
          $ref: '#/components/schemas/app.WorkflowStepExecutionType'
        finished:
          type: boolean
        finished_at:
          type: string
        group_idx:
          description: to group steps which belong to same logical group, eg, plan/apply
          type: integer
        group_parallel:
          description: >-
            GroupParallel indicates whether steps in this group should execute
            in parallel.
          type: boolean
        group_retry_idx:
          description: counter for every retry attempted on a group
          type: integer
        id:
          type: string
        idx:
          type: integer
        install_workflow_id:
          description: >-
            DEPRECATED: this is the install workflow ID, which is now the
            workflow ID.
          type: string
        links:
          additionalProperties: {}
          type: object
        log_stream:
          allOf:
            - $ref: '#/components/schemas/app.LogStream'
          description: >-
            LogStream is the log stream associated with this workflow step (when
            step_target_type is install_workflow_steps).
        metadata:
          additionalProperties:
            type: string
          type: object
        name:
          type: string
        owner_id:
          type: string
        owner_type:
          type: string
        policy_validation:
          $ref: '#/components/schemas/app.WorkflowStepPolicyValidation'
        result_directive:
          description: >-
            ResultDirective is set by the execute-workflow-step signal to
            communicate

            the step's outcome directive back to the group signal. Values:
            continue,

            stop, retry, retry-group, skip-group, await-approval.
          type: string
        retried:
          type: boolean
        retry_index:
          type: integer
        retryable:
          type: boolean
        skip_on_failure:
          description: >-
            SkipOnFailure lets the workflow continue past this step after its
            retry

            budget is exhausted. Skippable only gates user-initiated skips.
          type: boolean
        skippable:
          type: boolean
        started_at:
          type: string
        status:
          $ref: '#/components/schemas/app.CompositeStatus'
        step_queue_id:
          description: >-
            StepQueueID is the queue where the execute-workflow-step signal
            runs.

            When empty, the group's default step queue is used.
          type: string
        step_target_id:
          description: >-
            the following fields are set _once_ a step is in flight, and are
            orchestrated via the step's signal.


            this is a polymorphic gorm relationship to one of the following
            objects:


            install_cloudformation_stack

            install_sandbox_run

            install_runner_update

            install_deploy

            install_action_workflow_run (can be many of these)
          type: string
        step_target_type:
          type: string
        target_queue_id:
          description: >-
            TargetQueueID is the queue where the inner signal (the actual work)

            gets dispatched. When empty, the step signal's TargetQueueName is
            used.
          type: string
        timeout:
          description: >-
            Timeout is the execution timeout for this step, derived from the

            inner signal's Timeout() at step generation time. Used by the
            step-group

            to set ScheduleToCloseTimeout when awaiting step completion.

            Zero means use default fallback.
          type: integer
        updated_at:
          type: string
        workflow_id:
          description: Fields that are de-nested at read time using AfterQuery
          type: string
        workflow_step_group_id:
          description: WorkflowStepGroupID links this step to its parent WorkflowStepGroup.
          type: string
      type: object
    app.WorkflowType:
      enum:
        - provision
        - deprovision
        - deprovision_sandbox
        - manual_deploy
        - input_update
        - deploy_components
        - teardown_component
        - teardown_components
        - reprovision_sandbox
        - drift_run_reprovision_sandbox
        - action_workflow_run
        - sync_secrets
        - drift_run
        - app_branches_manual_update
        - app_branches_config_repo_update
        - app_branches_component_repo_update
        - app_branch_config_update
        - app_install_sync
        - reprovision
        - reprovision_stack
        - app_config_build
        - runbook_run
        - component_enabled
        - component_disabled
        - recover_helm_release
      type: string
      x-enum-varnames:
        - WorkflowTypeProvision
        - WorkflowTypeDeprovision
        - WorkflowTypeDeprovisionSandbox
        - WorkflowTypeManualDeploy
        - WorkflowTypeInputUpdate
        - WorkflowTypeDeployComponents
        - WorkflowTypeTeardownComponent
        - WorkflowTypeTeardownComponents
        - WorkflowTypeReprovisionSandbox
        - WorkflowTypeDriftRunReprovisionSandbox
        - WorkflowTypeActionWorkflowRun
        - WorkflowTypeSyncSecrets
        - WorkflowTypeDriftRun
        - WorkflowTypeAppBranchesRun
        - WorkflowTypeAppBranchesConfigRepoUpdate
        - WorkflowTypeAppBranchesComponentRepoUpdate
        - WorkflowTypeAppBranchConfigUpdate
        - WorkflowTypeAppInstallSync
        - WorkflowTypeReprovision
        - WorkflowTypeReprovisionStack
        - WorkflowTypeAppConfigBuild
        - WorkflowTypeRunbookRun
        - WorkflowTypeComponentEnabled
        - WorkflowTypeComponentDisabled
        - WorkflowTypeRecoverHelmRelease
    app.WorkflowRun:
      properties:
        created_at:
          type: string
        created_by_id:
          type: string
        finished_at:
          type: string
        id:
          type: string
        start_from_idx:
          description: StartFromIdx is the step index to start execution from.
          type: integer
        started_at:
          type: string
        status:
          $ref: '#/components/schemas/app.CompositeStatus'
        trigger_step_id:
          description: >-
            TriggerStepID is the step that triggered this run (empty for initial
            runs).
          type: string
        type:
          $ref: '#/components/schemas/app.WorkflowRunType'
        updated_at:
          type: string
        workflow_id:
          type: string
      type: object
    app.AWSECRImageConfig:
      properties:
        aws_region:
          type: string
        cloud_connection_id:
          description: actual configuration
          type: string
        component_config_id:
          description: connection to parent model
          type: string
        component_config_type:
          type: string
        created_at:
          type: string
        created_by_id:
          type: string
        iam_role_arn:
          type: string
        id:
          type: string
        updated_at:
          type: string
      type: object
    app.AzureACRImageConfig:
      properties:
        client_certificate_name:
          type: string
        client_id:
          type: string
        client_secret_name:
          description: >-
            Names of app secrets holding the app registration's credential
            material,

            never the material itself.
          type: string
        cloud_connection_id:
          description: actual configuration
          type: string
        component_config_id:
          description: connection to parent model
          type: string
        component_config_type:
          type: string
        created_at:
          type: string
        created_by_id:
          type: string
        id:
          type: string
        registry_url:
          type: string
        tenant_id:
          type: string
        updated_at:
          type: string
      type: object
    app.GCPGARImageConfig:
      properties:
        cloud_connection_id:
          type: string
        component_config_id:
          type: string
        component_config_type:
          type: string
        created_at:
          type: string
        created_by_id:
          type: string
        gcp_project_id:
          type: string
        gcp_region:
          type: string
        id:
          type: string
        service_account_email:
          type: string
        updated_at:
          type: string
        workload_identity_provider:
          type: string
      type: object
    signature.Verification:
      properties:
        authorities:
          items:
            $ref: '#/components/schemas/signature.Authority'
          type: array
        require_signature:
          type: boolean
      type: object
    app.HelmConfig:
      properties:
        chart_name:
          type: string
        helm_repo_config:
          $ref: '#/components/schemas/app.HelmRepoConfig'
        namespace:
          type: string
        skip_crds:
          type: boolean
        storage_driver:
          type: string
        take_ownership:
          description: Newer fields that we don't need to store as columns in the database
          type: boolean
        values:
          additionalProperties:
            type: string
          type: object
        values_files:
          items:
            type: string
          type: array
      type: object
    app.KustomizeConfig:
      properties:
        enable_helm:
          description: Enable Helm chart inflation during kustomize build
          type: boolean
        load_restrictor:
          description: 'Load restrictor: only "rootOnly" is supported'
          type: string
        patches:
          description: Additional patch files to apply after kustomize build
          items:
            type: string
          type: array
        path:
          description: Path to kustomization directory (relative to source root)
          type: string
      type: object
    refs.RefType:
      enum:
        - sandbox
        - install_stack
        - component
        - inputs
        - install_inputs
        - secrets
        - actions
      type: string
      x-enum-varnames:
        - RefTypeSandbox
        - RefTypeInstallStack
        - RefTypeComponents
        - RefTypeInputs
        - RefTypeInstallInputs
        - RefTypeSecrets
        - RefTypeActions
    compositeerrors.SectionKind:
      enum:
        - markdown
        - text
        - code
      type: string
      x-enum-varnames:
        - SectionMarkdown
        - SectionText
        - SectionCode
    permissions.Permission:
      enum:
        - unknown
        - all
        - create
        - read
        - update
        - delete
      type: string
      x-enum-varnames:
        - PermissionUnknown
        - PermissionAll
        - PermissionCreate
        - PermissionRead
        - PermissionUpdate
        - PermissionDelete
    app.Policy:
      properties:
        created_at:
          type: string
        created_by_id:
          type: string
        id:
          type: string
        name:
          $ref: '#/components/schemas/app.PolicyName'
        permissions:
          additionalProperties:
            type: string
          type: object
        role_id:
          type: string
        updated_at:
          type: string
      type: object
    app.RoleType:
      enum:
        - org_admin
        - org_support
        - org_read_only
        - org_builder
        - installer
        - runner
        - runner_install
        - runner_job
        - hosted-installer
        - stack
        - telemetry_collector
        - phone_home
        - log_stream
      type: string
      x-enum-varnames:
        - RoleTypeOrgAdmin
        - RoleTypeOrgSupport
        - RoleTypeOrgReadOnly
        - RoleTypeOrgBuilder
        - RoleTypeInstaller
        - RoleTypeRunner
        - RoleTypeRunnerInstall
        - RoleTypeRunnerJob
        - RoleTypeHostedInstaller
        - RoleTypeStack
        - RoleTypeTelemetryCollector
        - RoleTypePhoneHome
        - RoleTypeLogStream
    app.UserJourneyStep:
      properties:
        complete:
          type: boolean
        completed_at:
          description: Top-level completion tracking fields
          type: string
        completion_method:
          type: string
        completion_source:
          type: string
        metadata:
          additionalProperties: true
          description: Flexible metadata for business data
          type: object
        name:
          type: string
        title:
          type: string
      type: object
    app.ActionWorkflowConfig:
      properties:
        action_workflow_id:
          type: string
        app_config_id:
          type: string
        app_id:
          type: string
        break_glass_role_arn:
          type: string
        component_dependency_ids:
          items:
            type: string
          type: array
        created_at:
          type: string
        created_by_id:
          type: string
        enable_kube_config:
          $ref: '#/components/schemas/sql.NullBool'
        id:
          type: string
        image:
          description: Image is an optional container image the action's steps run inside.
          type: string
        is_healthcheck:
          type: boolean
        kubernetes_context_name:
          description: >-
            KubernetesContextName is the name of an AppKubernetesContextConfig
            on

            the same AppConfig. Empty means fall back to the implicit sandbox

            default. Stored as a name (not an FK) so it remains stable across

            AppConfig versions.
          type: string
        references:
          items:
            type: string
          type: array
        refs:
          items:
            $ref: '#/components/schemas/refs.Ref'
          type: array
        role:
          type: string
        steps:
          items:
            $ref: '#/components/schemas/app.ActionWorkflowStepConfig'
          type: array
        timeout:
          type: integer
        triggers:
          description: >-
            INFO: if adding new associations here, ensure they are added to the
            batch delete activity
          items:
            $ref: '#/components/schemas/app.ActionWorkflowTriggerConfig'
          type: array
        updated_at:
          type: string
      type: object
    sql.NullBool:
      properties:
        bool:
          type: boolean
        valid:
          description: Valid is true if Bool is not NULL
          type: boolean
      type: object
    app.InstallActionWorkflow:
      properties:
        action_workflow:
          $ref: '#/components/schemas/app.ActionWorkflow'
        action_workflow_id:
          type: string
        app_config_ref:
          $ref: '#/components/schemas/app.AppConfigRef'
        created_at:
          type: string
        created_by_id:
          type: string
        id:
          type: string
        install_id:
          type: string
        runs:
          items:
            $ref: '#/components/schemas/app.InstallActionWorkflowRun'
          type: array
        status:
          description: after query fields filled in after querying
          type: string
        status_v2:
          $ref: '#/components/schemas/app.CompositeStatus'
        updated_at:
          type: string
      type: object
    app.InstallActionWorkflowRunStep:
      properties:
        adhoc_config:
          $ref: '#/components/schemas/app.AdHocStepConfig'
        created_at:
          type: string
        created_by_id:
          type: string
        execution_duration:
          type: integer
        id:
          type: string
        install_action_workflow_run_id:
          type: string
        status:
          $ref: '#/components/schemas/app.InstallActionWorkflowRunStepStatus'
        status_v2:
          $ref: '#/components/schemas/app.CompositeStatus'
        step_id:
          type: string
        updated_at:
          type: string
      type: object
    app.ActionRunTrigger:
      properties:
        actor:
          $ref: '#/components/schemas/app.Account'
        parent_id:
          type: string
        parent_name:
          type: string
        parent_type:
          type: string
        type:
          type: string
      type: object
    app.ActionWorkflowTriggerType:
      enum:
        - manual
        - cron
        - adhoc
        - pre-deploy-component
        - post-deploy-component
        - pre-teardown-component
        - post-teardown-component
        - pre-secrets-sync
        - post-secrets-sync
        - pre-provision
        - post-provision
        - post-provision-sandbox
        - pre-reprovision
        - post-reprovision
        - pre-deprovision
        - post-deprovision
        - pre-deploy-all-components
        - post-deploy-all-components
        - pre-teardown-all-components
        - post-teardown-all-components
        - pre-deprovision-sandbox
        - post-deprovision-sandbox
        - pre-reprovision-sandbox
        - post-reprovision-sandbox
        - pre-update-inputs
        - post-update-inputs
        - role-enabled
        - role-disabled
        - pre-enable-component
        - post-enable-component
        - pre-disable-component
        - post-disable-component
      type: string
      x-enum-varnames:
        - ActionWorkflowTriggerTypeManual
        - ActionWorkflowTriggerTypeCron
        - ActionWorkflowTriggerTypeAdHoc
        - ActionWorkflowTriggerTypePreDeployComponent
        - ActionWorkflowTriggerTypePostDeployComponent
        - ActionWorkflowTriggerTypePreTeardownComponent
        - ActionWorkflowTriggerTypePostTeardownComponent
        - ActionWorkflowTriggerTypePreSecretsSync
        - ActionWorkflowTriggerTypePostSecretsSync
        - ActionWorkflowTriggerTypePreProvision
        - ActionWorkflowTriggerTypePostProvision
        - ActionWorkflowTriggerTypePostProvisionSandbox
        - ActionWorkflowTriggerTypePreReprovision
        - ActionWorkflowTriggerTypePostReprovision
        - ActionWorkflowTriggerTypePreDeprovision
        - ActionWorkflowTriggerTypePostDeprovision
        - ActionWorkflowTriggerTypePreDeployAllComponents
        - ActionWorkflowTriggerTypePostDeployAllComponents
        - ActionWorkflowTriggerTypePreTeardownAllComponents
        - ActionWorkflowTriggerTypePostTeardownAllComponents
        - ActionWorkflowTriggerTypePreDeprovisionSandbox
        - ActionWorkflowTriggerTypePostDeprovisionSandbox
        - ActionWorkflowTriggerTypePreReprovisionSandbox
        - ActionWorkflowTriggerTypePostReprovisionSandbox
        - ActionWorkflowTriggerTypePreUpdateInputs
        - ActionWorkflowTriggerTypePostUpdateInputs
        - ActionWorkflowTriggerTypeRoleEnabled
        - ActionWorkflowTriggerTypeRoleDisabled
        - ActionWorkflowTriggerTypePreEnableComponent
        - ActionWorkflowTriggerTypePostEnableComponent
        - ActionWorkflowTriggerTypePreDisableComponent
        - ActionWorkflowTriggerTypePostDisableComponent
    github_com_nuonco_nuon_pkg_policies_opa.Result:
      properties:
        check_id:
          type: string
        decision:
          type: string
        description:
          type: string
        errors:
          items:
            $ref: '#/components/schemas/opa.EvaluationError'
          type: array
        findings:
          items:
            $ref: '#/components/schemas/opa.Finding'
          type: array
        input_count:
          type: integer
        title:
          type: string
      type: object
    app.QueueEmitter:
      properties:
        created_at:
          type: string
        created_by_id:
          type: string
        cron_schedule:
          description: |-
            Schedule configuration
            For cron mode: cron expression (e.g., "0 * * * *")
          type: string
        description:
          type: string
        emit_count:
          type: integer
        fired:
          description: 'For scheduled mode: whether the signal has been fired'
          type: boolean
        id:
          type: string
        jitter_window:
          description: >-
            For cron mode: spread emitter ticks deterministically across this
            window

            to avoid thundering-herd when many emitters share a schedule. A hash
            of the

            emitter ID determines each emitter's static offset within the
            window. Zero

            disables jitter (default).
          type: integer
        last_emitted_at:
          type: string
        mode:
          allOf:
            - $ref: '#/components/schemas/app.QueueEmitterMode'
          description: 'Emitter mode: "cron" for recurring, "scheduled" for one-shot'
        name:
          description: Emitter identity
          type: string
        next_emit_at:
          type: string
        org_id:
          type: string
        queue_id:
          description: 'Many-to-one: each emitter belongs to exactly one queue'
          type: string
        scheduled_at:
          description: 'For scheduled mode: the time to fire the signal'
          type: string
        signal_expires_in:
          description: >-
            Optional TTL for emitted signals. When set, each emitted signal's
            ExpiresAt

            is computed as time.Now().Add(SignalExpiresIn) at emission time.
          type: integer
        signal_template:
          $ref: '#/components/schemas/signaldb.SignalData'
        signal_type:
          description: Signal template - the signal to emit on each tick
          type: string
        status:
          allOf:
            - $ref: '#/components/schemas/app.CompositeStatus'
          description: Runtime state using shared CompositeStatus
        updated_at:
          type: string
        workflow:
          allOf:
            - $ref: '#/components/schemas/signaldb.WorkflowRef'
          description: Workflow reference for the emitter's cron workflow
      type: object
    keys.WorkflowTelemetry:
      properties:
        install_id:
          type: string
        install_name:
          type: string
        org_id:
          type: string
        org_name:
          type: string
        owner_id:
          type: string
        owner_name:
          type: string
        owner_type:
          type: string
        workflow_id:
          type: string
        workflow_type:
          type: string
      type: object
    app.RunnerJobExecutionOutputs:
      properties:
        created_at:
          type: string
        created_by_id:
          type: string
        id:
          type: string
        org_id:
          type: string
        outputs:
          additionalProperties:
            type: object
          type: object
        outputs_json:
          type: string
        runner_job_execution_id:
          type: string
        updated_at:
          type: string
      type: object
    app.RunnerJobExecutionResult:
      properties:
        composite_error:
          allOf:
            - $ref: '#/components/schemas/compositeerrors.CompositeErrorData'
          description: >-
            CompositeError is the typed, structured error parsed from this
            execution's

            failure output at write time. It is the canonical, execution-scoped
            store

            for runner-driven composite errors: strictly 1:1 with the attempt
            and

            never reused, so it cannot go stale across retries. Aggregate rows
            derive

            their displayed error from the latest relevant result; they do not
            own it.
        contents:
          type: string
        contents_display:
          type: string
        contents_display_gzip:
          type: string
        contents_gzip:
          description: columns for storage of gzipped contents and plans
          type: string
        created_at:
          type: string
        created_by_id:
          type: string
        error_code:
          type: integer
        error_metadata:
          additionalProperties:
            type: string
          type: object
        id:
          type: string
        org_id:
          type: string
        runner_job_execution_id:
          type: string
        success:
          type: boolean
        updated_at:
          type: string
      type: object
    app.RunnerJobExecutionStatus:
      enum:
        - pending
        - initializing
        - in-progress
        - cleaning-up
        - finished
        - failed
        - timed-out
        - not-attempted
        - cancelled
        - unknown
      type: string
      x-enum-varnames:
        - RunnerJobExecutionStatusPending
        - RunnerJobExecutionStatusInitializing
        - RunnerJobExecutionStatusInProgress
        - RunnerJobExecutionStatusCleaningUp
        - RunnerJobExecutionStatusFinished
        - RunnerJobExecutionStatusFailed
        - RunnerJobExecutionStatusTimedOut
        - RunnerJobExecutionStatusNotAttempted
        - RunnerJobExecutionStatusCancelled
        - RunnerJobExecutionStatusUnknown
    app.InstallRoleSelectionRecord:
      properties:
        available:
          type: boolean
        role_id:
          type: string
        role_name:
          type: string
        role_source:
          type: string
        selected:
          type: boolean
      type: object
    plantypes.CompositePlan:
      properties:
        action_workflow_run_plan:
          $ref: '#/components/schemas/plantypes.ActionWorkflowRunPlan'
        build_plan:
          $ref: '#/components/schemas/plantypes.BuildPlan'
        deploy_plan:
          $ref: '#/components/schemas/plantypes.DeployPlan'
        fetch_image_metadata_plan:
          $ref: '#/components/schemas/plantypes.FetchImageMetadataPlan'
        sandbox_run_plan:
          $ref: '#/components/schemas/plantypes.SandboxRunPlan'
        sync_oci_plan:
          $ref: '#/components/schemas/plantypes.SyncOCIPlan'
        sync_secrets_plan:
          $ref: '#/components/schemas/plantypes.SyncSecretsPlan'
      type: object
    app.VCSConnection:
      properties:
        created_at:
          type: string
        created_by_id:
          type: string
        github_account_id:
          type: string
        github_account_name:
          type: string
        github_install_id:
          type: string
        id:
          type: string
        queues:
          items:
            $ref: '#/components/schemas/app.Queue'
          type: array
        status:
          $ref: '#/components/schemas/app.CompositeStatus'
        updated_at:
          type: string
        vcs_connection_commit:
          items:
            $ref: '#/components/schemas/app.VCSConnectionCommit'
          type: array
      type: object
    github_com_nuonco_nuon_pkg_labels.Selector:
      properties:
        match_labels:
          $ref: '#/components/schemas/github_com_nuonco_nuon_pkg_labels.Labels'
        not_match_labels:
          $ref: '#/components/schemas/github_com_nuonco_nuon_pkg_labels.Labels'
      type: object
    app.AppBranchRunMode:
      enum:
        - push
        - on_tag
        - on_github_label
        - manual_only
      type: string
      x-enum-varnames:
        - AppBranchRunModePush
        - AppBranchRunModeTagPrefix
        - AppBranchRunModeGithubLabel
        - AppBranchRunModeManualOnly
    app.AppSandboxConfig:
      properties:
        app_config_id:
          type: string
        app_id:
          type: string
        auto_approve_on_policies_passing:
          type: boolean
        aws_region_type:
          description: cloud specific fields
          type: string
        cloud_platform:
          description: fields set via after query
          type: string
        connected_github_vcs_config:
          $ref: '#/components/schemas/app.ConnectedGithubVCSConfig'
        created_at:
          type: string
        created_by_id:
          type: string
        drift_schedule:
          type: string
        env_vars:
          additionalProperties:
            type: string
          type: object
        id:
          type: string
        max_auto_retries:
          type: integer
        operation_roles:
          additionalProperties:
            type: string
          description: 'Operation roles map: operation type -> role name'
          type: object
        org_id:
          type: string
        public_git_vcs_config:
          $ref: '#/components/schemas/app.PublicGitVCSConfig'
        pulumi_config:
          additionalProperties:
            type: string
          type: object
        pulumi_version:
          type: string
        references:
          items:
            type: string
          type: array
        refs:
          items:
            $ref: '#/components/schemas/refs.Ref'
          type: array
        runtime:
          type: string
        skip_noops:
          type: boolean
        terraform_version:
          type: string
        type:
          type: string
        updated_at:
          type: string
        variables:
          additionalProperties:
            type: string
          type: object
        variables_files:
          items:
            type: string
          type: array
      type: object
    app.SandboxRunType:
      enum:
        - provision
        - reprovision
        - deprovision
      type: string
      x-enum-varnames:
        - SandboxRunTypeProvision
        - SandboxRunTypeReprovision
        - SandboxRunTypeDeprovision
    app.WorkflowStepApproval:
      properties:
        app_branch_id:
          type: string
        app_id:
          type: string
        changes_create:
          type: integer
        changes_delete:
          type: integer
        changes_noop:
          type: integer
        changes_replace:
          type: integer
        changes_state:
          $ref: '#/components/schemas/app.StepChangeState'
        changes_update:
          type: integer
        created_at:
          type: string
        created_by_id:
          type: string
        id:
          type: string
        installWorkflowStep:
          $ref: '#/components/schemas/app.WorkflowStep'
        installWorkflowStepID:
          description: the step that this approval belongs too
          type: string
        owner_id:
          type: string
        owner_type:
          type: string
        response:
          $ref: '#/components/schemas/app.WorkflowStepApprovalResponse'
        runner_job:
          $ref: '#/components/schemas/app.RunnerJob'
        runner_job_id:
          description: the runner job where this approval was created
          type: string
        type:
          $ref: '#/components/schemas/app.WorkflowStepApprovalType'
        updated_at:
          type: string
        workflow_step:
          $ref: '#/components/schemas/app.WorkflowStep'
        workflow_step_id:
          description: afterquery
          type: string
      type: object
    app.WorkflowStepExecutionType:
      enum:
        - system
        - user
        - approval
        - skipped
        - hidden
      type: string
      x-enum-varnames:
        - WorkflowStepExecutionTypeSystem
        - WorkflowStepExecutionTypeUser
        - WorkflowStepExecutionTypeApproval
        - WorkflowStepExecutionTypeSkipped
        - WorkflowStepExecutionTypeHidden
    app.WorkflowStepPolicyValidation:
      properties:
        created_at:
          type: string
        created_by_id:
          type: string
        id:
          type: string
        install_workflow_step_id:
          description: >-
            install workflow step is the install step that this was performed
            within
          type: string
        response:
          description: >-
            response is the kyverno response (deprecated: use Reports for
            detailed results)
          type: string
        runner_job_id:
          description: runnerJobID is the runner job that this was performed within
          type: string
        status:
          allOf:
            - $ref: '#/components/schemas/app.CompositeStatus'
          description: status denotes whether this passed, or whether it failed the job.
        updated_at:
          type: string
      type: object
    app.WorkflowRunType:
      enum:
        - initial
        - retry
        - skip
        - resume
      type: string
      x-enum-varnames:
        - WorkflowRunTypeInitial
        - WorkflowRunTypeRetry
        - WorkflowRunTypeSkip
        - WorkflowRunTypeResume
    signature.Authority:
      properties:
        issuer:
          type: string
        public_key:
          type: string
        subject:
          type: string
        subject_regexp:
          type: string
        type:
          $ref: '#/components/schemas/signature.AuthorityType'
      type: object
    app.HelmRepoConfig:
      properties:
        chart:
          type: string
        repo_url:
          type: string
        version:
          type: string
      type: object
    app.PolicyName:
      enum:
        - org_admin
        - org_support
        - org_read_only
        - org_builder
        - installer
        - runner
        - runner_job
        - hosted_installer
        - stack
        - telemetry_collector
        - phone_home
        - log_stream
      type: string
      x-enum-varnames:
        - PolicyNameOrgAdmin
        - PolicyNameOrgSupport
        - PolicyNameOrgReadOnly
        - PolicyNameOrgBuilder
        - PolicyNameInstaller
        - PolicyNameRunner
        - PolicyNameRunnerJob
        - PolicyNameHostedInstaller
        - PolicyNameStack
        - PolicyNameTelemetryCollector
        - PolicyNamePhoneHome
        - PolicyNameLogStream
    app.ActionWorkflowStepConfig:
      properties:
        action_workflow_config_id:
          type: string
        app_config_id:
          description: this belongs to an app config id
          type: string
        app_id:
          type: string
        command:
          type: string
        connected_github_vcs_config:
          $ref: '#/components/schemas/app.ConnectedGithubVCSConfig'
        created_at:
          type: string
        created_by_id:
          type: string
        env_vars:
          additionalProperties:
            type: string
          type: object
        id:
          type: string
        idx:
          type: integer
        inline_contents:
          type: string
        name:
          description: metadata
          type: string
        previous_step_id:
          type: string
        public_git_vcs_config:
          allOf:
            - $ref: '#/components/schemas/app.PublicGitVCSConfig'
          description: all the details needed for a step
        references:
          items:
            type: string
          type: array
        updated_at:
          type: string
      type: object
    app.ActionWorkflowTriggerConfig:
      properties:
        action_workflow_config_id:
          type: string
        app_config_id:
          description: this belongs to an app config id
          type: string
        app_id:
          type: string
        component:
          $ref: '#/components/schemas/app.Component'
        component_id:
          type: string
        created_at:
          type: string
        created_by_id:
          type: string
        cron_schedule:
          type: string
        id:
          type: string
        index:
          type: integer
        type:
          type: string
        updated_at:
          type: string
      type: object
    app.ActionWorkflow:
      properties:
        app_id:
          type: string
        config_count:
          type: integer
        configs:
          items:
            $ref: '#/components/schemas/app.ActionWorkflowConfig'
          type: array
        created_at:
          type: string
        created_by_id:
          type: string
        id:
          type: string
        labels:
          $ref: '#/components/schemas/github_com_nuonco_nuon_pkg_labels.Labels'
        name:
          description: metadata
          type: string
        status:
          description: 'TODO: change to default null after migration & after initial pr'
          type: string
        status_description:
          type: string
        status_v2:
          $ref: '#/components/schemas/app.CompositeStatus'
        updated_at:
          type: string
      type: object
    app.AppConfigRef:
      properties:
        applied_config_at:
          type: string
        applied_config_by_id:
          type: string
        applied_config_by_type:
          type: string
        applied_config_id:
          type: string
        expected_config_id:
          type: string
      type: object
    app.AdHocStepConfig:
      properties:
        action_workflow_config_id:
          type: string
        app_config_id:
          description: this belongs to an app config id
          type: string
        app_id:
          type: string
        command:
          type: string
        connected_github_vcs_config:
          $ref: '#/components/schemas/app.ConnectedGithubVCSConfig'
        created_at:
          type: string
        created_by_id:
          type: string
        env_vars:
          additionalProperties:
            type: string
          type: object
        id:
          type: string
        idx:
          type: integer
        inline_contents:
          type: string
        name:
          description: metadata
          type: string
        previous_step_id:
          type: string
        public_git_vcs_config:
          allOf:
            - $ref: '#/components/schemas/app.PublicGitVCSConfig'
          description: all the details needed for a step
        references:
          items:
            type: string
          type: array
        updated_at:
          type: string
      type: object
    app.InstallActionWorkflowRunStepStatus:
      enum:
        - finished
        - pending
        - in-progress
        - timed-out
        - error
      type: string
      x-enum-varnames:
        - InstallActionWorkflowRunStepStatusFinished
        - InstallActionWorkflowRunStepStatusPending
        - InstallActionWorkflowRunStepStatusInProgress
        - InstallActionWorkflowRunStepStatusTimedOut
        - InstallActionWorkflowRunStepStatusError
    opa.EvaluationError:
      properties:
        code:
          type: string
        input_identity:
          type: string
        input_index:
          type: integer
        message:
          type: string
      type: object
    opa.Finding:
      properties:
        input_identity:
          type: string
        input_index:
          type: integer
        message:
          type: string
      type: object
    app.QueueEmitterMode:
      enum:
        - cron
        - scheduled
        - fire_once
      type: string
      x-enum-varnames:
        - QueueEmitterModeCron
        - QueueEmitterModeScheduled
        - QueueEmitterModeFireOnce
    plantypes.ActionWorkflowRunPlan:
      properties:
        attrs:
          additionalProperties:
            type: string
          type: object
        aws_auth:
          $ref: >-
            #/components/schemas/github_com_nuonco_nuon_pkg_aws_credentials.Config
        azure_auth:
          $ref: >-
            #/components/schemas/github_com_nuonco_nuon_pkg_azure_credentials.Config
        builtin_env_vars:
          additionalProperties:
            type: string
          type: object
        cluster_info:
          $ref: '#/components/schemas/kube.ClusterInfo'
        gcp_auth:
          $ref: >-
            #/components/schemas/github_com_nuonco_nuon_pkg_gcp_credentials.Config
        id:
          type: string
        image_digest_ref:
          description: >-
            ImageDigestRef is the digest-pinned pull reference resolved by the
            mirror

            job (<login_server>/<repository>@sha256:...). When set, the runner
            pulls

            this exact manifest instead of the mutable tag, binding execution to
            the

            content that was mirrored.
          type: string
        image_registry:
          $ref: '#/components/schemas/configs.OCIRegistryRepository'
        image_tag:
          type: string
        install_id:
          type: string
        override_env_vars:
          additionalProperties:
            type: string
          type: object
        sandbox_mode:
          $ref: '#/components/schemas/plantypes.SandboxMode'
        source_image:
          description: |-
            Image-backed actions: SourceImage is the rendered app-authored ref
            (e.g. ghcr.io/acme/tools:v1); ImageRegistry/ImageTag point at the
            install-registry mirror the runner pulls from.
          type: string
        steps:
          items:
            $ref: '#/components/schemas/plantypes.ActionWorkflowRunStepPlan'
          type: array
        timeout:
          type: integer
      type: object
    plantypes.BuildPlan:
      properties:
        component_build_id:
          type: string
        component_id:
          type: string
        container_image_pull_plan:
          $ref: '#/components/schemas/plantypes.ContainerImagePullPlan'
        dst_registry:
          $ref: '#/components/schemas/configs.OCIRegistryRepository'
        dst_tag:
          type: string
        git_source:
          $ref: '#/components/schemas/plantypes.GitSource'
        helm_build_plan:
          $ref: '#/components/schemas/plantypes.HelmBuildPlan'
        kubernetes_manifest_build_plan:
          $ref: '#/components/schemas/plantypes.KubernetesManifestBuildPlan'
        pulumi_build_plan:
          $ref: '#/components/schemas/plantypes.PulumiBuildPlan'
        sandbox_mode:
          $ref: '#/components/schemas/plantypes.SandboxMode'
        source_identity:
          $ref: '#/components/schemas/sourceidentity.Identity'
        terraform_build_plan:
          $ref: '#/components/schemas/plantypes.TerraformBuildPlan'
      required:
        - dst_registry
        - dst_tag
      type: object
    plantypes.DeployPlan:
      properties:
        app_config_id:
          type: string
        app_id:
          type: string
        apply_plan_contents:
          description: The following field is for applying a plan that is already save
          type: string
        apply_plan_display:
          description: >-
            This field is for storing a human legible plan or corollary
            representation
          type: string
        component_id:
          type: string
        component_name:
          type: string
        helm:
          $ref: '#/components/schemas/plantypes.HelmDeployPlan'
        inputs_digest:
          type: string
        install_id:
          type: string
        kubernetes_manifest:
          $ref: '#/components/schemas/plantypes.KubernetesManifestDeployPlan'
        noop:
          $ref: '#/components/schemas/plantypes.NoopDeployPlan'
        pulumi:
          $ref: '#/components/schemas/plantypes.PulumiDeployPlan'
        sandbox_mode:
          $ref: '#/components/schemas/plantypes.SandboxMode'
        src_digest:
          description: >-
            SrcDigest is the manifest digest of the source artifact in the
            install

            registry, e.g. "sha256:abc...". Populated for image-type component

            builds with source identity recorded; empty for

            non-image builds and legacy image builds. When non-empty, runners

            should prefer this over SrcTag for content-addressed pulls and for

            rendering digest-pinned image references in pod specs.
          type: string
        src_registry:
          $ref: '#/components/schemas/configs.OCIRegistryRepository'
        src_tag:
          type: string
        teardown:
          allOf:
            - $ref: '#/components/schemas/plantypes.TeardownPlan'
          description: Teardown is only set on plans for teardown deploys.
        terraform:
          $ref: '#/components/schemas/plantypes.TerraformDeployPlan'
      required:
        - src_registry
        - src_tag
      type: object
    plantypes.FetchImageMetadataPlan:
      properties:
        include_attestation_layers:
          type: boolean
        include_attestation_manifests:
          type: boolean
        include_index:
          description: Options for metadata fetching
          type: boolean
        registry:
          allOf:
            - $ref: '#/components/schemas/configs.OCIRegistryRepository'
          description: Registry configuration for the source image
        sandbox_mode:
          $ref: '#/components/schemas/plantypes.SandboxMode'
        tag:
          description: Tag is the image tag to fetch metadata for
          type: string
      required:
        - registry
        - tag
      type: object
    plantypes.SandboxRunPlan:
      properties:
        app_config_id:
          type: string
        app_id:
          type: string
        apply_plan_contents:
          description: The following field is for applying a plan that is already saved
          type: string
        apply_plan_display:
          description: >-
            This field is for storing a human legible plan or corollary
            representation
          items:
            type: integer
          type: array
        aws_auth:
          $ref: >-
            #/components/schemas/github_com_nuonco_nuon_pkg_aws_credentials.Config
        azure_auth:
          $ref: >-
            #/components/schemas/github_com_nuonco_nuon_pkg_azure_credentials.Config
        env_vars:
          additionalProperties:
            type: string
          type: object
        gcp_auth:
          $ref: >-
            #/components/schemas/github_com_nuonco_nuon_pkg_gcp_credentials.Config
        git_source:
          $ref: '#/components/schemas/plantypes.GitSource'
        hooks:
          $ref: '#/components/schemas/plantypes.TerraformDeployHooks'
        inputs_digest:
          type: string
        install_id:
          type: string
        kyverno_policies_dir:
          type: string
        local_archive:
          $ref: '#/components/schemas/plantypes.TerraformLocalArchive'
        oci_source:
          $ref: '#/components/schemas/plantypes.OCISource'
        policies:
          additionalProperties:
            type: string
          type: object
        pulumi_backend:
          $ref: '#/components/schemas/plantypes.PulumiBackend'
        sandbox_mode:
          $ref: '#/components/schemas/plantypes.SandboxMode'
        state:
          $ref: '#/components/schemas/github_com_nuonco_nuon_pkg_types_state.State'
        terraform_backend:
          $ref: '#/components/schemas/plantypes.TerraformBackend'
        vars:
          additionalProperties: {}
          type: object
        vars_files:
          items:
            type: string
          type: array
      type: object
    plantypes.SyncOCIPlan:
      properties:
        dst_registry:
          $ref: '#/components/schemas/configs.OCIRegistryRepository'
        dst_tag:
          type: string
        sandbox_mode:
          $ref: '#/components/schemas/plantypes.SandboxMode'
        src_registry:
          $ref: '#/components/schemas/configs.OCIRegistryRepository'
        src_tag:
          type: string
      required:
        - dst_registry
        - dst_tag
        - src_registry
        - src_tag
      type: object
    plantypes.SyncSecretsPlan:
      properties:
        aws_auth:
          $ref: >-
            #/components/schemas/github_com_nuonco_nuon_pkg_aws_credentials.Config
        azure_auth:
          $ref: >-
            #/components/schemas/github_com_nuonco_nuon_pkg_azure_credentials.Config
        cluster_info:
          $ref: '#/components/schemas/kube.ClusterInfo'
        gcp_auth:
          $ref: >-
            #/components/schemas/github_com_nuonco_nuon_pkg_gcp_credentials.Config
        kubernetes_secrets:
          items:
            $ref: '#/components/schemas/plantypes.KubernetesSecretSync'
          type: array
        sandbox_mode:
          $ref: '#/components/schemas/plantypes.SandboxMode'
      type: object
    app.StepChangeState:
      enum:
        - ''
        - ok
        - unsupported
        - error
      type: string
      x-enum-varnames:
        - StepChangeStateUnknown
        - StepChangeStateOK
        - StepChangeStateUnsupported
        - StepChangeStateError
    app.WorkflowStepApprovalResponse:
      properties:
        created_at:
          type: string
        created_by:
          $ref: '#/components/schemas/app.Account'
        created_by_id:
          type: string
        id:
          type: string
        install_workflow_step_approval_id:
          type: string
        note:
          type: string
        type:
          description: the response type
          type: string
        updated_at:
          type: string
      type: object
    app.WorkflowStepApprovalType:
      enum:
        - noop
        - approve-all
        - terraform_plan
        - kubernetes_manifest_approval
        - helm_approval
        - pulumi_plan
        - app_branch_plan
        - install_creation
      type: string
      x-enum-varnames:
        - NoopApprovalType
        - ApproveAllApprovalType
        - TerraformPlanApprovalType
        - KubernetesManifestApprovalType
        - HelmApprovalApprovalType
        - PulumiApprovalType
        - AppBranchPlanApprovalType
        - InstallCreationApprovalType
    signature.AuthorityType:
      enum:
        - keyless
        - public_key
      type: string
      x-enum-varnames:
        - AuthorityTypeKeyless
        - AuthorityTypePublicKey
    app.Component:
      properties:
        app_id:
          type: string
        config_versions:
          type: integer
        created_at:
          type: string
        created_by_id:
          type: string
        dependencies:
          items:
            type: string
          type: array
        id:
          type: string
        labels:
          $ref: '#/components/schemas/github_com_nuonco_nuon_pkg_labels.Labels'
        latest_build:
          $ref: '#/components/schemas/app.ComponentBuild'
        links:
          additionalProperties: {}
          type: object
        name:
          type: string
        resolved_var_name:
          type: string
        status:
          type: string
        status_description:
          type: string
        status_v2:
          $ref: '#/components/schemas/app.CompositeStatus'
        type:
          $ref: '#/components/schemas/app.ComponentType'
        updated_at:
          type: string
        var_name:
          type: string
      type: object
    github_com_nuonco_nuon_pkg_aws_credentials.Config:
      properties:
        assume_role:
          $ref: '#/components/schemas/credentials.AssumeRoleConfig'
        cache_id:
          description: >-
            when cache ID is set, these credentials will be reused, up to the
            duration of the sessionTimeout (or default)
          type: string
        profile:
          description: >-
            If profile is provided, we'll use that profile over the default
            credentials
          type: string
        region:
          type: string
        static:
          $ref: '#/components/schemas/credentials.StaticCredentials'
        use_default:
          type: boolean
      type: object
    github_com_nuonco_nuon_pkg_azure_credentials.Config:
      properties:
        managed_identity_client_id:
          description: >-
            ManagedIdentityClientID runs the operation as a specific
            user-assigned

            managed identity instead of the VM's system identity.
          type: string
        service_principal:
          $ref: '#/components/schemas/credentials.ServicePrincipalCredentials'
        use_default:
          type: boolean
      type: object
    kube.ClusterInfo:
      properties:
        aws_auth:
          $ref: >-
            #/components/schemas/github_com_nuonco_nuon_pkg_aws_credentials.Config
        azure_auth:
          $ref: >-
            #/components/schemas/github_com_nuonco_nuon_pkg_azure_credentials.Config
        ca_data:
          description: CAData is the base64 encoded public certificate
          type: string
        endpoint:
          description: Endpoint is the URL of the k8s api server
          type: string
        env_vars:
          additionalProperties:
            type: string
          type: object
        gcp_auth:
          $ref: >-
            #/components/schemas/github_com_nuonco_nuon_pkg_gcp_credentials.Config
        id:
          description: ID is the ID of the EKS cluster
          type: string
        inline:
          description: >-
            If this is set, we will _not_ use aws-iam-authenticator, but rather
            inline create the token
          type: boolean
        kube_config:
          description: >-
            KubeConfig will override the kube config, and be parsed instead of
            generating a new one
          type: string
        trusted_role_arn:
          description: >-
            TrustedRoleARN is the arn of the role that should be assumed to
            interact with the cluster

            NOTE(JM): we are deprecating this
          type: string
      type: object
    github_com_nuonco_nuon_pkg_gcp_credentials.Config:
      properties:
        impersonate_service_account:
          type: string
        project_id:
          type: string
        region:
          type: string
      type: object
    configs.OCIRegistryRepository:
      properties:
        acrappRegistration:
          $ref: '#/components/schemas/configs.ACRAppRegistration'
        acrauth:
          $ref: >-
            #/components/schemas/github_com_nuonco_nuon_pkg_azure_credentials.Config
        ecrauth:
          $ref: >-
            #/components/schemas/github_com_nuonco_nuon_pkg_aws_credentials.Config
        loginServer:
          type: string
        ociauth:
          $ref: '#/components/schemas/configs.OCIRegistryAuth'
        plugin:
          type: string
        region:
          type: string
        registryType:
          $ref: '#/components/schemas/configs.OCIRegistryType'
        repository:
          description: >-
            based on the type of access, either the repository (ecr) or login
            server (acr) will be provided.
          type: string
        serviceAccountEmail:
          type: string
        workloadIdentityProvider:
          type: string
      type: object
    plantypes.SandboxMode:
      properties:
        enabled:
          type: boolean
        helm:
          $ref: '#/components/schemas/plantypes.HelmSandboxMode'
        kubernetes_manifest:
          $ref: '#/components/schemas/plantypes.KubernetesSandboxMode'
        outputs:
          additionalProperties: {}
          type: object
        pulumi:
          $ref: '#/components/schemas/plantypes.PulumiSandboxMode'
        terraform:
          $ref: '#/components/schemas/plantypes.TerraformSandboxMode'
      type: object
    plantypes.ActionWorkflowRunStepPlan:
      properties:
        attrs:
          additionalProperties:
            type: string
          type: object
        git_source:
          $ref: '#/components/schemas/plantypes.GitSource'
        interpolated_command:
          type: string
        interpolated_env_vars:
          additionalProperties:
            type: string
          type: object
        interpolated_inline_contents:
          type: string
        run_id:
          type: string
      type: object
    plantypes.ContainerImagePullPlan:
      properties:
        image:
          type: string
        previous_source_digest:
          description: >-
            PreviousSourceDigest is the SourceDigest of the most recent prior
            Active

            ComponentBuild for the same component, used by the runner as a dedup

            hint. When the resolver returns a manifest descriptor whose digest
            matches

            this value, the runner skips the Copy step and reports NoOp=true.


            Empty when there is no prior active build, or when the prior build
            has

            no SourceDigest recorded (legacy builds).
          type: string
        repo_config:
          $ref: '#/components/schemas/configs.OCIRegistryRepository'
        tag:
          type: string
        update_policy:
          description: >-
            UpdatePolicy is an optional Masterminds-compatible semver constraint

            (e.g. "~1.25.0") propagated from the user's component config. When

            non-empty, the runner lists tags from the source registry, filters
            to

            those satisfying the constraint, and selects the highest matching

            tag at build time. Tag is then ignored as the source ref.


            Empty for components that don't use update_policy.
          type: string
        verification:
          $ref: '#/components/schemas/signature.Verification'
      type: object
    plantypes.GitSource:
      properties:
        path:
          type: string
        recurse_submodules:
          type: boolean
        ref:
          type: string
        url:
          type: string
      required:
        - path
        - ref
        - url
      type: object
    plantypes.HelmBuildPlan:
      properties:
        helmRepoConfig:
          $ref: '#/components/schemas/config.HelmRepoConfig'
        labels:
          additionalProperties:
            type: string
          type: object
        values:
          items:
            $ref: '#/components/schemas/plantypes.HelmValue'
          type: array
        valuesFiles:
          items:
            type: string
          type: array
      type: object
    plantypes.KubernetesManifestBuildPlan:
      properties:
        inline_manifest:
          description: >-
            InlineManifest contains the raw manifest YAML (for inline source
            type)
          type: string
        kustomize_config:
          allOf:
            - $ref: '#/components/schemas/plantypes.KustomizeBuildConfig'
          description: KustomizeConfig contains additional kustomize build options
        kustomize_path:
          description: >-
            KustomizePath is the path to the kustomization directory (for
            kustomize source type)

            Relative to the repository root
          type: string
        labels:
          additionalProperties:
            type: string
          description: Labels for the OCI artifact
          type: object
        source_type:
          description: >-
            SourceType indicates how manifests are sourced: "inline" or
            "kustomize"
          type: string
      type: object
    plantypes.PulumiBuildPlan:
      properties:
        labels:
          additionalProperties:
            type: string
          type: object
      type: object
    plantypes.TerraformBuildPlan:
      properties:
        labels:
          additionalProperties:
            type: string
          type: object
        terraform_version:
          description: >-
            TerraformVersion is the version of the terraform CLI the build
            runner

            should install in order to vendor providers via

            `terraform providers mirror`. When empty the build runner falls back

            to a sane default. Should mirror the version configured for the

            component's deploy plan so init resolves the same provider bytes the

            build vendored. Only consulted when VendorProviders is true.
          type: string
        vendor_providers:
          description: |-
            VendorProviders enables build-time vendoring of terraform providers
            via `terraform providers mirror`. The install runner auto-detects
            whether a mirror is present in the OCI artifact.
          type: boolean
      type: object
    plantypes.HelmDeployPlan:
      properties:
        aws_auth:
          allOf:
            - $ref: >-
                #/components/schemas/github_com_nuonco_nuon_pkg_aws_credentials.Config
          description: Auth for cloud providers
        azure_auth:
          $ref: >-
            #/components/schemas/github_com_nuonco_nuon_pkg_azure_credentials.Config
        cluster_info:
          $ref: '#/components/schemas/kube.ClusterInfo'
        create_namespace:
          type: boolean
        gcp_auth:
          $ref: >-
            #/components/schemas/github_com_nuonco_nuon_pkg_gcp_credentials.Config
        helm_chart_id:
          type: string
        name:
          description: >-
            NOTE(jm): these fields should probably just come from the app
            config, however we keep them around for

            debuggability
          type: string
        namespace:
          type: string
        recover_release:
          description: >-
            Must stay a bool: go-swagger renders a documented $ref field as an
            inline

            struct value, which decodes non-nil on every deploy.
          type: boolean
        skip_crds:
          type: boolean
        storage_driver:
          type: string
        take_ownership:
          type: boolean
        values:
          items:
            $ref: '#/components/schemas/plantypes.HelmValue'
          type: array
        values_files:
          items:
            type: string
          type: array
        values_override:
          description: >-
            ValuesOverride is the install-level Helm values override (raw YAML).
            It is

            merged as the highest-precedence layer at deploy time, winning over
            both

            ValuesFiles and Values. Empty means no override (exact no-op).
          type: string
      type: object
    plantypes.KubernetesManifestDeployPlan:
      properties:
        aws_auth:
          allOf:
            - $ref: >-
                #/components/schemas/github_com_nuonco_nuon_pkg_aws_credentials.Config
          description: Auth for cloud providers
        azure_auth:
          $ref: >-
            #/components/schemas/github_com_nuonco_nuon_pkg_azure_credentials.Config
        cluster_info:
          $ref: '#/components/schemas/kube.ClusterInfo'
        gcp_auth:
          $ref: >-
            #/components/schemas/github_com_nuonco_nuon_pkg_gcp_credentials.Config
        manifest:
          description: >-
            Manifest is populated at runtime from the OCI artifact.

            This field is no longer set during plan creation - it's populated by
            the runner

            after pulling the OCI artifact during Initialize().
          type: string
        namespace:
          type: string
        oci_artifact:
          allOf:
            - $ref: '#/components/schemas/plantypes.OCIArtifactReference'
          description: >-
            OCIArtifact reference (set during plan creation, used by runner to
            pull manifest)
        state:
          allOf:
            - $ref: >-
                #/components/schemas/github_com_nuonco_nuon_pkg_types_state.State
          description: |-
            State carries the install state the runner needs to interpolate
            nuon template placeholders into the kustomize-produced manifest.yaml
            after pulling the OCI artifact. Nil for inline-manifest deploys,
            which are pre-rendered planner-side and short-circuit the OCI pull
            on the runner. Same shape as SandboxRunPlan.State.
      type: object
    plantypes.NoopDeployPlan:
      type: object
    plantypes.PulumiDeployPlan:
      properties:
        aws_auth:
          $ref: >-
            #/components/schemas/github_com_nuonco_nuon_pkg_aws_credentials.Config
        azure_auth:
          $ref: >-
            #/components/schemas/github_com_nuonco_nuon_pkg_azure_credentials.Config
        cluster_info:
          $ref: '#/components/schemas/kube.ClusterInfo'
        config:
          additionalProperties:
            type: string
          type: object
        destroy:
          description: >-
            Destroy indicates this is a teardown operation (pulumi destroy
            instead of up)
          type: boolean
        env_vars:
          additionalProperties:
            type: string
          type: object
        gcp_auth:
          $ref: >-
            #/components/schemas/github_com_nuonco_nuon_pkg_gcp_credentials.Config
        plan_json:
          items:
            type: integer
          type: array
        pulumi_version:
          type: string
        runtime:
          type: string
        stack_name:
          type: string
        state:
          $ref: '#/components/schemas/github_com_nuonco_nuon_pkg_types_state.State'
        update_plans:
          type: boolean
        workspace_id:
          description: Reuse workspace concept for state storage
          type: string
      type: object
    plantypes.TeardownPlan:
      properties:
        retain:
          description: |-
            Retain holds rendered resource addresses that are removed from state
            instead of destroyed.
          items:
            type: string
          type: array
      type: object
    plantypes.TerraformDeployPlan:
      properties:
        aws_auth:
          $ref: >-
            #/components/schemas/github_com_nuonco_nuon_pkg_aws_credentials.Config
        azure_auth:
          $ref: >-
            #/components/schemas/github_com_nuonco_nuon_pkg_azure_credentials.Config
        cluster_info:
          $ref: '#/components/schemas/kube.ClusterInfo'
        env_vars:
          additionalProperties:
            type: string
          type: object
        gcp_auth:
          $ref: >-
            #/components/schemas/github_com_nuonco_nuon_pkg_gcp_credentials.Config
        hooks:
          $ref: '#/components/schemas/plantypes.TerraformDeployHooks'
        plan_json:
          items:
            type: integer
          type: array
        policies:
          additionalProperties:
            type: string
          type: object
        state:
          $ref: '#/components/schemas/github_com_nuonco_nuon_pkg_types_state.State'
        terraform_backend:
          $ref: '#/components/schemas/plantypes.TerraformBackend'
        vars:
          additionalProperties: {}
          type: object
        vars_files:
          items:
            type: string
          type: array
      type: object
    plantypes.TerraformDeployHooks:
      properties:
        enabled:
          type: boolean
        envVars:
          additionalProperties:
            type: string
          type: object
        runAuth:
          $ref: >-
            #/components/schemas/github_com_nuonco_nuon_pkg_aws_credentials.Config
      type: object
    plantypes.TerraformLocalArchive:
      properties:
        local_archive:
          type: string
      type: object
    plantypes.OCISource:
      properties:
        registry:
          $ref: '#/components/schemas/configs.OCIRegistryRepository'
        tag:
          type: string
      type: object
    plantypes.PulumiBackend:
      properties:
        config:
          additionalProperties:
            type: string
          type: object
        pulumi_version:
          type: string
        runtime:
          type: string
        stack_name:
          type: string
        update_plans:
          type: boolean
        workspace_id:
          type: string
      required:
        - runtime
        - stack_name
        - workspace_id
      type: object
    github_com_nuonco_nuon_pkg_types_state.State:
      properties:
        actions:
          $ref: '#/components/schemas/state.ActionsState'
        app:
          $ref: '#/components/schemas/state.AppState'
        cloud_account:
          $ref: '#/components/schemas/state.CloudAccount'
        components:
          additionalProperties: {}
          type: object
        domain:
          $ref: '#/components/schemas/state.DomainState'
        id:
          type: string
        inputs:
          $ref: '#/components/schemas/state.InputsState'
        install:
          allOf:
            - $ref: '#/components/schemas/state.InstallState'
          description: 'NOTE: for backwards compatibility, these are remaining in place.'
        install_stack:
          $ref: '#/components/schemas/state.InstallStackState'
        labels:
          additionalProperties:
            type: string
          type: object
        name:
          type: string
        org:
          $ref: '#/components/schemas/state.OrgState'
        runner:
          $ref: '#/components/schemas/state.RunnerState'
        sandbox:
          $ref: '#/components/schemas/state.SandboxState'
        secrets:
          $ref: '#/components/schemas/state.SecretsState'
        stale_at:
          description: loaded from the database but not part of the state itself
          type: string
      type: object
    plantypes.TerraformBackend:
      properties:
        workspaceID:
          type: string
      required:
        - workspaceID
      type: object
    plantypes.KubernetesSecretSync:
      properties:
        azure_key_vault_secret_id:
          description: https://{vault-name}.vault.azure.net/secrets/{secret-name}
          type: string
        format:
          description: >-
            NOTE(jm): this should probably come from the app config, but for now
            we just use string parsing to avoid

            updating the runner job and save time.
          type: string
        gcp_secret_name:
          description: projects/{project}/secrets/{id}/versions/latest
          type: string
        key_name:
          type: string
        name:
          type: string
        namespace:
          description: v1 destination (single). Used when Targets is empty.
          type: string
        secret_arn:
          type: string
        secret_name:
          description: the name of the secret from the config
          type: string
        targets:
          description: >-
            v2 destinations: when len(Targets) > 0 the runner uses the v2 path
            and fans the shared source out across each

            target's namespaces. The v1 fields above are ignored in that case.
          items:
            $ref: '#/components/schemas/plantypes.KubernetesSecretSyncTarget'
          type: array
      type: object
    credentials.AssumeRoleConfig:
      properties:
        external_id:
          type: string
        role_arn:
          type: string
        session_duration_seconds:
          type: integer
        session_name:
          type: string
        two_step_config:
          allOf:
            - $ref: '#/components/schemas/iam.TwoStepConfig'
          description: configuration for two stepping before assuming this role
        use_gcp_oidc:
          type: boolean
        use_github_oidc:
          type: boolean
      required:
        - role_arn
        - session_name
      type: object
    credentials.StaticCredentials:
      properties:
        access_key_id:
          type: string
        secret_access_key:
          type: string
        session_token:
          type: string
      required:
        - access_key_id
        - secret_access_key
        - session_token
      type: object
    credentials.ServicePrincipalCredentials:
      properties:
        subscription_id:
          type: string
        subscription_tenant_id:
          type: string
      type: object
    configs.ACRAppRegistration:
      properties:
        clientCertificateName:
          type: string
        clientID:
          type: string
        clientSecretName:
          description: App secret names holding the credential. Exactly one is set.
          type: string
        componentID:
          type: string
        tenantID:
          type: string
      type: object
    configs.OCIRegistryAuth:
      properties:
        password:
          type: string
        username:
          type: string
      type: object
    configs.OCIRegistryType:
      enum:
        - ecr
        - acr
        - gar
        - private_oci
        - public_oci
      type: string
      x-enum-varnames:
        - OCIRegistryTypeECR
        - OCIRegistryTypeACR
        - OCIRegistryTypeGAR
        - OCIRegistryTypePrivateOCI
        - OCIRegistryTypePublicOCI
    plantypes.HelmSandboxMode:
      properties:
        plan_contents:
          type: string
        plan_display_contents:
          type: string
      type: object
    plantypes.KubernetesSandboxMode:
      properties:
        plan_contents:
          type: string
        plan_display_contents:
          type: string
      type: object
    plantypes.PulumiSandboxMode:
      properties:
        plan_contents:
          type: string
        plan_display_contents:
          type: string
        workspace_id:
          type: string
      type: object
    plantypes.TerraformSandboxMode:
      properties:
        plan_contents:
          description: create the plan output
          type: string
        plan_display_contents:
          type: string
        state_json:
          description: needs to be the outputs of `terraform show -json`
          type: string
        workspace_id:
          type: string
      type: object
    config.HelmRepoConfig:
      properties:
        chart:
          type: string
        repoURL:
          type: string
        version:
          type: string
      type: object
    plantypes.HelmValue:
      properties:
        name:
          type: string
        type:
          type: string
        value:
          type: string
      type: object
    plantypes.KustomizeBuildConfig:
      properties:
        enable_helm:
          description: EnableHelm enables Helm chart inflation during kustomize build
          type: boolean
        load_restrictor:
          description: >-
            Ignored by the runner, which pins rootOnly so app config cannot
            widen worker file access
          type: string
        patches:
          description: Patches are additional patch files to apply after kustomize build
          items:
            type: string
          type: array
      type: object
    plantypes.OCIArtifactReference:
      properties:
        digest:
          description: Digest is the immutable artifact digest (e.g., sha256:abc123...)
          type: string
        tag:
          description: Tag is the artifact tag (typically the build ID)
          type: string
        url:
          description: URL is the full artifact URL (e.g., registry.nuon.co/org_id/app_id)
          type: string
      type: object
    state.ActionsState:
      properties:
        populated:
          type: boolean
        workflows:
          additionalProperties:
            $ref: '#/components/schemas/state.ActionWorkflowState'
          type: object
      type: object
    state.AppState:
      properties:
        id:
          type: string
        name:
          type: string
        populated:
          type: boolean
        status:
          type: string
        variables:
          additionalProperties:
            type: string
          type: object
      type: object
    state.CloudAccount:
      properties:
        aws:
          $ref: '#/components/schemas/state.AWSCloudAccount'
        azure:
          $ref: '#/components/schemas/state.AzureCloudAccount'
        gcp:
          $ref: '#/components/schemas/state.GCPCloudAccount'
      type: object
    state.DomainState:
      properties:
        internal_domain:
          type: string
        populated:
          type: boolean
        public_domain:
          type: string
      type: object
    state.InputsState:
      properties:
        inputs:
          additionalProperties:
            type: string
          type: object
        populated:
          type: boolean
      type: object
    state.InstallState:
      properties:
        id:
          type: string
        inputs:
          additionalProperties:
            type: string
          type: object
        internal_domain:
          type: string
        name:
          type: string
        populated:
          type: boolean
        public_domain:
          type: string
        sandbox:
          $ref: '#/components/schemas/state.SandboxState'
      type: object
    state.InstallStackState:
      properties:
        checksum:
          type: string
        outputs:
          additionalProperties: true
          type: object
        populated:
          type: boolean
        quick_link_url:
          type: string
        status:
          type: string
        template_json:
          type: string
        template_url:
          type: string
      type: object
    state.OrgState:
      properties:
        id:
          type: string
        name:
          type: string
        populated:
          type: boolean
        status:
          type: string
      type: object
    state.RunnerState:
      properties:
        api_url:
          type: string
        id:
          type: string
        populated:
          type: boolean
        runner_group_id:
          type: string
        status:
          type: string
      type: object
    state.SandboxState:
      properties:
        build_id:
          type: string
        outputs:
          additionalProperties: true
          type: object
        populated:
          type: boolean
        recent_runs:
          items:
            $ref: '#/components/schemas/state.SandboxState'
          type: array
        status:
          type: string
        type:
          type: string
        version:
          type: string
      type: object
    state.SecretsState:
      additionalProperties:
        $ref: '#/components/schemas/outputs.SecretSyncOutput'
      type: object
    plantypes.KubernetesSecretSyncTarget:
      properties:
        key:
          type: string
        name:
          type: string
        namespaces:
          items:
            type: string
          type: array
      type: object
    iam.TwoStepConfig:
      properties:
        iam_role_arn:
          type: string
        src_iam_role_arn:
          type: string
        src_static_credentials:
          allOf:
            - $ref: '#/components/schemas/iam.StaticCredentials'
          description: Root Credentials
      type: object
    state.ActionWorkflowState:
      properties:
        id:
          type: string
        outputs:
          additionalProperties: {}
          type: object
        populated:
          type: boolean
        status:
          type: string
      type: object
    state.AWSCloudAccount:
      properties:
        region:
          type: string
      type: object
    state.AzureCloudAccount:
      properties:
        location:
          type: string
      type: object
    state.GCPCloudAccount:
      properties:
        project_id:
          type: string
        region:
          type: string
      type: object
    outputs.SecretSyncOutput:
      properties:
        arn:
          type: string
        azure_key_vault_secret_id:
          type: string
        exists:
          type: boolean
        gcp_secret_name:
          type: string
        kubernetes_key:
          type: string
        kubernetes_name:
          type: string
        kubernetes_namespace:
          type: string
        length:
          type: integer
        name:
          type: string
        timestamp:
          type: string
      type: object
    iam.StaticCredentials:
      properties:
        access_key_id:
          type: string
        secret_access_key:
          type: string
        session_token:
          type: string
      type: object
  securitySchemes:
    APIKey:
      description: Type "Bearer" followed by a space and token.
      in: header
      name: Authorization
      type: apiKey
    OrgID:
      description: Nuon org ID
      in: header
      name: X-Nuon-Org-ID
      type: apiKey

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.