Raw schema
{
"type": "object",
"properties": {
"files": {
"items": {
"$ref": "#/$defs/FileItem"
},
"title": "Files",
"type": "array"
},
"receipt_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Receipt Id"
},
"envelope": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Envelope"
}
},
"required": [
"files"
],
"$defs": {
"FileItem": {
"additionalProperties": true,
"description": "A file to store. Provide *name* and exactly one data source.",
"properties": {
"name": {
"description": "Filename with extension (e.g. 'photo.jpg', 'notes.txt')",
"title": "Name",
"type": "string"
},
"data_b64": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Base64-encoded file content. Plain text is also accepted and will be stored as UTF-8.",
"title": "Data B64"
},
"content_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MIME type (auto-detected from filename if omitted)",
"title": "Content Type"
},
"local_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Absolute path to file on disk (alternative to data_b64)",
"title": "Local Path"
},
"sandbox_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Path in compute sandbox. Returns a curl command to execute. If curl fails (network blocked), use nukez_upload_chunk to upload in ~64KB chunks instead.",
"title": "Sandbox Path"
},
"source_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "HTTPS URL for server-side fetch (alternative to data_b64)",
"title": "Source Url"
}
},
"required": [
"name"
],
"title": "FileItem",
"type": "object"
}
},
"title": "_nukez_storeArguments"
}