{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vaquill-ai/json-schema/vaquill-ai-upload-part-link-schema.json",
  "title": "UploadPartLink",
  "description": "Where to PUT one part, and how long that stays true.\n\n`expiresAt` is on every part rather than on the session, because a large\nupload outlives a single signature: a client re-signs the parts it has not\nfinished through `uploads.presignPart` and keeps the ones it has.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vaquill-ai-uploads-api-openapi.yml#/components/schemas/UploadPartLink",
  "properties": {
    "partNumber": {
      "type": "integer",
      "minimum": 1.0,
      "title": "Partnumber",
      "description": "Which part this URL is for. Parts are numbered from 1 and must be uploaded under the number given here."
    },
    "url": {
      "type": "string",
      "title": "Url",
      "description": "Presigned URL to `PUT` this part's bytes to, directly to storage. No bytes pass through the Vaquill API. Keep the `ETag` the response returns."
    },
    "expiresAt": {
      "type": "string",
      "format": "date-time",
      "title": "Expiresat",
      "description": "When this part URL stops working (RFC 3339). Re-sign an expired part with `uploads.presignPart`; parts already uploaded stay valid."
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "partNumber",
    "url",
    "expiresAt"
  ]
}