Generate Apple Wallet pass.json
generate_apple_pkpass_specGenerate a production-ready, fully compliant Apple Wallet pass.json specification based on pass type, metadata, colors, barcode, and field values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pass_type | Yes | Pass style type: "boardingPass", "eventTicket", "storeCard", "coupon", or "generic". | |
| description | Yes | Human-readable description of the pass, e.g. "Flight from SFO to WAW". | |
| label_color | No | Label text color as CSS rgb(r, g, b), e.g. "rgb(148, 163, 184)". | |
| transit_type | No | Transit type for boardingPass: "PKTransitTypeAir", "PKTransitTypeTrain", "PKTransitTypeBus", "PKTransitTypeBoat", "PKTransitTypeGeneric". | |
| serial_number | No | Unique pass serial number, e.g. "LOT-89421". | |
| barcode_format | No | Barcode format: "PKBarcodeFormatQR", "PKBarcodeFormatPDF417", "PKBarcodeFormatAztec", "PKBarcodeFormatCode128". | |
| barcode_message | No | Barcode message payload, e.g. "M1HAL/BAHDAN ELO027". | |
| team_identifier | No | Apple Developer 10-character Team ID, e.g. "BAHDAN9988". | |
| background_color | No | Background color as CSS rgb(r, g, b), e.g. "rgb(15, 23, 42)". | |
| foreground_color | No | Foreground text color as CSS rgb(r, g, b), e.g. "rgb(255, 255, 255)". | |
| organization_name | Yes | Name of the pass issuing organization, e.g. "Acme Airlines". | |
| pass_type_identifier | No | Apple Pass Type Identifier starting with "pass.", e.g. "pass.com.example.ticket". |