{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/spectro-cloud/main/json-schema/spectro-cloud-v1-workspace-clusters-workload-stateful-sets-schema.json", "title": "v1WorkspaceClustersWorkloadStatefulSets", "description": "Workspace clusters workload statefulsets summary", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/spectro-cloud-dashboard-api-openapi.yml#/components/schemas/v1WorkspaceClustersWorkloadStatefulSets", "properties": { "clusters": { "items": { "$ref": "#/$defs/v1WorkspaceClusterWorkloadStatefulSets" }, "type": "array" }, "metadata": { "$ref": "#/$defs/v1ObjectMetaInputEntity" } }, "type": "object", "$defs": { "v1ClusterWorkloadMetadata": { "description": "Cluster workload metadata", "properties": { "creationTimestamp": { "$ref": "#/$defs/v1Time" }, "entity": { "$ref": "#/$defs/v1ClusterWorkloadRef" }, "labels": { "additionalProperties": { "type": "string" }, "type": "object" }, "namespace": { "type": "string" } }, "type": "object" }, "v1ClusterWorkloadRef": { "description": "Cluster workload ref", "properties": { "kind": { "type": "string" }, "name": { "type": "string" }, "uid": { "type": "string" } }, "type": "object" }, "v1ClusterWorkloadReplicaStatus": { "description": "Cluster workload replica status", "properties": { "available": { "format": "int32", "type": "integer", "x-omitempty": false }, "ready": { "format": "int32", "type": "integer", "x-omitempty": false }, "total": { "format": "int32", "type": "integer", "x-omitempty": false }, "updated": { "format": "int32", "type": "integer", "x-omitempty": false } }, "type": "object" }, "v1ClusterWorkloadStatefulSet": { "description": "Cluster workload statefulset summary", "properties": { "metadata": { "$ref": "#/$defs/v1ClusterWorkloadMetadata" }, "status": { "$ref": "#/$defs/v1ClusterWorkloadStatefulSetStatus" } }, "type": "object" }, "v1ClusterWorkloadStatefulSetStatus": { "description": "Cluster workload statefulset status", "properties": { "replicas": { "$ref": "#/$defs/v1ClusterWorkloadReplicaStatus" } }, "type": "object" }, "v1ObjectMetaInputEntity": { "description": "ObjectMeta input entity for object creation", "properties": { "annotations": { "additionalProperties": { "type": "string" }, "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", "type": "object" }, "labels": { "additionalProperties": { "type": "string" }, "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", "type": "object" }, "name": { "description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names", "type": "string" } }, "type": "object" }, "v1RelatedObject": { "description": "Object for which the resource is related", "properties": { "kind": { "enum": [ "spectrocluster", "machine", "cloudconfig", "clusterprofile", "pack", "appprofile", "appdeployment", "edgehost" ], "type": "string" }, "name": { "type": "string" }, "uid": { "type": "string" } }, "type": "object" }, "v1Time": { "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "format": "date-time", "type": "string" }, "v1WorkspaceClusterWorkloadStatefulSets": { "description": "Workspace cluster workload statefulsets summary", "properties": { "metadata": { "$ref": "#/$defs/v1RelatedObject" }, "statefulSets": { "items": { "$ref": "#/$defs/v1ClusterWorkloadStatefulSet" }, "type": "array" } }, "type": "object" } } }