{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ditto-audio/json-schema/ditto-audio-create-release-asset-dto-schema.json",
  "title": "CreateReleaseAssetDto",
  "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/CreateReleaseAssetDto",
  "type": "object",
  "properties": {
    "platform": {
      "type": "string",
      "description": "Target platform"
    },
    "arch": {
      "type": "string",
      "default": "universal"
    },
    "fileName": {
      "type": "string"
    },
    "fileSize": {
      "type": "number",
      "description": "File size in bytes"
    },
    "sha256": {
      "type": "string",
      "description": "SHA-256 hash for integrity"
    },
    "downloadUrl": {
      "type": "string",
      "description": "Absolute download URL or relative path (combined with assetBaseUrl)"
    },
    "mimeType": {
      "type": "string"
    },
    "signature": {
      "type": "string",
      "description": "Sparkle/EdDSA signature for macOS auto-update"
    }
  },
  "required": [
    "platform",
    "fileName",
    "downloadUrl"
  ]
}