# Agent Chart

> The Agent Chart standard: what a chart is, who made it, what it adds to a world, how each part is proven and undone; the catalog and the right of use; every field, rule and version.

An Agent Chart is what a person adds to their world, from their own folder or from a charts repository: an agent, a team, a module, a skill, a quest pack or a universe. A chart is a folder: `chart.json` and the files it names. It says what it is and who made it, where it runs, the parts it adds (each one an executor from a closed list, run after the player agrees, with the read-only check that proves it), how each part is undone, and how the game sees that it is alive. It never holds code that runs.

| | |
|---|---|
| **Standard** | `alta.chart/0.1` (a repository's index: `alta.index/0.1`; the list a machine installs from: `alta.catalog/0.2`; the right to use a paid chart: `alta.license/0.2`) |
| **File** | `chart.json`, in a folder named after the chart's `id` |
| **Create it** | `alta chart new my-chart --kind quest-pack` |
| **Check it** | `alta lint my-chart` |
| **Share it** | `alta package my-chart` (an archive and its digest) · `alta publish my-chart` (the `source` block, from git) |
| **JSON Schema** | [alta.chart.schema.json](https://github.com/altasystem-ai/alta/blob/main/docs/standards/schemas/alta.chart.schema.json) |
| **Full specification** | [alta.chart/0.1](https://docs.altasystem.ai/reference/advanced/specs/alta-chart-0.1) |

## Minimal example

The smallest chart that passes `alta lint`: a quest pack, data only, that adds one quest to the `core` branch and installs nothing on the machine.

```json [my-chart/chart.json]
{
  "schema": "alta.chart/0.1",
  "id": "my-chart",
  "version": "0.1.0",
  "kind": "quest-pack",
  "title": { "en": "My first chart", "fr": "Ma première chart" },
  "summary": {
    "en": "One quest that adds to the core branch: the smallest chart that passes alta lint.",
    "fr": "Une quête qui s'ajoute à la branche core : la plus petite chart qui passe alta lint."
  },
  "author": "you",
  "license": "MIT",
  "price": "free",
  "origin": "alta",
  "support": {
    "platforms": [
      { "os": "macos" },
      { "os": "linux" },
      { "os": "windows" }
    ],
    "hosted": "ok"
  },
  "capabilities": [],
  "package": { "type": "data" },
  "parts": [{ "id": "add", "do": "item.data", "proof": [] }],
  "proofs": { "ready": [{ "type": "chart", "id": "my-chart" }] },
  "branch": {
    "schema": "alta.quests/0.3",
    "branch": "core",
    "quests": [
      {
        "id": "my-chart-welcome",
        "uid": "core.my-chart.welcome",
        "act": 1,
        "giver": "daemon",
        "main": false,
        "title": {
          "en": "My first chart: first steps",
          "fr": "Ma première chart : premiers pas"
        },
        "summary": {
          "en": "Read what this chart adds, then say it is done.",
          "fr": "Lis ce que cette chart ajoute, puis dis que c'est fait."
        },
        "reward": { "xp": 30 },
        "steps": [
          {
            "id": "read",
            "kind": "manual",
            "human": "judge",
            "title": {
              "en": "Read what this pack is about",
              "fr": "Lire de quoi parle ce pack"
            }
          }
        ]
      }
    ]
  }
}
```

## Fields

### Chart

`kind` and `package` go together: a `quest-pack` or a `universe` is data only (`package.type: "data"`, parts of `item.data` only, no capability); an `agent`, a `team`, a `module` or a `skill` adds things to the machine through its parts. An `origin: "community"` chart comes from any git repository, needs its `source`, and is never `verified`.

| Field | Type | Required | Description |
|---|---|---|---|
| `$comment` | string | no | A note for people; ignored and never shown. |
| `schema` | "alta.chart/0.1" | yes | The standard: `alta.chart/0.1`. |
| `id` | string | yes | The chart id, also the folder's name. |
| `version` | string | yes | Its version, semver. |
| `kind` | enum | yes | What it installs: agent, team, module, package, skill, system, quest-pack, universe, cosmetic. |
| `status` | enum | no | `ready` (default) or `draft` (refused at install). |
| `title` | text2 | yes | Its name, in English and French: { "en": …, "fr": … }. |
| `summary` | text2 | yes | What it does, in a sentence, in English and French: { "en": …, "fr": … }. |
| `why` | text2 | no | Why someone would install it, in English and French: { "en": …, "fr": … }. |
| `author` | string | yes | Who made it. |
| `license` | string | yes | Its license, e.g. `MIT`. |
| `price` | enum | yes | `free` or `paid`; the amount lives in the catalog. |
| `origin` | enum | yes | `alta` (made by Alta) or `community` (from any git repository). |
| `verified` | boolean | no | Set by Alta's review only; never on a community chart. |
| `privacy` | enum | no | `personal` (default: the owner's own, kept private, never published) or `shareable` (may be published: no secret, token, home path, e-mail or private keyword in it). Agent, team, module, package and skill charts only. |
| `source` | chartSource | no | Where a community chart comes from. Required on a community chart. |
| `locality` | enum | no | What it needs of the network at run time: local, local-first, cloud. local: works with the network off; local-first: works offline, some extras go online; cloud: needs the services listed. Absent: not declared. Never on a data chart. |
| `external` | object | no | The online services it talks to, each with its hosts, phase, account and the data that leaves the machine. |
| `external.$comment` | string | no | A note for people; ignored and never shown. |
| `external.services` | object[] | yes | The services, 24 at most. |
| `external.services.$comment` | string | no | A note for people; ignored and never shown. |
| `external.services.id` | string | yes | The service id, unique in the chart. |
| `external.services.name` | string | yes | Its name, the brand (not translated), 1 to 60 characters. |
| `external.services.purpose` | text2 | yes | Why the chart talks to it, one sentence, in English and French: { "en": …, "fr": … }. |
| `external.services.homepage` | string | no | Its web page, an `https://` address without credentials. |
| `external.services.hosts` | string[] | yes | The host names it reaches, lower case; one leading "*." allowed; no IP, port or path (https is implied). 1 to 16. |
| `external.services.phase` | enum[] | yes | When it is reached: install, run (install: a download once; run: while the chart works). |
| `external.services.required` | boolean | no | False: an optional extra; the chart works without it. Default true. |
| `external.services.account` | enum | no | Does the owner need an account there: none, free, paid (default none). |
| `external.services.signin` | string | no | The sign-in of this chart that connects this account. |
| `external.services.data` | enum[] | no | What leaves the machine at run time: none, prompts, files, messages, contacts, calendar, audio, images, location, identifiers, usage. |
| `external.services.when` | when | no | Only when a value is one of a list. |
| `publisher` | object | no | Who publishes the chart; never an e-mail. |
| `publisher.$comment` | string | no | A note for people; ignored and never shown. |
| `publisher.id` | string | yes | The publisher id. |
| `publisher.name` | string | yes | Its name, 1 to 60 characters. |
| `publisher.url` | string | no | Its web page, an `https://` address. |
| `homepage` | string | no | Its web page, an `https://` address without credentials. |
| `keywords` | string[] | no | Words to find it, 8 at most. |
| `categories` | enum[] | no | Where it is listed, 1 to 3 of: assistant, writing, research, media, home, work, developer, system, game. |
| `icon` | string | no | A .png or .webp file of the chart, 256 KB at most (never SVG). |
| `changes` | text2 | no | What changed in this version, in plain words, in English and French: { "en": …, "fr": … }. |
| `support` | support | yes | Where it runs: systems, hosted, needs. |
| `resources` | resources | no | What it needs of the machine, like Kubernetes requests. |
| `requires` | object | no | What must be there first. |
| `requires.$comment` | string | no | A note for people; ignored and never shown. |
| `requires.alta` | string | no | The Alta OS version range. |
| `requires.openclaw` | string | no | The OpenClaw version range. |
| `requires.charts` | object[] | no | Other charts, each with a version range. |
| `requires.charts.$comment` | string | no | A note for people; ignored and never shown. |
| `requires.charts.id` | string | yes | The chart id. |
| `requires.charts.version` | string | yes | A range: >=, >, <=, <, =, ^, ~. |
| `requires.charts.optional` | boolean | no | True: installed only when the owner wants it. |
| `requires.skills` | string[] | no | Quest skills of the game the player must have. |
| `capabilities` | enum[] | yes | What the server must be allowed to do: exactly those of the executors the chart names. |
| `needs` | map of need | no | What it needs (a mind, a channel), by id; the kind comes from the id (`mind`, `channel`, `<kind>-<name>`). |
| `values` | map of value | no | What the owner chooses at install, by id. |
| `signins` | map of signin | no | The accounts and devices the chart connects, by id. |
| `agents` | agent[] | no | The agents it creates. |
| `skills` | object[] | no | Skills shipped with the chart ({ slug, path }) or pinned ({ ref, version, sha256 }). |
| `automations` | automation[] | no | Its automations, all created off. |
| `services` | service[] | no | Services it owns. |
| `uses` | string[] | no | Services another chart owns, as "service:<id>". |
| `models` | string[] | no | Local models it pulls (the targets of its model.pull repairs). |
| `hooks` | map of hook | no | The points where the owner plugs their own commands or text, by id. |
| `package` | object | no | Where its files come from: `chart` (default), alta-module (Alta's own scripts), openclaw-skill, or data. |
| `package.type` | enum | yes | The package type. |
| `parts` | part[] | yes | Its units of work, each with plan, apply and check. |
| `proofs` | object | yes | How it is proven: installed, ready, alive. |
| `proofs.$comment` | string | no | A note for people; ignored and never shown. |
| `proofs.installed` | check[] | no | The checks that say its files and programs are there. |
| `proofs.ready` | check[] | yes | The checks that say it works once, end to end. |
| `proofs.alive` | alive[] | no | The checks that say it still works, read by the guard loop. |
| `repairs` | repair[] | no | How some failures can be fixed; each may be allowed by the owner. |
| `spawn` | object | no | What appears on the map once it is installed. |
| `branch` | object | no | Quests it brings (a quest-pack chart). |
| `universe` | object | no | The universe pack it carries (a universe chart). |
| `scene` | object | no | The scene played when it is installed. |
| `review` | object | no | Alta's review notes. |

### Online services

What the chart needs outside the machine, in two keys: [`locality`](#chart-locality), one word people filter on (`local`, `local-first` or `cloud`), and [`external.services`](#chart-external-services), the online services behind it: why the chart talks to each one, its hosts, when (`install`, `run`), whether an account is needed, and what leaves the machine. `alta lint` computes the floor from what the chart names and refuses a chart that says it is more local than that, or a network use no service covers. Data charts (`quest-pack`, `universe`, `cosmetic`) say neither key.

```json [chart.json: external.services[0]]
{
  "id": "telegram",
  "name": "Telegram",
  "purpose": {
    "en": "The agent writes to you on Telegram.",
    "fr": "L'agent t'écrit sur Telegram."
  },
  "hosts": [
    "api.telegram.org"
  ],
  "phase": [
    "run"
  ],
  "account": "free",
  "data": [
    "messages"
  ]
}
```

The levels, the floor and what is not checked: [Locality and online services](https://docs.altasystem.ai/charts/concepts/locality). Step by step: [Say what your chart needs online](https://docs.altasystem.ai/charts/guides/declare-services).

### Publisher

Who publishes the chart, as a [charts repository](https://docs.altasystem.ai/marketplace/) lists it: [`publisher.id`](#chart-publisher-id) (lower-case letters, digits and dashes), a `name` and an https `url`, never an e-mail address. The index gives each publisher a tier (`official`, `verified`, `community`), which becomes the chart's [badge](https://docs.altasystem.ai/marketplace/badges); a chart never declares its own tier. Without `publisher`, the index uses `author`. `homepage`, `keywords`, `categories` (a closed list), `icon` and `changes` help people find a chart and judge a new version; all are optional.

```json [chart.json: publisher]
{
  "id": "example-author",
  "name": "Example Author",
  "url": "https://example.com"
}
```

### Source

| Field | Type | Required | Description |
|---|---|---|---|
| `$comment` | string | no | A note for people; ignored and never shown. |
| `git` | string | yes | The repository, an `https://` address without credentials. |
| `ref` | string | no | The branch or tag it was read from. |
| `commit` | string | yes | The full commit (40 hexadecimal characters). |
| `sha256` | string | yes | The digest of the chart tree, printed by `alta package` (64 hexadecimal characters). |

### Part

| Field | Type | Required | Description |
|---|---|---|---|
| `$comment` | string | no | A note for people; ignored and never shown. |
| `id` | string | yes | The part id, unique in the chart. |
| `title` | text2 | no | Its title on the plan card, in English and French: { "en": …, "fr": … }. |
| `do` | enum | yes | The executor, from the closed list. |
| `args` | map of string | number | boolean | no | Its arguments: literals, or "$<value>". |
| `requires` | string[] | no | Parts, sign-ins ("signin:<id>") and needs ("need:<id>": its provider connected) that come first. |
| `when` | when | no | Only when a value is one of a list. |
| `resources` | resources | no | What it needs of the machine. |
| `undo` | enum | no | How it is undone: `auto`, `command`, `archive` or `none`. |
| `proof` | check[] | yes | The read-only checks that prove it. |

### Agent

| Field | Type | Required | Description |
|---|---|---|---|
| `$comment` | string | no | A note for people; ignored and never shown. |
| `id` | string | yes | The agent's id, unique in the chart. |
| `name` | text2 | yes | Its name, in English and French: { "en": …, "fr": … }. |
| `emoji` | string | no | Its emoji. |
| `role` | enum | no | Its role: daemon, architect, operator, reviewer, guardian. |
| `domain` | string | no | What it takes care of, in a few words. |
| `files` | string[] | yes | The text files given to the agent, under agents/<id>/ (SOUL.md, AGENTS.md…); never run. |
| `model` | string | object | yes | Its mind: "need:<id>" (a mind need), or pinned: { "from": "$<value>" }, { "decision": "<id>" } or { "id": "provider/model" }. |
| `model.from` | string | no | A value reference. |
| `model.decision` | string | no | A decision of the engine. |
| `model.id` | string | no | A model id, provider/model. |
| `fallbacks` | string[] | no | Models tried when the first one fails, provider/model. |
| `channel` | string | object | no | Where it talks to the owner: "need:<id>" (a channel need), or pinned. |
| `channel.$comment` | string | no | A note for people; ignored and never shown. |
| `channel.kind` | enum | yes | `telegram`, `whatsapp` or `none`. |
| `channel.session` | string | no | The session it uses on that channel. |
| `permissions` | object | yes | What it may do: tools allowed and denied (deny wins), programs, channels. |
| `permissions.$comment` | string | no | A note for people; ignored and never shown. |
| `permissions.tools` | object | yes | Tools it may and may not use. |
| `permissions.tools.$comment` | string | no | A note for people; ignored and never shown. |
| `permissions.tools.allow` | string[] | yes | Allowed tools. |
| `permissions.tools.deny` | string[] | yes | Denied tools; deny always wins. |
| `permissions.exec` | object | no | Programs it may run: `deny` (default), or an allowlist of files of its own folder (Alta's charts only). |
| `permissions.exec.$comment` | string | no | A note for people; ignored and never shown. |
| `permissions.exec.mode` | enum | yes | `deny` or `allowlist`. |
| `permissions.exec.allow` | object[] | no | The programs, each a file of the agent's folder. |
| `permissions.exec.allow.$comment` | string | no | A note for people; ignored and never shown. |
| `permissions.exec.allow.bin` | string | yes | The program's path in the agent's folder. |
| `permissions.channels` | enum | string[] | no | Channels it may write to: "need:<id>" (a channel need), or pinned (telegram, whatsapp). |
| `wake` | string[] | no | Keys of the chart's automations that wake it. |
| `watch` | object | no | Alta's five-function wiring (Alta's charts only). |
| `instance` | string[] | no | Paths that are the owner's data, never shipped. |
| `when` | when | no | Only when a value is one of a list. |

### Value

A value the owner gives when the chart is installed (a choice, a text, a number), used by the parts as `$name`.

| Field | Type | Required | Description |
|---|---|---|---|
| `$comment` | string | no | A note for people; ignored and never shown. |
| `kind` | enum | yes | The kind of the value: text, choice, email, path, number, boolean. |
| `label` | text2 | yes | The question the owner sees, in English and French: { "en": …, "fr": … }. |
| `hint` | text2 | no | One sentence under the question, in English and French: { "en": …, "fr": … }. |
| `required` | boolean | no | False: the owner may leave it empty. Default true. |
| `default` | string | number | boolean | no | The value when the owner changes nothing. |
| `from` | string | no | Prefilled from the owner's answers or profile: `answers.<key>` or `owner.<key>` (`owner.mind`, `owner.channel`: the player's default provider). |
| `min` | number | no | Text: shortest length; number: lowest value. |
| `max` | number | no | Text: longest length; number: highest value. |
| `pattern` | string | no | Text: an anchored pattern (`^…$`), 200 characters at most. |
| `choices` | object[] | no | A choice value: its choices, the shape of a choice step's. |
| `choices.id` | string | yes | The choice id. |

### Need

Something the chart needs, a mind or a channel, bound by the owner to a provider; named elsewhere as `"need:<id>"`. The kind comes from the id (`mind`, `channel`, `<kind>-<name>`); `{}` or `true` takes any provider and the owner's own choice. See [Needs](https://docs.altasystem.ai/charts/concepts/needs).

| Field | Type | Required | Description |
|---|---|---|---|
| `$comment` | string | no | A note for people; ignored and never shown. |
| `kind` | enum | no | The kind (mind, channel). Only when the id does not say it: "mind", "channel" and "<kind>-<name>" do. |
| `why` | text2 | no | Why it needs it, shown on the consent screen (absent: the default sentence of its kind), in English and French: { "en": …, "fr": … }. |
| `accept` | enum[] | no | The providers allowed (absent: all of its kind): claude, codex, local, telegram, world. |
| `model` | string | no | An exact model, provider/model (a mind only); excludes accept. |
| `features` | enum[] | no | What the provider must offer: a mind tools, vision, long-context, json; a channel push, reply, files, voice, buttons. |
| `prefer` | enum[] | no | The recommendation order when the player must choose. |
| `reuse` | enum | no | `ask`: always ask the player. Absent: reuse the player's own choice. |
| `optional` | boolean | no | True: the chart works without it. |

### Sign-in

A sign-in the chart needs, done through a connection executor; never a secret in the chart.

| Field | Type | Required | Description |
|---|---|---|---|
| `$comment` | string | no | A note for people; ignored and never shown. |
| `use` | enum | yes | The connection executor: signin.cli, setup.other-signin, channel.connect, channel.pair-approve, connector.connect, tablet.pair. |
| `args` | map of string | number | boolean | no | The executor's arguments, never a secret; a value is used as "$<id>". |
| `proof` | check | yes | The read-only check that proves it; `signin.cli` is proven by { "type": "signin", "tool": … }. |
| `why` | text2 | yes | One sentence the consent screen shows, in English and French: { "en": …, "fr": … }. |
| `optional` | boolean | no | True: the owner may skip it. |
| `when` | when | no | Only when a value is one of a list. |
| `requires` | string[] | no | Another sign-in first, as "signin:<id>". |

### Automation

What wakes an agent of the chart: a schedule and a message from a file of the chart.

| Field | Type | Required | Description |
|---|---|---|---|
| `$comment` | string | no | A note for people; ignored and never shown. |
| `key` | string | yes | Its key, unique on the machine. |
| `title` | text2 | yes | Its name, in English and French: { "en": …, "fr": … }. |
| `agent` | string | yes | The agent it wakes: an agent of the chart, or main. |
| `schedule` | object | yes | When: { cron, tz }, { daily: "HH:MM" }, { every: "1h" } or { trigger } (Alta's charts only). |
| `schedule.cron` | string | no | Five cron fields. |
| `schedule.tz` | string | no | `owner`, or an IANA time zone. |
| `schedule.daily` | string | no | HH:MM, or a value reference. |
| `schedule.every` | string | no | A duration of 5m or more. |
| `schedule.trigger` | string | no | The file `automations/<key>.trigger.js`. |
| `message` | string | yes | The message file: automations/<key>.message.md. |
| `spends` | enum | yes | `none`, or `model`: a run may cost a model call. |
| `when` | when | no | Only when a value is one of a list. |

### Service

A long-running program of the chart, and how the game sees it run.

| Field | Type | Required | Description |
|---|---|---|---|
| `$comment` | string | no | A note for people; ignored and never shown. |
| `id` | string | yes | The service id. |
| `label` | string | map of string | yes | The launchd label or the systemd unit, or one per system. |
| `port` | integer | no | Its port on 127.0.0.1. |
| `health` | check | no | How it is proven up; default { "type": "service", "id": … }. |
| `when` | when | no | Only when a value is one of a list. |

### Hook

A point where another chart or the owner can add to this one.

| Field | Type | Required | Description |
|---|---|---|---|
| `$comment` | string | no | A note for people; ignored and never shown. |
| `kind` | enum | yes | Its kind: value, section, record, addendum, extend. |
| `contract` | 1 | yes | The contract version: 1. |
| `doc` | string | yes | What the owner may put there. |
| `args` | object | no | Its arguments. |
| `pattern` | string | no | A pattern the filler matches. |
| `default` | object | no | Its default. |
| `target` | string | no | What it fills. |
| `field` | string | no | The field it fills. |
| `maxLines` | integer | no | At most this many lines. |
| `timeoutS` | integer | no | A command's time limit, in seconds. |

### Alive proof

A cheap check, repeated, that says the chart still works.

| Field | Type | Required | Description |
|---|---|---|---|
| `$comment` | string | no | A note for people; ignored and never shown. |
| `id` | string | yes | The proof id. |
| `check` | check | yes | A cheap read-only check. |
| `every` | string | no | Its period, 5m at least (default 15m). |
| `grace` | integer | no | Failures in a row before it counts (default 2). |
| `when` | when | no | Only when a value is one of a list. |
| `repair` | string[] | no | The repairs that may be tried, in order. |

### Repair

A fix from a closed list that the game may offer when an alive proof fails.

| Field | Type | Required | Description |
|---|---|---|---|
| `$comment` | string | no | A note for people; ignored and never shown. |
| `id` | string | yes | The repair id. |
| `kind` | enum | yes | Its kind: service.restart, model.pull, gateway.recover, signin.refresh, channel.reconnect, automation.rerun, part.reapply, signin.again, channel.pair. |
| `args` | map of string | number | boolean | no | Its arguments: literals only. |
| `title` | text2 | no | Its title, in English and French: { "en": …, "fr": … }. |
| `suggest` | boolean | no | The author suggests allowing it; the box stays unticked. |

### Check

A read-only check of the closed list, used by proofs.

| Field | Type | Required | Description |
|---|---|---|---|
| `type` | string | yes | The check type. |

### Condition

When a part, a sign-in or a value applies, from the owner's answers.

| Field | Type | Required | Description |
|---|---|---|---|
| `$comment` | string | no | A note for people; ignored and never shown. |
| `value` | string | yes | The id of a choice or boolean value. |
| `is` | string | boolean[] | enum[] | yes | The choice ids (or true, false) for which it holds. |
| `need` | string | yes | The id of a need of the chart. |

### Text

A text in English and French.

| Field | Type | Required | Description |
|---|---|---|---|
| `en` | string | yes | The English text. |
| `fr` | string | yes | The French text. |

### Catalog

The list of charts the store offers, as the game reads it. Prices live here, never in the chart.

| Field | Type | Required | Description |
|---|---|---|---|
| `schema` | "alta.catalog/0.2" | yes | The standard: `alta.catalog/0.2`. |
| `generatedAt` | string | yes | When it was made, as an ISO date and time. |
| `signature` | string | no | Its signature. Required on a catalog read from the network. |
| `charts` | object[] | yes | The charts. |
| `charts.id` | string | yes | The chart's id. |
| `charts.version` | string | yes | Its version. |
| `charts.kind` | enum | yes | Its kind. |
| `charts.price` | enum | yes | `free` or `paid`. |
| `charts.amount` | number | no | The price of a paid chart. |
| `charts.currency` | string | no | Its currency, three capital letters, e.g. `EUR`. |
| `charts.sha256` | string | yes | The digest of the chart folder (`alta package`). |
| `charts.path` | string | yes | Where the chart folder is, relative to the catalog. |
| `charts.default` | boolean | no | `true`: added to every new world. Never on a community chart. |
| `charts.origin` | enum | no | `alta` or `community`. |
| `charts.source` | object | no | Where a community chart comes from: its git repository, pinned on a full commit, with the digest of the chart folder. |
| `charts.source.git` | string | yes | The repository, an `https://` address without credentials. |
| `charts.source.ref` | string | no | The tag or branch it was taken from. |
| `charts.source.commit` | string | yes | The full commit (40 hexadecimal characters). |
| `charts.source.sha256` | string | yes | The digest of the chart folder at that commit. |

### License

| Field | Type | Required | Description |
|---|---|---|---|
| `schema` | "alta.license/0.2" | yes | The standard: `alta.license/0.2`. |
| `chart` | string | yes | The chart, by id. |
| `version` | string | yes | The chart's version. |
| `holder` | string | yes | Who holds it (an opaque id). |
| `issuedAt` | string | yes | When it was issued, as an ISO date and time. |
| `signature` | string | yes | Its signature. |

The quests a chart brings follow the [quest standard](https://docs.altasystem.ai/reference/standards/quests); its universe, the [universe standard](https://docs.altasystem.ai/reference/standards/universe); its scene, the [cinematics standard](https://docs.altasystem.ai/reference/standards/cinematics). The rules behind each of them are in the [full specification](https://docs.altasystem.ai/reference/advanced/specs/alta-chart-0.1).

## Rules and errors

Each rule `alta lint` applies to charts, with its section on the [errors page](https://docs.altasystem.ai/reference/errors#standard-chart).

## Full example

<details class="alta-full-example">
<summary>A community chart from a git repository, pinned to a commit</summary>

```json [reading-log/chart.json]
{
  "schema": "alta.chart/0.1",
  "id": "reading-log",
  "version": "0.2.0",
  "kind": "quest-pack",
  "title": { "en": "Reading log", "fr": "Carnet de lecture" },
  "summary": {
    "en": "Note one book a week; your assistant keeps the list.",
    "fr": "Note un livre par semaine ; ton assistant tient la liste."
  },
  "author": "someone",
  "license": "MIT",
  "price": "free",
  "origin": "community",
  "source": {
    "git": "https://git.example.org/someone/alta-reading-log",
    "ref": "v0.2.0",
    "commit": "3f2c9a1e8b7d6c5f4e3d2c1b0a9f8e7d6c5b4a39",
    "sha256": "9c1e2a7f0b3d4e5f60718293a4b5c6d7e8f90112233445566778899aabbccdd0"
  },
  "support": { "platforms": [{ "os": "macos" }, { "os": "linux" }] },
  "capabilities": [],
  "package": { "type": "data" },
  "parts": [{ "id": "add", "do": "item.data", "undo": "none", "proof": [] }],
  "proofs": { "ready": [] },
  "branch": {
    "schema": "alta.quests/0.2",
    "branch": "core",
    "quests": [
      {
        "id": "reading-log-week",
        "uid": "core.reading-log.week",
        "act": 2,
        "giver": "daemon",
        "type": "daily",
        "reset": {
          "every": "week",
          "at": "10:00",
          "weekday": 7
        },
        "title": {
          "en": "This week's book",
          "fr": "Le livre de la semaine"
        },
        "reward": { "xp": 20 },
        "steps": [
          {
            "id": "note",
            "kind": "check",
            "title": {
              "en": "Add a line to your reading log",
              "fr": "Ajoute une ligne à ton carnet de lecture"
            },
            "check": {
              "type": "file",
              "path": "~/Documents/reading-log.md"
            }
          }
        ]
      }
    ]
  }
}
```

</details>

## Versions

| Version | What it adds | Read by the game |
|---|---|---|
| `alta.chart/0.1`, `alta.catalog/0.2`, `alta.license/0.2` | Charts as folders, provenance (`origin`, `source`), parts with their proof and undo, values, sign-ins, repairs; the catalog by chart folder and the right of use. Added since, optional: `locality`, `external`, `publisher`, `homepage`, `keywords`, `categories`, `icon`, `changes` | current |

## Guides that use it

- [Package a quest pack](https://docs.altasystem.ai/charts/guides/quest-pack)
- [A paid business agent, end to end](https://docs.altasystem.ai/charts/guides/business-agent)
- [Say what your chart needs online](https://docs.altasystem.ai/charts/guides/declare-services)
- [Publish a chart](https://docs.altasystem.ai/marketplace/publish)
