{
  "$id": "https://bloxcd.dev/schemas/bloxcd.dev/blox_v1alpha1.json",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false,
  "description": "A Blox fetches manifests from a source, renders them, and keeps them applied to one or more clusters.",
  "properties": {
    "apiVersion": {
      "const": "bloxcd.dev/v1alpha1",
      "description": "API version of this object."
    },
    "kind": {
      "const": "Blox",
      "description": "Kind of this object."
    },
    "metadata": {
      "description": "Standard Kubernetes object metadata.",
      "type": "object"
    },
    "spec": {
      "additionalProperties": false,
      "description": "Desired state of a `Blox`: where manifests come from, how to render them,\nand where to apply them.",
      "properties": {
        "dependsOn": {
          "description": "Other `Blox` objects that must be `Ready` before this one is applied.",
          "items": {
            "additionalProperties": false,
            "properties": {
              "name": {
                "type": "string"
              },
              "namespace": {
                "description": "Defaults to the namespace of the depending `Blox`.",
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "name"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "interval": {
          "default": "5m",
          "description": "How often to check the source and correct drift, e.g. `5m`, `1h`.",
          "type": "string"
        },
        "notify": {
          "description": "Notification sinks to tell when this Blox fails, recovers or applies\na new revision. Sinks are named in bloxd's configuration by its admin.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "prune": {
          "default": false,
          "description": "Delete objects that disappear from the source (and everything on `Blox` deletion).",
          "type": "boolean"
        },
        "render": {
          "additionalProperties": false,
          "default": {},
          "description": "How to turn the source into manifests. Defaults to `plain`.",
          "properties": {
            "helm": {
              "additionalProperties": false,
              "description": "Renders a Helm chart with `helm template`; blox applies the result like\nany other manifests (no Helm release storage, as in Argo CD). The chart\ncomes from `source.helm`, or from a directory in `source.git`. The release\nnamespace is `spec.targetNamespace`, or the Blox's own namespace.",
              "properties": {
                "releaseName": {
                  "description": "Helm release name, used by most charts to name objects. Defaults to the Blox's name.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "values": {
                  "description": "Inline chart values, merged over `valuesFrom`.",
                  "type": "object"
                },
                "valuesFrom": {
                  "description": "ConfigMaps or Secrets (in the Blox's namespace) holding values, merged in order.",
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "kind": {
                        "description": "`ConfigMap` or `Secret`.",
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "optional": {
                        "description": "Skip this reference if the object or key doesn't exist, instead of failing.",
                        "type": "boolean"
                      },
                      "valuesKey": {
                        "description": "Key holding the values. Defaults to `values.yaml`.",
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "kind",
                      "name"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "kustomize": {
              "additionalProperties": false,
              "properties": {
                "patches": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "patch": {
                        "description": "Strategic-merge or JSON6902 patch, as in a kustomization.yaml.",
                        "type": "string"
                      },
                      "target": {
                        "additionalProperties": false,
                        "properties": {
                          "annotationSelector": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "group": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "kind": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "labelSelector": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "name": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "namespace": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "version": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "type": [
                          "object",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "patch"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "substitute": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "description": "Values for `${VAR}` placeholders, applied after `kustomize build`.",
                  "type": "object"
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "plain": {
              "additionalProperties": false,
              "properties": {
                "substitute": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "description": "Values for `${VAR}` placeholders in the manifests.",
                  "type": "object"
                }
              },
              "type": [
                "object",
                "null"
              ]
            }
          },
          "type": "object"
        },
        "retryInterval": {
          "description": "How soon to retry after a failure. Defaults to `interval`.",
          "type": [
            "string",
            "null"
          ]
        },
        "rollout": {
          "additionalProperties": false,
          "description": "Roll changes out to the placed clusters wave by wave instead of all\nat once (needs `bloxd --mode=hub` and `wait`). A new revision or spec\nedit reaches a wave only once every cluster in the waves before it\nruns it and is healthy; a failure halts the rollout where it is.",
          "properties": {
            "maxUnavailableClusters": {
              "default": 1,
              "description": "How many clusters may be updating or failing at once. Defaults to 1.",
              "format": "int32",
              "minimum": 1.0,
              "type": "integer"
            },
            "waves": {
              "description": "Clusters in rollout order, by label. A cluster goes in the first wave\nthat matches it; placed clusters matching none, and the hub's own\ncluster (which has no labels), form a last wave. `{}` matches all.",
              "items": {
                "additionalProperties": false,
                "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.",
                "properties": {
                  "matchExpressions": {
                    "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
                    "items": {
                      "additionalProperties": false,
                      "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
                      "properties": {
                        "key": {
                          "description": "key is the label key that the selector applies to.",
                          "type": "string"
                        },
                        "operator": {
                          "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
                          "type": "string"
                        },
                        "values": {
                          "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        }
                      },
                      "required": [
                        "key",
                        "operator"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "matchLabels": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
                    "type": "object"
                  }
                },
                "type": "object"
              },
              "type": "array"
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "serviceAccountName": {
          "description": "ServiceAccount (in this namespace) to impersonate when applying.",
          "type": [
            "string",
            "null"
          ]
        },
        "source": {
          "additionalProperties": false,
          "description": "Where the manifests come from. Exactly one of `git`, `oci` or `helm`.",
          "properties": {
            "git": {
              "additionalProperties": false,
              "properties": {
                "path": {
                  "description": "Directory inside the repository to render. Defaults to the root.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "ref": {
                  "additionalProperties": false,
                  "default": {},
                  "description": "Which revision to check out. Defaults to the remote HEAD.",
                  "properties": {
                    "branch": {
                      "description": "Follow the tip of this branch, e.g. `main`.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "commit": {
                      "description": "Pin to this commit (full SHA-1).",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "semver": {
                      "description": "Follow the highest tag in this semver range, as in Flux, e.g.\n`>=1.4.0 <2.0.0`, `1.x` or `~1.4`. Tags may have a `v` prefix. A bare\nversion (`1.4.2`) matches only that version; pre-releases only match a\nrange that names one.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "tag": {
                      "description": "Pin to this tag, e.g. `v1.4.2`.",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": "object"
                },
                "secretRef": {
                  "additionalProperties": false,
                  "description": "Secret with `username` and `password` (or token) for HTTPS.",
                  "properties": {
                    "name": {
                      "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
                      "type": "string"
                    }
                  },
                  "required": [
                    "name"
                  ],
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "url": {
                  "description": "`https://` repository URL. SSH isn't supported; use HTTPS with a\nread-only token (every forge offers one).",
                  "type": "string"
                }
              },
              "required": [
                "url"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "helm": {
              "additionalProperties": false,
              "description": "A chart from a Helm repository. Rendered with `render.helm`, which is\nimplied and may be left out.",
              "properties": {
                "chart": {
                  "description": "Chart name, e.g. `podinfo`.",
                  "type": "string"
                },
                "repo": {
                  "description": "Chart repository: `https://…` (with an `index.yaml`) or `oci://registry/path`.",
                  "type": "string"
                },
                "secretRef": {
                  "additionalProperties": false,
                  "description": "Secret with `username`/`password` for the repository or registry.",
                  "properties": {
                    "name": {
                      "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
                      "type": "string"
                    }
                  },
                  "required": [
                    "name"
                  ],
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "version": {
                  "description": "Exact version or semver range, e.g. `6.7.0` or `>=6.7.0 <7.0.0`. Defaults to the latest.",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "chart",
                "repo"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "oci": {
              "additionalProperties": false,
              "description": "Manifests packaged as an OCI artifact, in the format `flux push artifact`\nproduces: one `application/vnd.cncf.flux.content.v1.tar+gzip` layer\nholding a directory tree.",
              "properties": {
                "insecure": {
                  "description": "Talk to the registry over plain HTTP. Only for registries inside the cluster.",
                  "type": "boolean"
                },
                "path": {
                  "description": "Directory inside the artifact to render. Defaults to the root.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "ref": {
                  "additionalProperties": false,
                  "default": {},
                  "description": "Which artifact to pull. Defaults to the `latest` tag.",
                  "properties": {
                    "digest": {
                      "description": "Pin to this manifest digest, e.g. `sha256:f74f…`.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "semver": {
                      "description": "Pull the highest tag in this semver range, with the same syntax as\n`source.git.ref.semver`. Tags that aren't versions are ignored.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "tag": {
                      "description": "Pull this tag, e.g. `6.7.0`.",
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": "object"
                },
                "secretRef": {
                  "additionalProperties": false,
                  "description": "Secret with `username`/`password`, or a `kubernetes.io/dockerconfigjson`\nSecret (as Flux uses) with an entry for the registry.",
                  "properties": {
                    "name": {
                      "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
                      "type": "string"
                    }
                  },
                  "required": [
                    "name"
                  ],
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "url": {
                  "description": "Artifact repository, e.g. `oci://ghcr.io/org/manifests/app` (without a tag).",
                  "type": "string"
                },
                "verify": {
                  "additionalProperties": false,
                  "description": "Refuse the artifact unless it carries a valid signature. Same shape\nas Flux's `OCIRepository.spec.verify`.",
                  "properties": {
                    "matchOIDCIdentity": {
                      "description": "Keyless (Sigstore Fulcio and Rekor): accept a signature whose\ncertificate matches any of these identities.",
                      "items": {
                        "additionalProperties": false,
                        "description": "Regular expressions for a keyless signer's identity.",
                        "properties": {
                          "issuer": {
                            "description": "The OIDC issuer, e.g. `^https://token\\\\.actions\\\\.githubusercontent\\\\.com$`.",
                            "type": "string"
                          },
                          "subject": {
                            "description": "The certificate subject: a workflow URL or an email address.",
                            "type": "string"
                          }
                        },
                        "required": [
                          "issuer",
                          "subject"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "provider": {
                      "default": "cosign",
                      "description": "Signature format. Only `cosign` so far.",
                      "type": "string"
                    },
                    "secretRef": {
                      "additionalProperties": false,
                      "description": "Secret with cosign public keys: every key ending in `.pub`. A\nsignature by any of them is accepted.",
                      "properties": {
                        "name": {
                          "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
                          "type": "string"
                        }
                      },
                      "required": [
                        "name"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                }
              },
              "required": [
                "url"
              ],
              "type": [
                "object",
                "null"
              ]
            }
          },
          "type": "object"
        },
        "suspend": {
          "default": false,
          "description": "Stop reconciling without deleting anything.",
          "type": "boolean"
        },
        "targetNamespace": {
          "description": "Put every namespaced object in this namespace, overriding what the\nmanifests say. Same meaning as Flux's `targetNamespace`. The namespace\nmust exist or be created by the source.",
          "type": [
            "string",
            "null"
          ]
        },
        "targets": {
          "description": "Which clusters to apply to. Defaults to the local cluster.",
          "items": {
            "additionalProperties": false,
            "properties": {
              "clusterSelector": {
                "additionalProperties": false,
                "description": "Apply to every `BloxCluster` whose labels match (needs `bloxd --mode=hub`).\nAn empty selector (`{}`) matches every cluster. A cluster matched by\nseveral targets gets the first one's overrides.",
                "properties": {
                  "matchExpressions": {
                    "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
                    "items": {
                      "additionalProperties": false,
                      "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
                      "properties": {
                        "key": {
                          "description": "key is the label key that the selector applies to.",
                          "type": "string"
                        },
                        "operator": {
                          "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
                          "type": "string"
                        },
                        "values": {
                          "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        }
                      },
                      "required": [
                        "key",
                        "operator"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "matchLabels": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
                    "type": "object"
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "local": {
                "default": false,
                "description": "Apply to the cluster `bloxd` runs in.",
                "type": "boolean"
              },
              "patches": {
                "description": "Per-target Kustomize patches, applied after `render.kustomize.patches`.",
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "patch": {
                      "description": "Strategic-merge or JSON6902 patch, as in a kustomization.yaml.",
                      "type": "string"
                    },
                    "target": {
                      "additionalProperties": false,
                      "properties": {
                        "annotationSelector": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "group": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "kind": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "labelSelector": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "name": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "namespace": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "version": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "patch"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "substitute": {
                "additionalProperties": {
                  "type": "string"
                },
                "description": "Per-target `${VAR}` overrides, merged over the renderer's `substitute`\n(plain and kustomize renders).",
                "type": "object"
              },
              "values": {
                "description": "Per-target Helm values, deep-merged over `render.helm` values.",
                "type": "object"
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "wait": {
          "additionalProperties": false,
          "description": "If set, `Ready` waits for every applied object to become healthy.",
          "properties": {
            "timeout": {
              "description": "How long to wait for health before marking `Ready=False`. Defaults to `5m`.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        }
      },
      "required": [
        "source"
      ],
      "type": "object"
    },
    "status": {
      "additionalProperties": false,
      "properties": {
        "clusters": {
          "items": {
            "additionalProperties": false,
            "description": "One placed cluster: `local`, or the name of a `BloxCluster`.",
            "properties": {
              "inventory": {
                "additionalProperties": false,
                "description": "Objects applied to this cluster, for clusters the hub applies to\ndirectly. The local cluster's are in `status.inventory`.",
                "properties": {
                  "configMapRef": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "count": {
                    "format": "int64",
                    "type": "integer"
                  },
                  "entries": {
                    "description": "Applied objects. Moves to a ConfigMap (see `configMapRef`) once large (RFC §5.3).",
                    "items": {
                      "additionalProperties": false,
                      "description": "One applied object. `id` is `<namespace>_<name>_<group>_<Kind>`, `v` the API version.",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "v": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "v"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "hooks": {
                    "description": "Hash of the Helm install/upgrade hook objects (`helm.sh/hook`) that were last run. Hooks run\nagain only when this changes, so a Job deleted after it finished isn't started a second time.",
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "count"
                ],
                "type": [
                  "object",
                  "null"
                ]
              },
              "message": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "name": {
                "type": "string"
              },
              "objects": {
                "format": "int64",
                "type": "integer"
              },
              "ready": {
                "type": "boolean"
              },
              "release": {
                "description": "With `spec.rollout`: a fingerprint of the spec and revision last\napplied here, to tell which clusters a rollout has reached.",
                "type": [
                  "string",
                  "null"
                ]
              },
              "revision": {
                "description": "Revision currently applied on this cluster.",
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "name",
              "objects",
              "ready"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "conditions": {
          "items": {
            "additionalProperties": false,
            "description": "Condition contains details for one aspect of the current state of this API Resource.",
            "properties": {
              "lastTransitionTime": {
                "description": "lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.",
                "format": "date-time",
                "type": "string"
              },
              "message": {
                "description": "message is a human readable message indicating details about the transition. This may be an empty string.",
                "type": "string"
              },
              "observedGeneration": {
                "description": "observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.",
                "format": "int64",
                "type": "integer"
              },
              "reason": {
                "description": "reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.",
                "type": "string"
              },
              "status": {
                "description": "status of the condition, one of True, False, Unknown.",
                "type": "string"
              },
              "type": {
                "description": "type of condition in CamelCase or in foo.example.com/CamelCase.",
                "type": "string"
              }
            },
            "required": [
              "lastTransitionTime",
              "message",
              "reason",
              "status",
              "type"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "inventory": {
          "additionalProperties": false,
          "properties": {
            "configMapRef": {
              "type": [
                "string",
                "null"
              ]
            },
            "count": {
              "format": "int64",
              "type": "integer"
            },
            "entries": {
              "description": "Applied objects. Moves to a ConfigMap (see `configMapRef`) once large (RFC §5.3).",
              "items": {
                "additionalProperties": false,
                "description": "One applied object. `id` is `<namespace>_<name>_<group>_<Kind>`, `v` the API version.",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "v": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "v"
                ],
                "type": "object"
              },
              "type": "array"
            },
            "hooks": {
              "description": "Hash of the Helm install/upgrade hook objects (`helm.sh/hook`) that were last run. Hooks run\nagain only when this changes, so a Job deleted after it finished isn't started a second time.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "count"
          ],
          "type": [
            "object",
            "null"
          ]
        },
        "lastAppliedRevision": {
          "description": "Revision whose manifests are currently applied, e.g. `main@sha1:5e1a2c9`.",
          "type": [
            "string",
            "null"
          ]
        },
        "lastAttemptedRevision": {
          "description": "Revision of the most recent attempt, successful or not.",
          "type": [
            "string",
            "null"
          ]
        },
        "lastHandledReconcileAt": {
          "description": "Last `bloxcd.dev/reconcile-requested-at` value that was handled.",
          "type": [
            "string",
            "null"
          ]
        },
        "observedGeneration": {
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "rollout": {
          "additionalProperties": false,
          "description": "Progress of `spec.rollout`.",
          "properties": {
            "clusters": {
              "description": "Placed clusters.",
              "format": "int64",
              "type": "integer"
            },
            "revision": {
              "description": "The revision being rolled out, or last rolled out.",
              "type": "string"
            },
            "updated": {
              "description": "Clusters that run the latest spec and revision and are healthy.",
              "format": "int64",
              "type": "integer"
            },
            "wave": {
              "description": "Wave in progress, counting from 1. Unset once every wave is done.",
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            },
            "waves": {
              "description": "Number of waves with placed clusters in them.",
              "format": "int64",
              "type": "integer"
            }
          },
          "required": [
            "clusters",
            "revision",
            "updated",
            "waves"
          ],
          "type": [
            "object",
            "null"
          ]
        }
      },
      "type": [
        "object",
        "null"
      ]
    }
  },
  "required": [
    "apiVersion",
    "kind",
    "spec"
  ],
  "title": "Blox (bloxcd.dev/v1alpha1)",
  "type": "object"
}
