{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ditto-audio/json-schema/ditto-audio-create-release-dto-schema.json",
  "title": "CreateReleaseDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ditto-audio-releases-api-openapi.yml#/components/schemas/CreateReleaseDto",
  "type": "object",
  "properties": {
    "version": {
      "type": "string",
      "description": "Semver version string"
    },
    "productId": {
      "type": "string"
    },
    "channel": {
      "type": "string",
      "enum": [
        "stable",
        "beta",
        "alpha"
      ],
      "default": "stable"
    },
    "releaseNotes": {
      "type": "string",
      "description": "Markdown release notes"
    },
    "minVersion": {
      "type": "string",
      "description": "Minimum version required to update directly to this release"
    },
    "isMandatory": {
      "type": "boolean",
      "description": "Force clients to update (critical fix)",
      "default": false
    }
  },
  "required": [
    "version"
  ]
}