create_xmp_packet
Convert a metadata object into a standalone XMP packet with validation for lifestyle, product, or orbit schemas, and optionally save it to Supabase Storage.
Instructions
Create standalone XMP metadata packet from metadata object with validation
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metadata | Yes | Metadata object to convert to XMP format (supports lifestyle, product, and orbit schemas) | |
| output_path | No | Path to save XMP file in Supabase Storage (optional, e.g., "metadata/sample.xmp") | |
| schema_type | No | Schema type for metadata validation (auto-detected if not specified) | |
| pretty_print | No | Format XMP for readability with indentation (default: true) | |
| include_wrappers | No | Include XMP packet wrappers (default: true) |