{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/trajectory/json-schema/trajectory-artifact-download-schema.json",
  "title": "ArtifactDownload",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/trajectory-artifacts-api-openapi.yml#/components/schemas/ArtifactDownload",
  "properties": {
    "artifact_id": {
      "type": "string",
      "title": "Artifact Id",
      "description": "Stable file ID, resolved within the owning organization."
    },
    "media_type": {
      "type": "string",
      "title": "Media Type",
      "description": "MIME type of the stored file."
    },
    "size_bytes": {
      "type": "integer",
      "title": "Size Bytes",
      "description": "Size of the original file in bytes."
    },
    "md5": {
      "type": "string",
      "title": "Md5",
      "description": "GCS-verified, base64-encoded MD5 checksum of the file."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At",
      "description": "Time the file metadata was first published."
    },
    "download_url": {
      "type": "string",
      "title": "Download Url",
      "description": "Signed file download URL, valid for five minutes."
    }
  },
  "type": "object",
  "required": [
    "artifact_id",
    "media_type",
    "size_bytes",
    "md5",
    "created_at",
    "download_url"
  ]
}