{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-service-fabric/json-schema/microsoft-azure-service-fabric-cluster-code-versions-list-result-schema.json",
  "title": "ClusterCodeVersionsListResult",
  "description": "The list results of the Service Fabric runtime versions.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-azure-service-fabric-clusters-api-openapi.yml#/components/schemas/ClusterCodeVersionsListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ClusterCodeVersionsResult"
      }
    },
    "nextLink": {
      "type": "string",
      "description": "The URL to use for getting the next set of results."
    }
  },
  "$defs": {
    "ClusterCodeVersionsResult": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The identification of the result"
        },
        "name": {
          "type": "string",
          "description": "The name of the result"
        },
        "type": {
          "type": "string",
          "description": "The result resource type"
        },
        "properties": {
          "$ref": "#/$defs/ClusterVersionDetails"
        }
      },
      "description": "The result of the Service Fabric runtime versions"
    },
    "ClusterEnvironment": {
      "type": "string",
      "description": "Cluster operating system, the default will be Windows",
      "enum": [
        "Windows",
        "Linux"
      ]
    },
    "ClusterVersionDetails": {
      "type": "object",
      "properties": {
        "codeVersion": {
          "type": "string",
          "description": "The Service Fabric runtime version of the cluster."
        },
        "supportExpiryUtc": {
          "type": "string",
          "description": "The date of expiry of support of the version."
        },
        "environment": {
          "$ref": "#/$defs/ClusterEnvironment"
        }
      },
      "description": "The detail of the Service Fabric runtime version result"
    }
  }
}