{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/spectro-cloud/main/json-schema/spectro-cloud-v1-cluster-profile-notification-update-entity-schema.json",
  "title": "v1ClusterProfileNotificationUpdateEntity",
  "description": "Cluster profile notification update request payload",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/spectro-cloud-clusterprofiles-api-openapi.yml#/components/schemas/v1ClusterProfileNotificationUpdateEntity",
  "properties": {
    "packs": {
      "description": "Cluster profile packs array",
      "items": {
        "$ref": "#/$defs/v1PackManifestUpdateEntity"
      },
      "type": "array",
      "uniqueItems": true
    },
    "uid": {
      "description": "Cluster profile uid",
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "v1ManifestRefUpdateEntity": {
      "description": "Manifest update request payload",
      "properties": {
        "content": {
          "description": "Manifest content in yaml",
          "type": "string"
        },
        "name": {
          "description": "Manifest name",
          "type": "string"
        },
        "uid": {
          "description": "Manifest uid",
          "type": "string"
        }
      },
      "required": [
        "name"
      ]
    },
    "v1PackManifestUpdateEntity": {
      "description": "Pack input entity with values to overwrite and manifests for the intial creation",
      "properties": {
        "layer": {
          "description": "Pack layer",
          "type": "string"
        },
        "manifests": {
          "description": "Pack manifests are additional content as part of the profile",
          "items": {
            "$ref": "#/$defs/v1ManifestRefUpdateEntity"
          },
          "type": "array"
        },
        "name": {
          "description": "Pack name",
          "type": "string"
        },
        "registryUid": {
          "description": "Pack registry uid",
          "type": "string"
        },
        "tag": {
          "description": "Pack tag",
          "type": "string"
        },
        "type": {
          "$ref": "#/$defs/v1PackType"
        },
        "uid": {
          "description": "Pack uid",
          "type": "string"
        },
        "values": {
          "description": "Pack values represents the values.yaml used as input parameters either Params OR Values should be used, not both If both applied at the same time, will only use Values",
          "type": "string"
        }
      },
      "required": [
        "name"
      ],
      "type": "object"
    },
    "v1PackType": {
      "default": "spectro",
      "enum": [
        "spectro",
        "helm",
        "manifest",
        "oci"
      ],
      "type": "string"
    }
  }
}