{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agent-native-com/json-schema/agent-native-com-desktop-download-manifest-schema.json",
  "title": "DesktopDownloadManifest",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agent-native-com-openapi.json#/components/schemas/DesktopDownloadManifest",
  "type": "object",
  "required": [
    "version",
    "tag",
    "pub_date",
    "assets"
  ],
  "properties": {
    "version": {
      "type": "string"
    },
    "tag": {
      "type": "string"
    },
    "pub_date": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "notes": {
      "type": "string"
    },
    "assets": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DesktopAsset"
      }
    }
  },
  "$defs": {
    "DesktopAsset": {
      "type": "object",
      "required": [
        "name",
        "url",
        "size",
        "kind"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "size": {
          "type": "integer",
          "minimum": 0
        },
        "kind": {
          "type": "string",
          "enum": [
            "mac-arm64",
            "mac-x64",
            "windows-x64",
            "windows-arm64",
            "linux-tar-x64",
            "linux-tar-arm64",
            "linux-appimage-x64",
            "linux-appimage-arm64",
            "linux-deb-x64",
            "linux-deb-arm64",
            "unknown"
          ]
        }
      }
    }
  }
}