{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/coincover/main/json-schema/coincover-partner-secure-file-request-schema.json", "title": "PartnerSecureFileRequest", "x-generated": "2026-10-09", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/_original/coincover-wallet-provider-openapi-openapi.json#/components/schemas/PartnerSecureFileRequest", "type": "object", "required": [ "public_key", "file" ], "properties": { "public_key": { "type": "string", "pattern": "^[0-9a-fA-F]+$", "minLength": 32, "maxLength": 4096, "description": "Public key in hex format used to encrypt the file" }, "file": { "type": "string", "format": "binary", "description": "Encrypted file to upload (e.g. a ZIP archive)" }, "metadata": { "type": "object", "description": "Optional metadata about the file", "properties": { "description": { "type": "string", "description": "Human-readable description of the file" }, "content_type": { "type": "string", "description": "MIME type of the original file" }, "original_filename": { "type": "string", "description": "Original filename of the file" } } } } }