{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/talend/json-schema/talend-dynamic-engine-version-schema.json",
  "title": "DynamicEngineVersion",
  "description": "Describe a dynamic engine version",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/talend-dynamic-engine-version-controller-api-openapi.yml#/components/schemas/DynamicEngineVersion",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The id"
    },
    "name": {
      "type": "string",
      "description": "The name"
    },
    "publicationDate": {
      "type": "string",
      "format": "date-time",
      "description": "The publication date"
    },
    "kubeVersion": {
      "type": "string",
      "description": "The supported kubernetes version"
    },
    "releaseNotes": {
      "$ref": "#/$defs/DynamicEngineReleaseNote"
    },
    "services": {
      "type": "array",
      "description": "The list of services",
      "items": {
        "$ref": "#/$defs/DynamicEngineService"
      }
    }
  },
  "$defs": {
    "DynamicEngineReleaseNote": {
      "type": "object",
      "description": "Describe a dynamic engine version release note",
      "properties": {
        "releaseNotesLink": {
          "type": "string",
          "description": "The link to the release note"
        },
        "changelogLink": {
          "type": "string",
          "description": "The link to the changelog"
        }
      }
    },
    "DynamicEngineService": {
      "type": "object",
      "description": "Describe a dynamic engine version service",
      "properties": {
        "id": {
          "type": "string",
          "description": "The id"
        },
        "feature": {
          "type": "string",
          "description": "The feature"
        },
        "version": {
          "type": "string",
          "description": "The version"
        },
        "flag": {
          "$ref": "#/$defs/Flag"
        }
      }
    },
    "Flag": {
      "type": "object",
      "properties": {
        "key": {
          "type": "string"
        },
        "deploymentType": {
          "type": "string",
          "enum": [
            "helm",
            "kubectl",
            "unknown",
            "ALL"
          ]
        }
      }
    }
  }
}