{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/grepr/json-schema/grepr-presigned-upload-url-response-schema.json",
  "title": "PresignedUploadUrlResponse",
  "description": "Presigned URL for uploading a file",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/grepr-files-api-openapi.yml#/components/schemas/PresignedUploadUrlResponse",
  "properties": {
    "expiresAt": {
      "description": "Timestamp when the presigned URL expires",
      "type": "string"
    },
    "orgId": {
      "description": "Organization ID that owns this upload",
      "type": "string"
    },
    "presignedUrl": {
      "description": "Presigned URL that can be used to upload files",
      "type": "string"
    },
    "uploadId": {
      "description": "Unique identifier for this upload. Pass it as the uploadId of a grepr-uploaded-log-file-source to read the uploaded file.",
      "pattern": "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}",
      "type": "string"
    }
  },
  "type": "object"
}