{
  "description": "Release is the Schema for the releases API",
  "properties": {
    "apiVersion": {
      "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
      "type": "string"
    },
    "kind": {
      "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "spec": {
      "description": "ReleaseSpec defines the desired state of Release",
      "properties": {
        "buildRepoCommit": {
          "type": "string"
        },
        "channel": {
          "type": "string"
        },
        "number": {
          "description": "Monotonically increasing release number",
          "minimum": 1,
          "type": "integer"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "status": {
      "description": "ReleaseStatus defines the observed state of Release",
      "properties": {
        "components": {
          "items": {
            "description": "A component of a release",
            "properties": {
              "assets": {
                "items": {
                  "properties": {
                    "arch": {
                      "description": "Architectures of the asset",
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "archive": {
                      "properties": {
                        "sha256": {
                          "description": "The sha256 of the asset, only applies for 'file' store",
                          "type": "string"
                        },
                        "sha512": {
                          "description": "The sha512 of the asset, only applies for 'file' store",
                          "type": "string"
                        },
                        "uri": {
                          "description": "The URI where the asset is located",
                          "type": "string"
                        }
                      },
                      "type": "object",
                      "additionalProperties": false
                    },
                    "description": {
                      "type": "string"
                    },
                    "image": {
                      "properties": {
                        "imageDigest": {
                          "description": "SHA256 digest for the image",
                          "type": "string"
                        },
                        "uri": {
                          "description": "The image repository, name, and tag",
                          "type": "string"
                        }
                      },
                      "type": "object",
                      "additionalProperties": false
                    },
                    "name": {
                      "description": "The asset name",
                      "type": "string"
                    },
                    "os": {
                      "description": "Operating system of the asset",
                      "enum": [
                        "linux",
                        "darwin",
                        "windows"
                      ],
                      "type": "string"
                    },
                    "type": {
                      "description": "The type of the asset",
                      "enum": [
                        "Archive",
                        "Image"
                      ],
                      "type": "string"
                    }
                  },
                  "type": "object",
                  "additionalProperties": false
                },
                "type": "array"
              },
              "gitCommit": {
                "description": "Git commit the component is built from, before any patches",
                "type": "string"
              },
              "gitTag": {
                "description": "Git tag the component is built from, before any patches",
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            },
            "type": "object",
            "additionalProperties": false
          },
          "type": "array"
        },
        "date": {
          "format": "date-time",
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    }
  },
  "type": "object"
}
