{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/instaclustr/json-schema/instaclustr-application-version-list-v2-schema.json",
  "title": "ApplicationVersionListV2",
  "description": "Object containing all applications and their versions relating to a primary application.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/instaclustr-apache-kafka-connect-provisioning-v2-api-openapi.yml#/components/schemas/ApplicationVersionListV2",
  "type": "object",
  "properties": {
    "applicationVersions": {
      "type": "array",
      "description": "List of application versions.",
      "items": {
        "$ref": "#/$defs/ApplicationVersionsV2"
      }
    }
  },
  "$defs": {
    "ApplicationEnumV2": {
      "type": "string",
      "description": "Name of an application, including primary and addon types.",
      "enum": [
        "KAFKA",
        "KAFKA_CONNECT",
        "KAFKA_SCHEMA_REGISTRY",
        "KAFKA_REST_PROXY",
        "KARAPACE_SCHEMA_REGISTRY",
        "KARAPACE_REST_PROXY",
        "APACHE_ZOOKEEPER",
        "APACHE_CASSANDRA",
        "CASSANDRA_SHOTOVER_PROXY",
        "SPARK",
        "CADENCE",
        "OPENSEARCH",
        "OPENSEARCH_DASHBOARDS",
        "REDIS",
        "VALKEY",
        "POSTGRESQL",
        "PGBOUNCER",
        "MONGODB",
        "DEBEZIUM_CONNECTOR_CASSANDRA",
        "CLICKHOUSE"
      ]
    },
    "ApplicationVersionsV2": {
      "type": "object",
      "properties": {
        "application": {
          "$ref": "#/$defs/ApplicationEnumV2"
        },
        "versions": {
          "type": "array",
          "description": "List of sematic versions.",
          "items": {
            "pattern": "[0-9]+\\.[0-9]+\\.[0-9]+",
            "type": "string"
          }
        }
      },
      "description": "Object containing a single application and its available versions."
    }
  }
}