---
title: "Pack file format"
description: "The reference for Yumina resource packs: the .bundle.json file, what it can carry, how it goes into a card, and how to get it into the Resource Market."
---

# Pack file format

A resource pack (a bundle) is one system that installs into any card: a status bar, an in-story phone, a mood meter, a set of behaviors, a few pieces of lore. It is one JSON file. This is the reference for that file, written for people and for AI tools.

A pack uses the same parts as a world. An entry, a variable or a behavior in a pack has exactly the shape the [World file format](/world-spec/) describes. This reference covers what is different: the wrapper around those parts, and what happens to them when someone installs the pack.

## Two ways to make a pack

**From a card.** Build the system in a card first, in Studio, with your own AI through [Connect your AI](/creator/connect-your-ai), or with the [World file format](/world-spec/). Then open **⋮ → Save as template or pack** and tick the parts. This is the easiest way to test as you go. See [Bundles, forking and export](/creator/advanced/publishing-deep#bundles).

**As a file.** Give your AI the [single-file spec](/pack-spec/download) and ask it for a `.bundle.json`. Import the file on **Library → Bundles → Import Bundle**.

Both end in the same place: a private pack in your library. You can install it into your own cards, or set it to **Public** to list it in the Resource Market for everyone.

## Spec sections

| Section | What it covers |
|---------|---------------|
| [File format](/pack-spec/format) | Every field of the pack file, the fields a file must have, and what each part may hold |
| [Installing into a card](/pack-spec/installing) | What happens on install: new ids, same-name variables, the interface folder, removal |
| [Example: Mood Meter](/pack-spec/example) | A small working pack (an interface, a variable, an entry, a behavior) to copy and change |
| [Import, publish, update](/pack-spec/publishing) | Getting a file into Yumina, publishing it to the market, shipping a new version |
| [Full download](/pack-spec/download) | Everything above as one file for AI tools |
